aboutsummaryrefslogtreecommitdiff
path: root/c_emulator/riscv_softfloat.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_emulator/riscv_softfloat.c')
-rw-r--r--c_emulator/riscv_softfloat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_emulator/riscv_softfloat.c b/c_emulator/riscv_softfloat.c
index 914f4ff..2c2d0d2 100644
--- a/c_emulator/riscv_softfloat.c
+++ b/c_emulator/riscv_softfloat.c
@@ -16,7 +16,7 @@ static uint_fast8_t uint8_of_rm(mach_bits rm)
#define SOFTFLOAT_POSTLUDE(res) \
zfloat_result = res.v; \
- zfloat_fflags |= (mach_bits)softfloat_exceptionFlags
+ zfloat_fflags = (mach_bits)softfloat_exceptionFlags
unit softfloat_f16add(mach_bits rm, mach_bits v1, mach_bits v2)
{