search for: da36a37d

Displaying 2 results from an estimated 2 matches for "da36a37d".

Did you mean: 7a36937d
2008 Sep 30
2
[LLVMdev] Possible bug in x86 code generation for fastcall on gnu/linux
Hi, When compiling this function: __attribute__((fastcall)) int f(int x, int y) { return 0; } llvm 2.3 produces the following x86 assembler (with directives removed): f: xorl %eax, %eax ret $4 Where as GCC (version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) produces: f: xorl %eax, %eax ret Note the difference in ret. Functions calling a fastcall function in llvm adjust the stack by 4 to
2008 Sep 30
0
[LLVMdev] Possible bug in x86 code generation for fastcall on gnu/linux
Hi, I don't see this with llvm from svn, so it looks like it has been fixed. Ciao, Duncan. PS: Tested at -O1 and -O3, with and without a frame pointer.