From 9853d19b4de3e66138da8b3e66ccdaea356ea35b Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 3 Aug 2025 15:16:08 +0100 Subject: Switch to Intel assembly syntax --- src/wincrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wincrt.c') diff --git a/src/wincrt.c b/src/wincrt.c index d8111ba..566b272 100644 --- a/src/wincrt.c +++ b/src/wincrt.c @@ -14,7 +14,7 @@ int memcmp(const void *restrict x, const void *restrict y, unsigned int sz) { #if defined(__GNUC__) || defined(__clang__) int a, b; __asm__ volatile ( - "xor %%eax, %%eax\n" + "xor eax, eax\n" "repz cmpsb\n" : "+D" (x), "+S" (y), "+c" (sz), "=@cca"(a), "=@ccb"(b) : -- cgit v1.2.3-54-g00ecf