[PATCH] math: x86: Remove extra '%' on FP_INIT_ROUNDMODE inline asm
Joseph Myers
joseph@codesourcery.com
Wed Aug 31 19:35:29 GMT 2022
On Wed, 31 Aug 2022, Adhemerval Zanella via Libc-alpha wrote:
> 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)); \
That's incorrect. %v means "'v' if AVX, empty string otherwise".
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list