summary refs log tree commit diff
path: root/amd64
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-13 16:42:51 -0800
committerQuentin Carbonneaux <quentin@c9x.me>2019-02-21 09:27:40 +0100
commitdad4550dfb735e8043d65d18edae52f4f7b2e21c (patch)
treeb816a8a207b3ed82dde004988dbd00857092e8d7 /amd64
parentfcd55bb4412e314a0643d66e37f2076950b895d0 (diff)
downloadroux-dad4550dfb735e8043d65d18edae52f4f7b2e21c.tar.gz
amd64: Fix typo in truncd instruction
Diffstat (limited to 'amd64')
-rw-r--r--amd64/emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/emit.c b/amd64/emit.c
index b8fa655..653c548 100644
--- a/amd64/emit.c
+++ b/amd64/emit.c
@@ -96,7 +96,7 @@ static struct {
 	{ Oextub,  Ki, "movzb%k %B0, %=" },
 
 	{ Oexts,   Kd, "cvtss2sd %0, %=" },
-	{ Otruncd, Ks, "cvttsd2ss %0, %=" },
+	{ Otruncd, Ks, "cvtsd2ss %0, %=" },
 	{ Ostosi,  Ki, "cvttss2si%k %0, %=" },
 	{ Odtosi,  Ki, "cvttsd2si%k %0, %=" },
 	{ Oswtof,  Ka, "cvtsi2%k %W0, %=" },