diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-07-13 07:00:49 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-07-13 07:00:49 +0000 |
commit | f366d8836695f62100f56335b119c42b0b0c0bf0 (patch) | |
tree | b35a5ce378bc8b4c0dd9a5f782fb4a13a4b1cda1 /sys/arch/sparc64/include | |
parent | e523911487ed0bec3c5b5baa0b5fe1198f640d10 (diff) |
whoa, gcc wasn't at fault: i_loadstore was missing 5 bits, which was causing
the decode to be wrong.
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r-- | sys/arch/sparc64/include/instr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/instr.h b/sys/arch/sparc64/include/instr.h index 7fa30d255f8..6c85fcd25ef 100644 --- a/sys/arch/sparc64/include/instr.h +++ b/sys/arch/sparc64/include/instr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: instr.h,v 1.6 2003/07/10 12:01:41 jason Exp $ */ +/* $OpenBSD: instr.h,v 1.7 2003/07/13 07:00:48 jason Exp $ */ /* $NetBSD: instr.h,v 1.3 2000/01/10 03:53:20 eeh Exp $ */ /* @@ -244,6 +244,7 @@ union instr { u_int :2; /* 11 only */ u_int i_rd:5; /* destination register */ u_int i_op3:6; /* second-level decode (see IOP3_mem) */ + u_int i_rs1:5; /* source register 1 */ u_int i_i:1; /* immediate vs asi */ u_int i_low13:13; /* depend on i bit */ } i_loadstore; |