[LLVMbugs] [Bug 2390] New: LLVM doesn' t match the x86 linux calling convention for see vectors
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat May 31 01:59:05 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2390
Summary: LLVM doesn't match the x86 linux calling convention for
see vectors
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
#include <xmmintrin.h>
__m128i r(__m128 d1, __m128 d2, __m128 d3, __m128i r, int t, __m128i s) {return
r+s;}
llvm-gcc code:
r:
pushl %ebp
movl %esp, %ebp
andl $-16, %esp
movaps %xmm3, %xmm0
paddq 24(%ebp), %xmm0
movl %ebp, %esp
popl %ebp
ret
gcc code:
r:
subl $12, %esp
movdqa 48(%esp), %xmm0
paddq 16(%esp), %xmm0
addl $12, %esp
ret
Obviously not going to work for calls between them.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list