Refs #75. Use ffreep opcode directly. Please check out http://www.sandpile.org/x86/opc_fpu.htm .
This commit is contained in:
parent
cfc2940412
commit
a4daa34db7
|
@ -356,4 +356,9 @@ REALNAME:
|
||||||
|
|
||||||
#ifndef ALIGN_6
|
#ifndef ALIGN_6
|
||||||
#define ALIGN_6 .align 64
|
#define ALIGN_6 .align 64
|
||||||
|
|
||||||
|
// 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
|
||||||
|
#define ffreep .byte 0xdf, 0xc0 #
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -448,4 +448,8 @@ REALNAME:
|
||||||
#define ALIGN_6 .align 64
|
#define ALIGN_6 .align 64
|
||||||
#endif
|
#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
|
||||||
|
#define ffreep .byte 0xdf, 0xc0 #
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue