From 55476d073825aba23654667f95f487d24dbfcc64 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 22 Apr 2016 15:11:18 -0400 Subject: refine fp conversion instructions --- test/fpcnv.ssa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 } -- cgit 1.4.1