summary refs log tree commit diff
path: root/emit.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-22 15:11:18 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-22 15:11:18 -0400
commit55476d073825aba23654667f95f487d24dbfcc64 (patch)
tree5796304906b85c597705c5f637a78f74893615e8 /emit.c
parentd2046e2cd0d57b425ca5da0266c9d7fcbb760417 (diff)
downloadroux-55476d073825aba23654667f95f487d24dbfcc64.tar.gz
refine fp conversion instructions
Diffstat (limited to 'emit.c')
-rw-r--r--emit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/emit.c b/emit.c
index 77fc1d4..2c0b3cc 100644
--- a/emit.c
+++ b/emit.c
@@ -78,10 +78,10 @@ static struct {
 
 	{ Oexts,   Kd, "cvtss2sd %0, %=" },  /* see if factorization is possible */
 	{ Otruncd, Ks, "cvttsd2ss %0, %=" },
-	{ Oftosi,  Kw, "cvttss2si %0, %=" },
-	{ Oftosi,  Kl, "cvttsd2si %0, %=" },
-	{ Ositof,  Ks, "cvtsi2ss %W0, %=" },
-	{ Ositof,  Kd, "cvtsi2sd %L0, %=" },
+	{ Ostosi,  Ki, "cvttss2si%k %0, %=" },
+	{ Odtosi,  Ki, "cvttsd2si%k %0, %=" },
+	{ Oswtof,  Ka, "cvtsi2%k %W0, %=" },
+	{ Osltof,  Ka, "cvtsi2%k %L0, %=" },
 	{ Ocast,   Ki, "movq %D0, %L=" },
 	{ Ocast,   Ka, "movq %L0, %D=" },