This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSE ABI change proof for Jan's old patch



On Dec 29, 2003, at 6:48 PM, Richard Henderson wrote:


On Mon, Dec 29, 2003 at 03:36:01PM -0500, Daniel Berlin wrote:
I've got intel compilers 6.0, 7.0, 7.1, and 8.0, and here's the proof
that they pass the first three arguments in xmm registers only.

Ok, so what do we do about vector ABI compatibility between -march=p4 and -march=i686?

Hmmmmm.
This is SSE. arch=i686 doesn't support SSE, so you'd never be able to compile the same code anyway.


So i'm a bit confused what you mean.

[root@dberlin dberlin]# gcc -march=i686 intel.c
In file included from intel.c:2:
/usr/lib/gcc-lib/i386-redhat-linux/3.3.2/include/xmmintrin.h:34:3: #error "SSE instruction set not enabled"
intel.c:3: warning: parameter names (without types) in function declaration
intel.c:4: warning: parameter names (without types) in function declaration
intel.c:5: warning: parameter names (without types) in function declaration
intel.c:6: warning: parameter names (without types) in function declaration
intel.c: In function `main':
intel.c:13: error: `__m128' undeclared (first use in this function)
intel.c:13: error: (Each undeclared identifier is reported only once
intel.c:13: error: for each function it appears in.)
intel.c:13: error: syntax error before "bob"
intel.c:14: error: `bob' undeclared (first use in this function)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]