Module Name: src
Committed By: simonb
Date: Sat Jun 13 12:53:42 UTC 2020
Modified Files:
src/sys/arch/mips/mips: mipsX_subr.S
Log Message:
Add a comment to say that instruction encoding 0x7c03e83b is "rdhwr $3,$29".
To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/mips/mips/mipsX_subr.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/mips/mipsX_subr.S
diff -u src/sys/arch/mips/mips/mipsX_subr.S:1.107 src/sys/arch/mips/mips/mipsX_subr.S:1.108
--- src/sys/arch/mips/mips/mipsX_subr.S:1.107 Sat Feb 15 17:01:00 2020
+++ src/sys/arch/mips/mips/mipsX_subr.S Sat Jun 13 12:53:42 2020
@@ -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 @@ NESTED_NOPROFILE(MIPSX(user_reserved_ins
/*
* 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