summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-10 21:13:55 -0700
committerGravatar Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2010-09-10 21:13:55 -0700
commit22de48c1eee585d3b1644dc892cc3c4466f536c2 (patch)
tree0068dc4c6582a45310d2500d711779b588554314
parent6ec5ce911b952b0ba7ba7234506f8f74347942e5 (diff)
[sim, xcc] Added mffh.d/mtflh.d; fixed FP ABI for 32-bit
-rw-r--r--instr-table.tex4
-rw-r--r--opcodes2
2 files changed, 3 insertions, 3 deletions
diff --git a/instr-table.tex b/instr-table.tex
index ab784b0..5766728 100644
--- a/instr-table.tex
+++ b/instr-table.tex
@@ -1642,9 +1642,9 @@
&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{xa} &
-\multicolumn{1}{c|}{00000} &
+\multicolumn{1}{c|}{xb} &
\multicolumn{4}{c|}{1101100000} &
-\multicolumn{1}{c|}{fc} & MTFH.D fc,xa \\
+\multicolumn{1}{c|}{fc} & MTFLH.D fc,xa,xb \\
\cline{2-10}
diff --git a/opcodes b/opcodes
index bb1c736..54b4203 100644
--- a/opcodes
+++ b/opcodes
@@ -180,7 +180,7 @@ mff.d 31..25=0x6A 19..15=0 14..13=3 12..10=0 9..5=0 xc fa
mffh.d 31..25=0x6A 19..15=0 14..13=3 12..10=1 9..5=0 xc fa
mtf.s 31..25=0x6A 19..15=0 14..13=0 12..10=2 9..5=0 fc xa
mtf.d 31..25=0x6A 19..15=0 14..13=3 12..10=2 9..5=0 fc xa
-mtfh.d 31..25=0x6A 19..15=0 14..13=3 12..10=3 9..5=0 fc xa
+mtflh.d 31..25=0x6A 14..13=3 12..10=3 9..5=0 fc xa xb
madd.s 31..25=0x6B 14..13=0 12..10=0 fc fb fa fd
msub.s 31..25=0x6B 14..13=0 12..10=1 fc fb fa fd