[sim] more fp conversion bugs fixed
authorAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>
Thu, 19 May 2011 20:23:26 +0000 (13:23 -0700)
committerAndrew Waterman <waterman@s144.Millennium.Berkeley.EDU>
Thu, 19 May 2011 20:23:40 +0000 (13:23 -0700)
riscv/insns/fcvt_d_lu.h
riscv/insns/fcvt_s_lu.h

index 68c04827a3704c45deea1bb47e9fee49aca62661..203275863ff1253f44136f9b29115db7f1324393 100644 (file)
@@ -1,5 +1,5 @@
 require_xpr64;
 require_fp;
 softfloat_roundingMode = RM;
-FRD = i64_to_f64(RS1);
+FRD = ui64_to_f64(RS1);
 set_fp_exceptions;
index f149229d860a3078453fb1dedef65267ddd4ab00..d9d0946ac0bff976ccd2ddf05d50fe86b70fa5c5 100644 (file)
@@ -1,5 +1,5 @@
 require_xpr64;
 require_fp;
 softfloat_roundingMode = RM;
-FRD = i64_to_f32(RS1);
+FRD = ui64_to_f32(RS1);
 set_fp_exceptions;