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/inputhud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inputhud.c') diff --git a/src/inputhud.c b/src/inputhud.c index b93e9d8..2620f3c 100644 --- a/src/inputhud.c +++ b/src/inputhud.c @@ -152,7 +152,7 @@ static inline int bsf(uint x) { int ret = 0; #if defined(__GNUC__) || defined(__clang__) __asm__ volatile ( - "bsfl %1, %0\n" + "bsf %0, %1\n" : "+r" (ret) : "r" (x) ); -- cgit v1.2.3-54-g00ecf