avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #21805] boot.h: Use out instead of sts


From: Joerg Wunsch
Subject: [avr-libc-dev] [bug #21805] boot.h: Use out instead of sts
Date: Wed, 07 Jan 2009 14:56:17 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.19) Gecko/20081217 SeaMonkey/1.1.14

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]