diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-22 15:11:18 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-22 15:11:18 -0400 |
commit | 55476d073825aba23654667f95f487d24dbfcc64 (patch) | |
tree | 5796304906b85c597705c5f637a78f74893615e8 /test | |
parent | d2046e2cd0d57b425ca5da0266c9d7fcbb760417 (diff) | |
download | roux-55476d073825aba23654667f95f487d24dbfcc64.tar.gz |
refine fp conversion instructions
Diffstat (limited to 'test')
-rw-r--r-- | test/fpcnv.ssa | 4 |
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 } |