This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/24751] ARM : poor register allocation around inline assembler



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-11-09 05:25 -------
Actually I don't think this is a bug:
    ldr     r1, [r4, #16]   <--- action->dev_id
    mov     r0, r7          <----- irq                  
    mov     r2, r8          <----- regs      
    mov     lr, pc
Call action->handler
This is inside a loop so you have to move the registers for the call all the
time, now if we striped out the first iteration, then we would not need to do
that.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24751


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]