Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Move a branch target in cvt_d_w() to wher...
details: https://anonhg.NetBSD.org/src/rev/3ec95703b89b
branches: trunk
changeset: 1020943:3ec95703b89b
user: simonb <simonb%NetBSD.org@localhost>
date: Thu Apr 29 08:11:38 2021 +0000
description:
Move a branch target in cvt_d_w() to where it will be hit for either
case of an #ifdef block of code. Fixes an FP emulation problem if
compiled with -mips32 or -mips64.
diffstat:
sys/arch/mips/mips/fp.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r c11aa4d67536 -r 3ec95703b89b sys/arch/mips/mips/fp.S
--- a/sys/arch/mips/mips/fp.S Thu Apr 29 01:51:39 2021 +0000
+++ b/sys/arch/mips/mips/fp.S Thu Apr 29 08:11:38 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fp.S,v 1.51 2020/06/25 11:48:39 simonb Exp $ */
+/* $NetBSD: fp.S,v 1.52 2021/04/29 08:11:38 simonb Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -1850,11 +1850,11 @@
/*
* Find out how many leading zero bits are in t2 and put in v1.
*/
+1:
#if __mips == 32 || __mips == 64
clz v1, t2
#else /* __mips == 32 || __mips == 64 */
.set noat
-1:
move v0, t2
move v1, zero
srl AT, v0, 16
Home |
Main Index |
Thread Index |
Old Index