[llvm-commits] SPARC: Cannot yet select: 0x8733e8: i32, i32 = sdivrem 0x870470, 0x870528
Gabor Greif
gabor at mac.com
Wed Oct 10 09:57:18 PDT 2007
Recent changes broke this test:
FAIL: /home/ggreif/llvm/test/CodeGen/Generic/BasicInstrs.llx
Failed with signal(SIGABRT) at line 1
while running: llvm-upgrade < /home/ggreif/llvm/test/CodeGen/Generic/BasicInstrs.llx | llvm-as | llc
.text
.align 16
.globl add
.type add, #function
add:
save -96, %o6, %o6
add %i0, %i1, %i0
restore %g0, %g0, %g0
retl
nop
.align 16
.globl sub
.type sub, #function
sub:
save -96, %o6, %o6
sub %i0, %i1, %i0
restore %g0, %g0, %g0
retl
nop
.align 16
.globl mul
.type mul, #function
mul:
save -96, %o6, %o6
smul %i0, %i1, %i0
restore %g0, %g0, %g0
retl
nop
.align 16
.globl sdiv
.type sdiv, #function
sdiv:
save -96, %o6, %o6
sra %i0, 31, %l0
wr %l0, %g0, %y
sdiv %i0, %i1, %i0
restore %g0, %g0, %g0
retl
nop
.align 16
.globl udiv
.type udiv, #function
udiv:
save -96, %o6, %o6
wr %g0, %g0, %y
udiv %i0, %i1, %i0
restore %g0, %g0, %g0
retl
nop
Cannot yet select: 0x8733e8: i32,i32 = sdivrem 0x870470, 0x870528
-------------------------
This is just a heads-up, I am not depending on it.
Cheers,
Gabor
More information about the llvm-commits
mailing list