diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-11-02 18:54:46 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-11-02 18:54:46 +0000 |
commit | d4035bbe9de0a0eff2e5cae2ebc0a34f9227901b (patch) | |
tree | 237749ba200093500c18ddecdd29d3ff67a01bdb /sys/arch/mips64 | |
parent | 6594cde673a8ee4361c521b4ca2df27e77b3bd81 (diff) |
missed reg index calc fix
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r-- | sys/arch/mips64/mips64/fp.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mips64/mips64/fp.S b/sys/arch/mips64/mips64/fp.S index d5bbef1f140..fda4deda5a4 100644 --- a/sys/arch/mips64/mips64/fp.S +++ b/sys/arch/mips64/mips64/fp.S @@ -1,4 +1,4 @@ -/* $OpenBSD: fp.S,v 1.6 2004/10/30 14:48:59 pefo Exp $ */ +/* $OpenBSD: fp.S,v 1.7 2004/11/02 18:54:45 pefo Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)fp.s 8.1 (Berkeley) 6/10/93 - * $Id: fp.S,v 1.6 2004/10/30 14:48:59 pefo Exp $ + * $Id: fp.S,v 1.7 2004/11/02 18:54:45 pefo Exp $ */ /* @@ -2267,8 +2267,8 @@ get_fs_d_/**/n: \ b get_fs_d_done ALEAF(get_fs_d) - srl a3, a0, 12 - 2 # get FS field (even regs only) - and a3, a3, 0xF << 2 # mask FS field + srl a3, a0, 11 - 3 # get FS field + and a3, a3, 0x1f << 3 # mask FS field ld a3, get_fs_d_tbl(a3) # switch on register number j a3 |