summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-17 07:21:20 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-17 07:21:20 -0700
commit5257df69de2bf48496ec82b4a515f118ac17a25b (patch)
tree04a823ab606e2f15c9ed832d361ba396a2dad48a /6
parent55f902cc327c45e15fba898fcc004f01a2f187e3 (diff)
downloadmc-5257df69de2bf48496ec82b4a515f118ac17a25b.tar.gz
Fix SSE instruction formats on Amd64
Diffstat (limited to '6')
-rw-r--r--6/insns.def4
-rw-r--r--6/mkfile2
2 files changed, 3 insertions, 3 deletions
diff --git a/6/insns.def b/6/insns.def
index 5729ce2..3572ecc 100644
--- a/6/insns.def
+++ b/6/insns.def
@@ -251,12 +251,12 @@ Insn(Imovs,
Def(.l={2}))
Insn(Icvttsd2si,
"\tcvttsd2si%2t %x,%r\n",
- "\tCVTTSD2S%2T %X,%R\n",
+ "\tCVTTS%T2S%2T %X,%R\n",
Use(.l={1}),
Def(.l={2}))
Insn(Icvttsi2sd,
"\tcvtsi2s%2t %x,%f\n",
- "\tCVTTS%2T2SD %X,%F\n",
+ "\CVTS%T2S%2T %X,%F\n",
Use(.l={1}),
Def(.l={2}))
Insn(Icvttsd2ss,
diff --git a/6/mkfile b/6/mkfile
index 237fef0..6be6629 100644
--- a/6/mkfile
+++ b/6/mkfile
@@ -20,7 +20,7 @@ OFILES=\
LIB=../parse/libparse.a ../mi/libmi.a
-HFILES=asm.h ../parse/parse.h ../mi/mi.h ../config.h
+HFILES=asm.h ../parse/parse.h ../mi/mi.h ../config.h insns.def regs.def
BIN=/$objtype/bin
</sys/src/cmd/mkone