summary refs log tree commit diff stats
path: root/target/rx/op_helper.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-01-24 16:27:40 +0000
committerPeter Maydell <peter.maydell@linaro.org>2025-01-28 18:40:19 +0000
commit7af64d103d2d81e4b1a9a7c92a803abb2bcd6d91 (patch)
tree7709b60ef7459d812d401fadeee7bd075f4eba56 /target/rx/op_helper.c
parent584b7aec817ea2c2d24cbc92588363caee8667ab (diff)
downloadfocaccia-qemu-7af64d103d2d81e4b1a9a7c92a803abb2bcd6d91.tar.gz
focaccia-qemu-7af64d103d2d81e4b1a9a7c92a803abb2bcd6d91.zip
fpu: Rename float_flag_output_denormal to float_flag_output_denormal_flushed
Our float_flag_output_denormal exception flag is set when
the fpu code flushes an output denormal to zero. Rename
it to float_flag_output_denormal_flushed:
 * this keeps it parallel with the flag for flushing
   input denormals, which we just renamed
 * it makes it clearer that it doesn't mean "set when
   the output is a denormal"

Commit created with
 for f in `git grep -l float_flag_output_denormal`; do sed -i -e 's/float_flag_output_denormal/float_flag_output_denormal_flushed/' $f; done

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250124162836.2332150-21-peter.maydell@linaro.org
Diffstat (limited to 'target/rx/op_helper.c')
-rw-r--r--target/rx/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c
index 59dd1ae612..b3ed822dd1 100644
--- a/target/rx/op_helper.c
+++ b/target/rx/op_helper.c
@@ -100,7 +100,7 @@ static void update_fpsw(CPURXState *env, float32 ret, uintptr_t retaddr)
             SET_FPSW(X);
         }
         if ((xcpt & (float_flag_input_denormal_flushed
-                     | float_flag_output_denormal))
+                     | float_flag_output_denormal_flushed))
             && !FIELD_EX32(env->fpsw, FPSW, DN)) {
             env->fpsw = FIELD_DP32(env->fpsw, FPSW, CE, 1);
         }