Browse Source

Refs #75. Check ffreep macro before the define.

tags/v0.2.0^2
Zhang Xianyi 13 years ago
parent
commit
37edae1c90
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      common_x86.h
  2. +2
    -0
      common_x86_64.h

+ 2
- 0
common_x86.h View File

@@ -360,5 +360,7 @@ REALNAME:
// 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

+ 2
- 0
common_x86_64.h View File

@@ -451,5 +451,7 @@ REALNAME:
// 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

Loading…
Cancel
Save