Use on AVR

Torbjorn Granlund tg at
Fri Jun 8 14:10:40 CEST 2012

bodrato at writes:

  Il Mer, 6 Giugno 2012 11:33 am, suzuki-hikotaro-mf at ha scritto:
  > Could you tell me how to use GMP on AVR. And if you can, please tell me
  > how to install in Atmel Studio 6.
  Sorry, I do not know the environment.
AVR is an 8-bit processor with 32 registers.  Some models have 8x8->16
bit multiply, some lack multply.

GMP will not work out-if-the-box on anything but 32-bit or 64-bit
machines.  Porting it would not be terribly hard.

I agree with Marco that mini-gmp might be a better altenative.
I don't know how well that will work on 8-bit machines, though.


More information about the gmp-discuss mailing list