Follow-up Comment #4, bug #21805 (project avr-libc):

Another possible optimization I'm just noticing: the generated
code looks like:

ldi     r24, 0xFF
ldi     r25, 0x03
movw    r30, r24

i.e. a parameter is passed in r24:25, and then moved into
r30:31.  This might IMHO become more optimal (with the
compiler using r30:31 directly) by using the "z" constraint.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21805>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to