diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-07 13:46:44 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-07 13:46:44 -0500 |
commit | cebec4dd4739712530111c6211129ef2ee948c5c (patch) | |
tree | 496284040d586d37df41d21873d46e1deb575654 /lisc/emit.c | |
parent | 9de2a588da1d4879984992dcd03b75bd0bac8035 (diff) | |
download | roux-cebec4dd4739712530111c6211129ef2ee948c5c.tar.gz |
add new cast instruction
Diffstat (limited to 'lisc/emit.c')
-rw-r--r-- | lisc/emit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisc/emit.c b/lisc/emit.c index e055758..240bfc6 100644 --- a/lisc/emit.c +++ b/lisc/emit.c @@ -77,6 +77,8 @@ static struct { { OFtosi, Kl, "cvttsd2si %0, %=" }, { OSitof, Ks, "cvtsi2ss %W0, %=" }, { OSitof, Kd, "cvtsi2sd %L0, %=" }, + { OCast, Ki, "movq %D0, %L=" }, + { OCast, Ka, "movq %L0, %D=" }, { OAddr, Ki, "lea%k %M0, %=" }, { OSwap, Ki, "xchg%k %0, %1" }, |