From dad4550dfb735e8043d65d18edae52f4f7b2e21c Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Wed, 13 Feb 2019 16:42:51 -0800
Subject: [PATCH] amd64: Fix typo in truncd instruction

---
 amd64/emit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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, %=" },