Displaying 9 results from an estimated 9 matches for "l1__2e_str_1".
2005 Mar 08
0
[LLVMdev] GCC assembler rejects native code generated by LLVM
...void %__main()
------------- End LLVM code -----------
which in turn produces the following assembly code:
------------- Assembly code -------------
.text
.align 16
.globl main
.type main, @function
main:
subl $12, %esp
fnstcw 10(%esp)
movb $2, 11(%esp)
fldcw 10(%esp)
call __main
movl $l1__2E_str_1, %eax
movl %eax, (%esp)
call printf
movl $0, %eax
#IMPLICIT_USE
addl $12, %esp
ret
.data
.align 1
.type l1__2E_str_1, at object
.size l1__2E_str_1,13
l1__2E_str_1: # [13 x sbyte]* %.str_1 = c"hello world\0A\00"
.ascii "hello world\n\000"
---------- End assembly...
2005 Mar 08
3
[LLVMdev] GCC assembler rejects native code generated by LLVM
...turn produces the following assembly code:
>
> ------------- Assembly code -------------
> .text
> .align 16
> .globl main
> .type main, @function
> main:
> subl $12, %esp
> fnstcw 10(%esp)
> movb $2, 11(%esp)
> fldcw 10(%esp)
> call __main
> movl $l1__2E_str_1, %eax
> movl %eax, (%esp)
> call printf
> movl $0, %eax
> #IMPLICIT_USE
> addl $12, %esp
> ret
>
>
> .data
> .align 1
> .type l1__2E_str_1, at object
> .size l1__2E_str_1,13
> l1__2E_str_1: # [13 x sbyte]* %.str_1 = c"hello world\0A\00&quo...
2005 Mar 08
3
[LLVMdev] GCC assembler rejects native code generated by LLVM
...turn produces the following assembly code:
>
> ------------- Assembly code -------------
> .text
> .align 16
> .globl main
> .type main, @function
> main:
> subl $12, %esp
> fnstcw 10(%esp)
> movb $2, 11(%esp)
> fldcw 10(%esp)
> call __main
> movl $l1__2E_str_1, %eax
> movl %eax, (%esp)
> call printf
> movl $0, %eax
> #IMPLICIT_USE
> addl $12, %esp
> ret
>
>
> .data
> .align 1
> .type l1__2E_str_1, at object
> .size l1__2E_str_1,13
> l1__2E_str_1: # [13 x sbyte]* %.str_1 = c"hello world\0A\00&quo...
2005 Mar 08
0
[LLVMdev] GCC assembler rejects native code generated by LLVM
....text
> > .align 16
> > .globl main
> > .type main, @function
> > main:
> > subl $12, %esp
> > fnstcw 10(%esp)
> > movb $2, 11(%esp)
> > fldcw 10(%esp)
> > call __main
> > movl $l1__2E_str_1, %eax
> > movl %eax, (%esp)
> > call printf
> > movl $0, %eax
> > #IMPLICIT_USE
> > addl $12, %esp
> > ret
> >
> >
> > .data
> > .align 1
> > .type l1__2E_str_1, at object
> &...
2005 Mar 07
7
[LLVMdev] GCC assembler rejects native code generated by LLVM
I successfully compiled CVS HEAD yesterday on my win32 machine using
Visual C++ Express (2005). I also have Mingw tools installed. I wrote
a simple hello world application and generated native assembly code
using llvm. When I tried to feed the code into GCC, it rejected it
with "junk at the end of line" error messages. Shouldn't GCC be able
to assemble this code? I realize win32 port
2005 Mar 08
2
[LLVMdev] GCC assembler rejects native code generated by LLVM
...; > .globl main
> > > .type main, @function
> > > main:
> > > subl $12, %esp
> > > fnstcw 10(%esp)
> > > movb $2, 11(%esp)
> > > fldcw 10(%esp)
> > > call __main
> > > movl $l1__2E_str_1, %eax
> > > movl %eax, (%esp)
> > > call printf
> > > movl $0, %eax
> > > #IMPLICIT_USE
> > > addl $12, %esp
> > > ret
> > >
> > >
> > > .data
> > > .align 1
&g...
2005 Mar 08
0
[LLVMdev] GCC assembler rejects native code generated by LLVM
...obl main
>>>> .type main, @function
>>>> main:
>>>> subl $12, %esp
>>>> fnstcw 10(%esp)
>>>> movb $2, 11(%esp)
>>>> fldcw 10(%esp)
>>>> call __main
>>>> movl $l1__2E_str_1, %eax
>>>> movl %eax, (%esp)
>>>> call printf
>>>> movl $0, %eax
>>>> #IMPLICIT_USE
>>>> addl $12, %esp
>>>> ret
>>>>
>>>>
>>>> .data
>>>>...
2005 Mar 08
0
[LLVMdev] GCC assembler rejects native code generated by LLVM
...------------- Assembly code -------------
> > .text
> > .align 16
> > .globl main
> > .type main, @function
> > main:
> > subl $12, %esp
> > fnstcw 10(%esp)
> > movb $2, 11(%esp)
> > fldcw 10(%esp)
> > call __main
> > movl $l1__2E_str_1, %eax
> > movl %eax, (%esp)
> > call printf
> > movl $0, %eax
> > #IMPLICIT_USE
> > addl $12, %esp
> > ret
> >
> >
> > .data
> > .align 1
> > .type l1__2E_str_1, at object
> > .size l1__2E_str_1,13
> > l1__2E_...
2005 Mar 08
1
[LLVMdev] GCC assembler rejects native code generated by LLVM
...t; .align 16
>>> .globl main
>>> .type main, @function
>>>main:
>>> subl $12, %esp
>>> fnstcw 10(%esp)
>>> movb $2, 11(%esp)
>>> fldcw 10(%esp)
>>> call __main
>>> movl $l1__2E_str_1, %eax
>>> movl %eax, (%esp)
>>> call printf
>>> movl $0, %eax
>>> #IMPLICIT_USE
>>> addl $12, %esp
>>> ret
>>>
>>>
>>> .data
>>> .align 1
>>> .type l1__2E...