diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-07-12 06:27:39 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-07-12 06:27:39 +0000 |
commit | dd64e0877b7c282d5432fe853b295408c3bf9257 (patch) | |
tree | a0b665f14a313fa5dcd5df8b3aa9a5582df2b5d8 /sys/arch/sparc64 | |
parent | d4caefc6d4fb98ba3c9484c2deab88179f26da0d (diff) |
grr. gcc has bugs in its bitfields, work around it.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/emul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/emul.c b/sys/arch/sparc64/sparc64/emul.c index bd6a58ceef0..fa4b7ed7bff 100644 --- a/sys/arch/sparc64/sparc64/emul.c +++ b/sys/arch/sparc64/sparc64/emul.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emul.c,v 1.7 2003/07/12 05:01:42 jason Exp $ */ +/* $OpenBSD: emul.c,v 1.8 2003/07/12 06:27:38 jason Exp $ */ /* $NetBSD: emul.c,v 1.8 2001/06/29 23:58:40 eeh Exp $ */ /*- @@ -496,7 +496,7 @@ emul_qf(int32_t insv, struct proc *p, union sigval sv, struct trapframe *tf) if (ins.i_op3.i_op3 == IOP3_STQF || ins.i_op3.i_op3 == IOP3_LDQF) asi = ASI_PRIMARY; - else if (ins.i_loadstore.i_i) + else if (ins.i_int & 0x2000) asi = (tf->tf_tstate & TSTATE_ASI) >> TSTATE_ASI_SHIFT; else asi = ins.i_asi.i_asi; |