summary refs log tree commit diff
path: root/arm64
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-08 14:16:40 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2019-05-15 11:43:50 +0200
commit8655181f63b5327a68b27da315e889094e9e6251 (patch)
treec41078c6ce317ee1e7a67d14dbd7371a9144bf84 /arm64
parent359c4ebb17f79767ab2aa29162e7f164cb513163 (diff)
downloadroux-8655181f63b5327a68b27da315e889094e9e6251.tar.gz
arm64: Handle truncd instruction
Diffstat (limited to 'arm64')
-rw-r--r--arm64/emit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arm64/emit.c b/arm64/emit.c
index 847d613..7c5b2b6 100644
--- a/arm64/emit.c
+++ b/arm64/emit.c
@@ -81,6 +81,7 @@ static struct {
 	{ Oextsw,  Ki, "sxtw %L=, %W0" },
 	{ Oextuw,  Ki, "mov %W=, %W0" },
 	{ Oexts,   Kd, "fcvt %=, %S0" },
+	{ Otruncd, Ks, "fcvt %=, %D0" },
 	{ Ocast,   Kw, "fmov %=, %S0" },
 	{ Ocast,   Kl, "fmov %=, %D0" },
 	{ Ocast,   Ks, "fmov %=, %W0" },