diff options
Diffstat (limited to 'lib/libc/arch/m88k/gen/fpsetmask.c')
-rw-r--r-- | lib/libc/arch/m88k/gen/fpsetmask.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/m88k/gen/fpsetmask.c b/lib/libc/arch/m88k/gen/fpsetmask.c index 03b7164052e..0f054ae4928 100644 --- a/lib/libc/arch/m88k/gen/fpsetmask.c +++ b/lib/libc/arch/m88k/gen/fpsetmask.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpsetmask.c,v 1.3 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: fpsetmask.c,v 1.4 2013/01/05 11:20:55 miod Exp $ */ /* * Written by J.T. Conklin, Apr 10, 1995 @@ -15,13 +15,13 @@ fpsetmask(mask) fp_except old; fp_except new; - __asm__ volatile("fldcr %0,fcr63" : "=r" (old)); + __asm__ volatile("fldcr %0, %%fcr63" : "=r" (old)); new = old; new &= ~0x1f; /* clear bottom 5 bits and */ new |= (mask & 0x1f); /* set them to mask */ - __asm__ volatile("fstcr %0,fcr63" : : "r" (new)); + __asm__ volatile("fstcr %0, %%fcr63" : : "r" (new)); return (old & 0x1f); } |