Displaying 13 results from an estimated 13 matches for "_puts".
Did you mean:
puts
2015 Jul 13
5
[LLVMdev] Poor register allocations vs gcc
...vm: clang+llvm-3.6.1-x86_64-apple-darwin
Host:
osx yosemite.
The assembly (cut to the essential):
LLVM:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %edi, %r14d
leal 71(%r14), %eax
xorl %ecx, %ecx
cmpl $56, %eax
movl $92, %ebx
cmovnel %ecx, %ebx
leaq L_.str(%rip), %rdi
callq _puts
leal 71(%rbx,%r14), %eax
popq %rbx
popq %r14
popq %rbp
retq
and the gcc one:
pushq %rbp
movl $0, %eax
movl $92, %ebp
pushq %rbx
leal 71(%rdi), %ebx
leaq LC1(%rip), %rdi
subq $8, %rsp
cmpl $56, %ebx
cmovne %eax, %ebp
call _puts
addq $8, %rsp
leal 0(%rbp,%rbx), %eax
popq %r...
2015 Jul 13
2
[LLVMdev] Poor register allocations vs gcc
...hq %rbx<br />šššššššššmovl %edi, %r14d<br />šššššššššleal 71(%r14), %eax<br />šššššššššxorl %ecx, %ecx<br />šššššššššcmpl $56, %eax<br />šššššššššmovl $92, %ebx<br />šššššššššcmovnel %ecx, %ebx<br />šššššššššleaq L_.str(%rip), %rdi<br />šššššššššcallq _puts<br />šššššššššleal 71(%rbx,%r14), %eax<br />šššššššššpopq %rbx<br />šššššššššpopq %r14<br />šššššššššpopq %rbp<br />šššššššššretq<br /><br />šand the gcc one:<br /><br />ššššššššpushq %rbp<br />šššššššššmovl $0, %eax<br />šššššššššmo...
2010 Jan 04
0
[LLVMdev] Tail Call Optimisation
On Monday 04 January 2010 05:16:40 Jeffrey Yasskin wrote:
> On Sun, Jan 3, 2010 at 10:50 PM, Jon Harrop <jon at ffconsultancy.com> wrote:
> > LLVM's TCO already handles mutual recursion.
>
> Only for fastcc functions
Yes.
> compiled with -tailcallopt, right?
If you use the compiler, yes.
> http://llvm.org/docs/CodeGenerator.html#tailcallopt
>
> I believe
2010 Jan 04
2
[LLVMdev] Tail Call Optimisation
On Sun, Jan 3, 2010 at 10:50 PM, Jon Harrop <jon at ffconsultancy.com> wrote:
> On Monday 04 January 2010 03:33:06 Simon Harris wrote:
>> On 04/01/2010, at 3:01 PM, Jon Harrop wrote:
>> > I am certainly interested in tail calls because my HLVM project relies
>> > upon LLVM's tail call elimination. However, I do not understand what tail
>> > calls LLVM
2009 Oct 20
2
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
.../home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
> CommonProfiling.o:CommonProfiling.c:(.text+0x105):
> undefined reference to `_printf'
> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
> CommonProfiling.o:CommonProfiling.c:(.text+0x113):
> undefined reference to `_puts'
> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
> CommonProfiling.o:CommonProfiling.c:(.text+0x13c):
> undefined reference to `_strlen'
> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
> CommonProfiling.o:CommonProfiling.c:(.text+0x14e):
> undefined ref...
2009 Oct 20
0
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
...reference to `_memmove'
/home/foad/llvm/objdir-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x105):
undefined reference to `_printf'
/home/foad/llvm/objdir-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x113):
undefined reference to `_puts'
/home/foad/llvm/objdir-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x13c):
undefined reference to `_strlen'
/home/foad/llvm/objdir-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x14e):
undefined reference to `_malloc'
/home/foad...
2009 Aug 28
1
[LLVMdev] [Cygwin] 'make install' woes
...eference to `_memmove'
/home/ang/build/llvm-coff/runtime/libprofile/Release/
CommonProfiling.o:CommonPro
filing.c:(.text+0x105): undefined reference to `_printf'
/home/ang/build/llvm-coff/runtime/libprofile/Release/
CommonProfiling.o:CommonPro
filing.c:(.text+0x113): undefined reference to `_puts'
/home/ang/build/llvm-coff/runtime/libprofile/Release/
CommonProfiling.o:CommonPro
filing.c:(.text+0x13c): undefined reference to `_strlen'
/home/ang/build/llvm-coff/runtime/libprofile/Release/
CommonProfiling.o:CommonPro
filing.c:(.text+0x14e): undefined reference to `_malloc'
/home/an...
2007 Jun 13
0
[LLVMdev] LLVM binaries for Windows and more
...;
> Try passing -native.
>
> -Chris
>
C:\Eigenes\compiler\llvm-2.0\win32\release>llvm-ld -native hellow.bc
a.out.s: Assembler messages:
a.out.s:1: Error: unknown pseudo-op: `.686'
a.out.s:2: Error: unknown pseudo-op: `.model'
a.out.s:4: Error: no such instruction: `extern _puts:near'
a.out.s:5: Error: no such instruction: `extern _abort:near'
a.out.s:8: Error: invalid character '_' in mnemonic
a.out.s:9: Error: no such instruction: `align 16'
a.out.s:10: Error: invalid character '_' in mnemonic
a.out.s:11: Error: too many memory references for...
2009 Oct 20
0
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
...jdir-2.6/runtime/libprofile/Release/
>> CommonProfiling.o:CommonProfiling.c:(.text+0x105):
>> undefined reference to `_printf'
>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>> CommonProfiling.o:CommonProfiling.c:(.text+0x113):
>> undefined reference to `_puts'
>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>> CommonProfiling.o:CommonProfiling.c:(.text+0x13c):
>> undefined reference to `_strlen'
>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>> CommonProfiling.o:CommonProfiling.c:(.text+0x14e):...
2009 Oct 20
3
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
...profile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x105):
>>> undefined reference to `_printf'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x113):
>>> undefined reference to `_puts'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfiling.c:(.text+0x13c):
>>> undefined reference to `_strlen'
>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>> CommonProfiling.o:CommonProfili...
2009 Oct 20
0
[LLVMdev] [cfe-dev] 2.6 pre-release2 ready for testing
...;>>> CommonProfiling.o:CommonProfiling.c:(.text+0x105):
>>>> undefined reference to `_printf'
>>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>>> CommonProfiling.o:CommonProfiling.c:(.text+0x113):
>>>> undefined reference to `_puts'
>>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>>> CommonProfiling.o:CommonProfiling.c:(.text+0x13c):
>>>> undefined reference to `_strlen'
>>>> /home/foad/llvm/objdir-2.6/runtime/libprofile/Release/
>>>> CommonProfi...
2009 Dec 08
2
[LLVMdev] LLVM 2.6 cygwin build fails
...thesis/llvm-suite-2.6/llvm-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x105):
undefined reference to `_printf'
/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x113):
undefined reference to `_puts'
/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x13c):
undefined reference to `_strlen'
/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/runtime/libprofile/Release/CommonProfiling.o:CommonProfiling.c:(.text+0x14e...
2009 Oct 17
12
[LLVMdev] 2.6 pre-release2 ready for testing
LLVMers,
2.6 pre-release2 is ready to be tested by the community.
http://llvm.org/prereleases/2.6/
If you have time, I'd appreciate anyone who can help test the release.
To test llvm-gcc:
1) Compile llvm from source and untar the llvm-test in the projects
directory (name it llvm-test or test-suite). Choose to use a pre-
compiled llvm-gcc or re-compile it yourself.
2) Run make check,