Use vector_size for GCC 4.0.
authordrepper <drepper>
Sun, 9 Jan 2005 20:16:38 +0000 (20:16 +0000)
committerdrepper <drepper>
Sun, 9 Jan 2005 20:16:38 +0000 (20:16 +0000)
sysdeps/x86_64/bits/link.h

index 87c17eb..1423356 100644 (file)
@@ -63,7 +63,12 @@ __END_DECLS
 #else
 
 /* Registers for entry into PLT on x86-64.  */
+# if __GNUC_PREREQ (4,0)
+typedef float La_x86_64_xmm __attribute__ ((vector_size (16)));
+# else
 typedef float La_x86_64_xmm __attribute__ ((__mode__ (__V4SF__)));
+# endif
+
 typedef struct La_x86_64_regs
 {
   uint64_t lr_rdx;