aboutsummaryrefslogtreecommitdiff
path: root/test/fpcnv.ssa
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-04-22 15:11:18 -0400
committerQuentin Carbonneaux <[email protected]>2016-04-22 15:11:18 -0400
commit55476d073825aba23654667f95f487d24dbfcc64 (patch)
tree5796304906b85c597705c5f637a78f74893615e8 /test/fpcnv.ssa
parentd2046e2cd0d57b425ca5da0266c9d7fcbb760417 (diff)
refine fp conversion instructions
Diffstat (limited to 'test/fpcnv.ssa')
-rw-r--r--test/fpcnv.ssa4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fpcnv.ssa b/test/fpcnv.ssa
index 06d2478..d9851d8 100644
--- a/test/fpcnv.ssa
+++ b/test/fpcnv.ssa
@@ -12,8 +12,8 @@ function s $fneg(s %f) {
export
function d $ftrunc(d %f) {
@ftrunc
- %l0 =l ftosi %f
- %rt =d sitof %l0
+ %l0 =w dtosi %f
+ %rt =d swtof %l0
ret %rt
}