As Joerg Wunsch wrote: > As Dmitry K. wrote: > >> What is the necessity of occurrence __AVR_HAVE_MUL__ >> in common/macros.inc? Is it not the same as >> __AVR_ENHANCED__? > > Anatoly recently introduced two new AVR categories into GCC: avr25 and > avr35. They should be though of as avr2.5 and avr3.5: while they > share almost everything with avr2 and avr3 respectively, they add the > MOVW instruction. This is e.g. the case for all recent ATtinys: they > do have MOVW but they don't feature a hardwar multiplier.
New ATtiny devices also have LPM Rx, Z+ instruction. When I added avr25 architecture in GCC, I have introduced two gcc macros __AVR_HAVE_MOVW__ and __AVR_HAVE_LPMX__. Now I have added __AVR_HAVE_MUL__ macro in GCC for avr4 and avr5 architectures. Anatoly. _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
