gallium: added ALIGN32_ATTRIB
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 19 Sep 2008 23:53:56 +0000 (17:53 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 19 Sep 2008 23:56:45 +0000 (17:56 -0600)
src/gallium/include/pipe/p_compiler.h

index 4d64c74a4aa6c6a1a565d46239221cf439c1fb15..1e702c7fa74a1426ad1ab5b1b33e02993ff958ea 100644 (file)
@@ -144,10 +144,12 @@ typedef unsigned char boolean;
 #define ALIGN16_DECL(TYPE, NAME, SIZE)  TYPE NAME##___aligned[SIZE] __attribute__(( aligned( 16 ) ))
 #define ALIGN16_ASSIGN(NAME) NAME##___aligned
 #define ALIGN16_ATTRIB  __attribute__(( aligned( 16 ) ))
+#define ALIGN32_ATTRIB  __attribute__(( aligned( 32 ) ))
 #else
 #define ALIGN16_DECL(TYPE, NAME, SIZE)  TYPE NAME##___unaligned[SIZE + 1]
 #define ALIGN16_ASSIGN(NAME) align16(NAME##___unaligned)
 #define ALIGN16_ATTRIB
+#define ALIGN32_ATTRIB
 #endif