aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/fcvt_wu_d.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-09-27 00:15:35 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-09-27 00:15:35 -0700
commitc8a8c07ec296ce36dc04f2448faf48fe1c502a2d (patch)
treea497ddda532182cc10aa2f82a555e0d3ab4d220c /riscv/insns/fcvt_wu_d.h
parent6554cdd3fb42bc3833a1888f87dfc67c9099500c (diff)
downloadspike-c8a8c07ec296ce36dc04f2448faf48fe1c502a2d.zip
spike-c8a8c07ec296ce36dc04f2448faf48fe1c502a2d.tar.gz
spike-c8a8c07ec296ce36dc04f2448faf48fe1c502a2d.tar.bz2
Use WRITE_RD/WRITE_FRD macros to write registers
Diffstat (limited to 'riscv/insns/fcvt_wu_d.h')
-rw-r--r--riscv/insns/fcvt_wu_d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/fcvt_wu_d.h b/riscv/insns/fcvt_wu_d.h
index 43ad6f6..5cf44d1 100644
--- a/riscv/insns/fcvt_wu_d.h
+++ b/riscv/insns/fcvt_wu_d.h
@@ -1,4 +1,4 @@
require_fp;
softfloat_roundingMode = RM;
-RD = sext32(f64_to_ui32(FRS1, RM, true));
+WRITE_RD(sext32(f64_to_ui32(FRS1, RM, true)));
set_fp_exceptions;