diff options
-rw-r--r-- | lib/libc/arch/mips/gen/flt_rounds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/mips/gen/flt_rounds.c b/lib/libc/arch/mips/gen/flt_rounds.c index 289ed7cad3a..d5acebdcf6c 100644 --- a/lib/libc/arch/mips/gen/flt_rounds.c +++ b/lib/libc/arch/mips/gen/flt_rounds.c @@ -7,7 +7,7 @@ #include <machine/float.h> #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.3 1997/08/01 21:36:28 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: flt_rounds.c,v 1.4 1999/02/01 16:57:33 pefo Exp $"; #endif /* LIBC_SCCS and not lint */ static const int map[] = { @@ -23,5 +23,6 @@ __flt_rounds() int x; __asm__("cfc1 %0,$31" : "=r" (x)); + __asm__("nop"); return map[x & 0x03]; } |