Browse Source

Use ALIGN_5 instead of .algin 32 in assembly kernel. Added ALIGN_5 for 32-bit OSX.

tags/v0.2.7
Zhang Xianyi 12 years ago
parent
commit
57944538b6
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      common_x86.h
  2. +1
    -1
      kernel/x86_64/dgemv_n_bulldozer.S

+ 2
- 2
common_x86.h View 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

+ 1
- 1
kernel/x86_64/dgemv_n_bulldozer.S View File

@@ -313,7 +313,7 @@

decq I
jle .L14
.align 32
ALIGN_5

.L13:



Loading…
Cancel
Save