Use ALIGN_5 instead of .algin 32 in assembly kernel. Added ALIGN_5 for 32-bit OSX.
authorZhang Xianyi <traits.zhang@gmail.com>
Mon, 1 Jul 2013 08:09:05 +0000 (16:09 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Mon, 1 Jul 2013 08:09:05 +0000 (16:09 +0800)
common_x86.h
kernel/x86_64/dgemv_n_bulldozer.S

index 4316318..12b348b 100644 (file)
@@ -335,6 +335,7 @@ REALNAME:
 #define ALIGN_2 .align 2
 #define ALIGN_3 .align 3
 #define ALIGN_4 .align 4
+#define ALIGN_5 .align 5
 #define ffreep fstp
 #endif
 
@@ -356,11 +357,10 @@ REALNAME:
 
 #ifndef ALIGN_6
 #define ALIGN_6 .align 64
-
+#endif
 // ffreep %st(0). 
 // Because Clang didn't support ffreep, we directly use the opcode.
 // Please check out http://www.sandpile.org/x86/opc_fpu.htm 
 #ifndef ffreep
 #define ffreep .byte 0xdf, 0xc0 #
 #endif
-#endif
index c954f19..ef2c4e2 100644 (file)
 
        decq     I
        jle      .L14
-       .align 32
+       ALIGN_5
 
 .L13: