summaryrefslogtreecommitdiff
path: root/lib/libc/arch/ia64/gen/fpsetmask.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-04-17 09:01:26 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-04-17 09:01:26 +0000
commitbb2b225494f4ddabdfc9c0050f1d80e046cc8365 (patch)
treee1f435b08b29a938eb59f0c54d4aa986aa373768 /lib/libc/arch/ia64/gen/fpsetmask.c
parentc21c201069ca25fbeed9193f6da6c8a10014161e (diff)
It's been a quarter century: we can assume volatile is present with that name.
Diffstat (limited to 'lib/libc/arch/ia64/gen/fpsetmask.c')
-rw-r--r--lib/libc/arch/ia64/gen/fpsetmask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/ia64/gen/fpsetmask.c b/lib/libc/arch/ia64/gen/fpsetmask.c
index 84f5a29575f..390bdc15b5e 100644
--- a/lib/libc/arch/ia64/gen/fpsetmask.c
+++ b/lib/libc/arch/ia64/gen/fpsetmask.c
@@ -35,9 +35,9 @@ fpsetmask(fp_except mask)
int64_t fpsr;
int64_t oldmask;
- __asm __volatile("mov %0=ar.fpsr" : "=r" (fpsr));
+ __asm volatile("mov %0=ar.fpsr" : "=r" (fpsr));
oldmask = ~fpsr & 0x3d;
fpsr = (fpsr & ~0x3d) | (~mask & 0x3d);
- __asm __volatile("mov ar.fpsr=%0" :: "r" (fpsr));
+ __asm volatile("mov ar.fpsr=%0" :: "r" (fpsr));
return (oldmask);
}