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 Add a comment to say that instruction enc...



details:   https://anonhg.NetBSD.org/src/rev/9c7809111498
branches:  trunk
changeset: 934461:9c7809111498
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat Jun 13 12:53:42 2020 +0000

description:
Add a comment to say that instruction encoding 0x7c03e83b is "rdhwr $3,$29".

diffstat:

 sys/arch/mips/mips/mipsX_subr.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 3005992a7e3d -r 9c7809111498 sys/arch/mips/mips/mipsX_subr.S
--- a/sys/arch/mips/mips/mipsX_subr.S   Sat Jun 13 12:42:58 2020 +0000
+++ b/sys/arch/mips/mips/mipsX_subr.S   Sat Jun 13 12:53:42 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mipsX_subr.S,v 1.107 2020/02/15 17:01:00 skrll Exp $   */
+/*     $NetBSD: mipsX_subr.S,v 1.108 2020/06/13 12:53:42 simonb Exp $  */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -1321,8 +1321,8 @@
        /*
         * Was this rdhwr $3,$29?
         */
-       lui     v0, %hi(0x7c03e83b)
-       addiu   v0, %lo(0x7c03e83b)
+       lui     v0, %hi(0x7c03e83b)     # 0x7c03e83b => rdhwr $3,$29
+       addiu   v0, %lo(0x7c03e83b)     #        or ... rdhwr v1,ulr
        bne     AT, v0, MIPSX(user_gen_exception_common)
         nop
 



Home | Main Index | Thread Index | Old Index