This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/24751] ARM : poor register allocation around inline assembler
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Nov 2005 05:25:18 -0000
- Subject: [Bug inline-asm/24751] ARM : poor register allocation around inline assembler
- References: <bug-24751-11682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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