From 55476d073825aba23654667f95f487d24dbfcc64 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 22 Apr 2016 15:11:18 -0400 Subject: refine fp conversion instructions --- emit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'emit.c') 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=" }, -- cgit v1.2.3