aboutsummaryrefslogtreecommitdiff
path: root/pk
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-11-11 03:43:44 -0800
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>2011-11-11 03:43:44 -0800
commit8d3a16be75f0241791152540daa9f0ad069d5271 (patch)
tree7b6ab894d0bfa7222026d3a4452d3efbb6bef4b8 /pk
parent8717517e048ff866167d6eee6c6d97225f0cd169 (diff)
downloadpk-8d3a16be75f0241791152540daa9f0ad069d5271.zip
pk-8d3a16be75f0241791152540daa9f0ad069d5271.tar.gz
pk-8d3a16be75f0241791152540daa9f0ad069d5271.tar.bz2
MFTX now uses RS1 for its source
Diffstat (limited to 'pk')
-rw-r--r--pk/fp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pk/fp.c b/pk/fp.c
index e1298ad..5426c71 100644
--- a/pk/fp.c
+++ b/pk/fp.c
@@ -93,9 +93,9 @@ int emulate_fp(trapframe_t* tf)
*(uint64_t*)effective_address_store = frs2d;
}
else if(IS_INSN(MFTX_S))
- XRDR = frs2s;
+ XRDR = frs1s;
else if(IS_INSN(MFTX_D))
- XRDR = frs2d;
+ XRDR = frs1d;
else if(IS_INSN(MXTF_S))
DO_WRITEBACK(0, XRS1);
else if(IS_INSN(MXTF_D))