From bca10c250b0643dabec71519d1d6cf5f3a5745f1 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 29 Aug 2022 02:01:19 +0000 Subject: use ansi volatile keyword, not __volatile ok miod@ guenther@ --- lib/libm/arch/aarch64/fenv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/libm') diff --git a/lib/libm/arch/aarch64/fenv.c b/lib/libm/arch/aarch64/fenv.c index 7aca2b86b26..f660df6e342 100644 --- a/lib/libm/arch/aarch64/fenv.c +++ b/lib/libm/arch/aarch64/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.4 2020/07/09 22:13:29 kettenis Exp $ */ +/* $OpenBSD: fenv.c,v 1.5 2022/08/29 02:01:18 jsg Exp $ */ /*- * Copyright (c) 2004-2005 David Schultz * All rights reserved. @@ -34,11 +34,11 @@ #define _FPUSW_SHIFT 8 #define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT) -#define __mrs_fpcr(r) __asm __volatile("mrs %x0, fpcr" : "=r" (r)) -#define __msr_fpcr(r) __asm __volatile("msr fpcr, %x0" : : "r" (r)) +#define __mrs_fpcr(r) __asm volatile("mrs %x0, fpcr" : "=r" (r)) +#define __msr_fpcr(r) __asm volatile("msr fpcr, %x0" : : "r" (r)) -#define __mrs_fpsr(r) __asm __volatile("mrs %x0, fpsr" : "=r" (r)) -#define __msr_fpsr(r) __asm __volatile("msr fpsr, %x0" : : "r" (r)) +#define __mrs_fpsr(r) __asm volatile("mrs %x0, fpsr" : "=r" (r)) +#define __msr_fpsr(r) __asm volatile("msr fpsr, %x0" : : "r" (r)) /* * The following constant represents the default floating-point environment -- cgit v1.2.3