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 mips_emul_daddi and mips_emul_daddiu don'...
details: https://anonhg.NetBSD.org/src/rev/37e14499cfa3
branches: trunk
changeset: 355965:37e14499cfa3
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Aug 24 23:45:08 2017 +0000
description:
mips_emul_daddi and mips_emul_daddiu don't exist, but there are
bcemul_daddi and bcemul_daddiu here that should be used. however,
bcemul_daddi needed to be changed to use dadd not daddui.
fixes FPEMUL and N64 kernels. ok simonb.
diffstat:
sys/arch/mips/mips/bds_emul.S | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r a3a398a090db -r 37e14499cfa3 sys/arch/mips/mips/bds_emul.S
--- a/sys/arch/mips/mips/bds_emul.S Thu Aug 24 22:48:06 2017 +0000
+++ b/sys/arch/mips/mips/bds_emul.S Thu Aug 24 23:45:08 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bds_emul.S,v 1.8 2015/06/09 22:50:50 matt Exp $ */
+/* $NetBSD: bds_emul.S,v 1.9 2017/08/24 23:45:08 mrg Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -101,8 +101,8 @@
PTR_WORD bcemul_sigill # 030 LDL (*)
PTR_WORD bcemul_sigill # 031 LDR (*)
#else
- PTR_WORD _C_LABEL(mips_emul_daddi) # 030 DADDI (*)
- PTR_WORD _C_LABEL(mips_emul_daddiu) # 031 DADDIU (*)
+ PTR_WORD bcemul_daddi # 030 DADDI (*)
+ PTR_WORD bcemul_daddiu # 031 DADDIU (*)
PTR_WORD _C_LABEL(mips_emul_ldl) # 032 LDL (*)
PTR_WORD _C_LABEL(mips_emul_ldr) # 033 LDR (*)
#endif
@@ -191,7 +191,7 @@
#ifndef __mips_o32
bcemul_daddi:
bal bcemul_immed_prologue
- daddiu t0, v0, v1
+ dadd t0, v0, v1
b bcemul_check_add_overflow
#endif
Home |
Main Index |
Thread Index |
Old Index