mirror of
git://c9x.me/qbe.git
synced 2026-05-26 15:34:41 +00:00
fix float neg on mach-o
neg for float uses xorp[sd] with a 16-byte memory operand. This matches what clang emits with --target=x86_64-apple-darwin.
This commit is contained in:
parent
b58e2e695b
commit
504a2012f4
2
emit.c
2
emit.c
@ -221,7 +221,7 @@ macho_emitfin(FILE *f)
|
|||||||
static char *sec[3] = {
|
static char *sec[3] = {
|
||||||
"__TEXT,__literal4,4byte_literals",
|
"__TEXT,__literal4,4byte_literals",
|
||||||
"__TEXT,__literal8,8byte_literals",
|
"__TEXT,__literal8,8byte_literals",
|
||||||
".abort \"unreachable\"",
|
"__TEXT,__literal16,16byte_literals",
|
||||||
};
|
};
|
||||||
|
|
||||||
emitfin(f, sec);
|
emitfin(f, sec);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user