[PATCH] math: x86: Remove extra '%' on FP_INIT_ROUNDMODE inline asm

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Aug 31 18:14:43 GMT 2022


Checked on x86_64-linux-gnu.
---
 sysdeps/x86/fpu/sfp-machine.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/x86/fpu/sfp-machine.h b/sysdeps/x86/fpu/sfp-machine.h
index 5892f4f5fe..1cacdb4ebd 100644
--- a/sysdeps/x86/fpu/sfp-machine.h
+++ b/sysdeps/x86/fpu/sfp-machine.h
@@ -41,7 +41,7 @@ typedef unsigned int UTItype __attribute__ ((mode (TI)));
 
 # define FP_INIT_ROUNDMODE					\
   do {								\
-    __asm__ __volatile__ ("%vstmxcsr\t%0" : "=m" (_fcw));	\
+    __asm__ __volatile__ ("vstmxcsr\t%0" : "=m" (_fcw));	\
   } while (0)
 #else
 # define _FP_W_TYPE_SIZE	32
-- 
2.34.1



More information about the Libc-alpha mailing list