From: Zhang Xianyi Date: Mon, 1 Jul 2013 08:09:05 +0000 (+0800) Subject: Use ALIGN_5 instead of .algin 32 in assembly kernel. Added ALIGN_5 for 32-bit OSX. X-Git-Tag: v0.2.9.rc1~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57944538b64b11a644c11a2fe3dabb0503a4a815;p=platform%2Fupstream%2Fopenblas.git Use ALIGN_5 instead of .algin 32 in assembly kernel. Added ALIGN_5 for 32-bit OSX. --- diff --git a/common_x86.h b/common_x86.h index 4316318..12b348b 100644 --- a/common_x86.h +++ b/common_x86.h @@ -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 diff --git a/kernel/x86_64/dgemv_n_bulldozer.S b/kernel/x86_64/dgemv_n_bulldozer.S index c954f19..ef2c4e2 100644 --- a/kernel/x86_64/dgemv_n_bulldozer.S +++ b/kernel/x86_64/dgemv_n_bulldozer.S @@ -313,7 +313,7 @@ decq I jle .L14 - .align 32 + ALIGN_5 .L13: