summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/SPARC/CodeGen.hs
diff options
context:
space:
mode:
authorJohan Tibell <johan.tibell@gmail.com>2012-12-05 19:08:48 -0800
committerJohan Tibell <johan.tibell@gmail.com>2012-12-13 13:54:22 -0800
commit2e8c769422740c001e0a247bfec61d4f78598582 (patch)
treedc9ad5736694e1c9282800d88e9a110d13290a72 /compiler/nativeGen/SPARC/CodeGen.hs
parent589b628be71cda75f4a225db0f1d1fd678c06368 (diff)
downloadhaskell-2e8c769422740c001e0a247bfec61d4f78598582.tar.gz
Implement word2Float# and word2Double#
Diffstat (limited to 'compiler/nativeGen/SPARC/CodeGen.hs')
-rw-r--r--compiler/nativeGen/SPARC/CodeGen.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/nativeGen/SPARC/CodeGen.hs b/compiler/nativeGen/SPARC/CodeGen.hs
index f3b70e7e61..880b5c6bba 100644
--- a/compiler/nativeGen/SPARC/CodeGen.hs
+++ b/compiler/nativeGen/SPARC/CodeGen.hs
@@ -641,6 +641,8 @@ outOfLineMachOp_table mop
MO_F64_Cosh -> fsLit "cosh"
MO_F64_Tanh -> fsLit "tanh"
+ MO_UF_Conv w -> fsLit $ word2FloatLabel w
+
MO_Memcpy -> fsLit "memcpy"
MO_Memset -> fsLit "memset"
MO_Memmove -> fsLit "memmove"