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:
Michael Forney 2026-04-24 16:02:04 -07:00 committed by Quentin Carbonneaux
parent b58e2e695b
commit 504a2012f4

2
emit.c
View File

@ -221,7 +221,7 @@ macho_emitfin(FILE *f)
static char *sec[3] = {
"__TEXT,__literal4,4byte_literals",
"__TEXT,__literal8,8byte_literals",
".abort \"unreachable\"",
"__TEXT,__literal16,16byte_literals",
};
emitfin(f, sec);