Displaying 3 results from an estimated 3 matches for "_main__i__v".
2012 Feb 15
2
[LLVMdev] ASM appears to be incorrect from llc
...unc i64 %1 to i32
store i32 %2, i32* @x
ret i32 0
}
Now, I know no memory is allocated for t (ignore that), we'll just expect
the final program to crash
Running this through
llvm-as.exe test.trunk.ll -f -o test.bc
and then
llc -x86-asm-syntax=intel -o test.trunk.S test.bc
yields:
.def _main__i__v;
.scl 2;
.type 32;
.endef
.text
.globl _main__i__v
.align 16, 0x90
_main__i__v: # @main__i__v
# BB#0: # %locals
sub ESP, 20
movss XMM0, DWORD PTR [_t]
movss DWORD PTR [ESP + 8], XMM0
fld DWORD PTR [ESP + 8]
fisttp QWORD PTR [ESP]
mov EAX, D...
2012 Feb 16
0
[LLVMdev] ASM appears to be incorrect from llc
...;
>
> Now, I know no memory is allocated for t (ignore that), we'll just expect
> the final program to crash
>
> Running this through
> llvm-as.exe test.trunk.ll -f -o test.bc
> and then
> llc -x86-asm-syntax=intel -o test.trunk.S test.bc
>
> yields:
>
> .def _main__i__v;
> .scl 2;
> .type 32;
> .endef
> .text
> .globl _main__i__v
> .align 16, 0x90
> _main__i__v: # @main__i__v
> # BB#0: # %locals
> sub ESP, 20
> movss XMM0, DWORD PTR [_t]
> movss DWORD PTR [ESP + 8], XMM0
&g...
2012 Feb 16
3
[LLVMdev] ASM appears to be incorrect from llc
...t (ignore that), we'll just expect
> > the final program to crash
> >
> > Running this through
> > llvm-as.exe test.trunk.ll -f -o test.bc
> > and then
> > llc -x86-asm-syntax=intel -o test.trunk.S test.bc
> >
> > yields:
> >
> > .def _main__i__v;
> > .scl 2;
> > .type 32;
> > .endef
> > .text
> > .globl _main__i__v
> > .align 16, 0x90
> > _main__i__v: # @main__i__v
> > # BB#0: # %locals
> > sub ESP, 20
> > movss XMM0, DWOR...