aboutsummaryrefslogtreecommitdiff
path: root/src/inputhud.c
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-08-03 15:16:08 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-08-03 15:16:08 +0100
commit9853d19b4de3e66138da8b3e66ccdaea356ea35b (patch)
tree290d1444941e19f837f45a4c46e6fc066ca2b8d5 /src/inputhud.c
parent3cce0e5621dc118b32c4143b42ced51c5328f7c7 (diff)
downloadsst-9853d19b4de3e66138da8b3e66ccdaea356ea35b.tar.gz
sst-9853d19b4de3e66138da8b3e66ccdaea356ea35b.zip
Switch to Intel assembly syntax
Diffstat (limited to 'src/inputhud.c')
-rw-r--r--src/inputhud.c2
1 files changed, 1 insertions, 1 deletions
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)
);