Failure when compiling for cortex-m4

Robert Baruch robert.c.baruch at gmail.com
Fri Mar 25 16:12:52 UTC 2016


That's a good idea. I think I can probably get around the shift error by
using a different set of instructions. I'll poke around to see what
conditional compiles look like in the asm files.

On Fri, Mar 25, 2016 at 7:05 AM Marc Glisse <marc.glisse at inria.fr> wrote:

> On Fri, 25 Mar 2016, Niels Möller wrote:
>
> > Robert Baruch <robert.c.baruch at gmail.com> writes:
> >
> >> Note: Cortex-M4 only has Thumb mode, and implements the Thumb-2
> instruction
> >> set. It does not have ARM mode and cannot execute ARM instructions.
> >
> > I think most or all of gmp's ARM assembly code doesn't support thumb.
> > You're best bet for now is probably to configure with
> > --disable-assembly.
>
> Although it is always worth trying a recent snapshot from
> https://gmplib.org/download/snapshot/ . Even if it doesn't fix the issue,
> it makes any patch you write easier for us to handle.
>
> --
> Marc Glisse
>


More information about the gmp-bugs mailing list