OpenCores
no use no use 1/1 no use no use
problem on generated asm code by openrisc complier
by Unknown on Feb 9, 2004
Not available!
Hi all,
I encountered the following problem when I used openrisc complier to
generate assembly code. There is two consecutive labels. And there is
no instruction presented between two labels.
l.sflts r4,r9
l.bf .L31 # delay slot filled
l.addi r5,r0,0 # move immediate
l.sfles r4,r7
l.bf .L40 # delay slot filled
l.ori r5,r6,0 # move reg to reg
l.ori r6,r7,0 # move reg to reg
l.ori r5,r6,0 # move reg to reg
.L31:
.L40:
l.addi r4,r4,1
l.sfles r4,r8

Does it mean there is no operation (l.nop) between two labels or the
two labels have the same address? Anyone can help to clarify for me?
Thank you very much.

Best Regards,

Stephen


problem on generated asm code by openrisc complier
by Unknown on Feb 9, 2004
Not available!
* whli_interqos@yahoo.com.hk (whli_interqos@yahoo.com.hk) wrote:
Hi all,
I encountered the following problem when I used openrisc complier to
generate assembly code. There is two consecutive labels. And there is
no instruction presented between two labels.
l.sflts r4,r9
l.bf .L31 # delay slot filled
l.addi r5,r0,0 # move immediate
l.sfles r4,r7
l.bf .L40 # delay slot filled
l.ori r5,r6,0 # move reg to reg
l.ori r6,r7,0 # move reg to reg
l.ori r5,r6,0 # move reg to reg
.L31:
.L40:
l.addi r4,r4,1
l.sfles r4,r8

Does it mean there is no operation (l.nop) between two labels or the
two labels have the same address? Anyone can help to clarify for me?


yes and yes, there is no l.nop in beetwen and the two labels have the same
address.

regards,
p.

no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.