diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-07-14 00:45:21 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-07-14 00:45:21 +0000 |
commit | 66bfd898bd6c8e73e49221583a9e32dda685d89a (patch) | |
tree | c494015c6bd116ebd83e5f1a72c9f13f40308f2b /sys/arch | |
parent | 6cee4d5a5dc57936591bb12b95498e828a5f6c85 (diff) |
i_loadstore is missing the rs1 decode which shifts the i_i bits and i_simm13
left 5 bits. Luckily this isn't used except for debug code.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/include/instr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/instr.h b/sys/arch/sparc/include/instr.h index 1c855d24e99..460dee6d254 100644 --- a/sys/arch/sparc/include/instr.h +++ b/sys/arch/sparc/include/instr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: instr.h,v 1.3 2003/06/02 23:27:54 millert Exp $ */ +/* $OpenBSD: instr.h,v 1.4 2003/07/14 00:45:20 jason Exp $ */ /* $NetBSD: instr.h,v 1.3 1997/03/14 23:54:07 christos Exp $ */ /* @@ -219,6 +219,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; |