From 996c3808ad039204f64d3a10df2a269f2c0b8dbb Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 19 May 2011 13:23:26 -0700 Subject: [PATCH] [sim] more fp conversion bugs fixed --- riscv/insns/fcvt_d_lu.h | 2 +- riscv/insns/fcvt_s_lu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/riscv/insns/fcvt_d_lu.h b/riscv/insns/fcvt_d_lu.h index 68c0482..2032758 100644 --- a/riscv/insns/fcvt_d_lu.h +++ b/riscv/insns/fcvt_d_lu.h @@ -1,5 +1,5 @@ require_xpr64; require_fp; softfloat_roundingMode = RM; -FRD = i64_to_f64(RS1); +FRD = ui64_to_f64(RS1); set_fp_exceptions; diff --git a/riscv/insns/fcvt_s_lu.h b/riscv/insns/fcvt_s_lu.h index f149229..d9d0946 100644 --- a/riscv/insns/fcvt_s_lu.h +++ b/riscv/insns/fcvt_s_lu.h @@ -1,5 +1,5 @@ require_xpr64; require_fp; softfloat_roundingMode = RM; -FRD = i64_to_f32(RS1); +FRD = ui64_to_f32(RS1); set_fp_exceptions; -- 2.30.2