aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-10-20 20:05:57 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-05-16 07:13:51 -0500
commit622090ae1992d242553a20c9fd08f1ad2afdab41 (patch)
tree6513e70f90cece5d56b8bd4f639ca6ca422f1230 /include
parente99c43735a413e2566b4ad36eeda6dd061a9b939 (diff)
downloadqemu-622090ae1992d242553a20c9fd08f1ad2afdab41.zip
qemu-622090ae1992d242553a20c9fd08f1ad2afdab41.tar.gz
qemu-622090ae1992d242553a20c9fd08f1ad2afdab41.tar.bz2
softfloat: Inline float_raise
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/fpu/softfloat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h
index 78ad5ca..019c2ec 100644
--- a/include/fpu/softfloat.h
+++ b/include/fpu/softfloat.h
@@ -100,7 +100,10 @@ typedef enum {
| Routine to raise any or all of the software IEC/IEEE floating-point
| exception flags.
*----------------------------------------------------------------------------*/
-void float_raise(uint8_t flags, float_status *status);
+static inline void float_raise(uint8_t flags, float_status *status)
+{
+ status->float_exception_flags |= flags;
+}
/*----------------------------------------------------------------------------
| If `a' is denormal and we are in flush-to-zero mode then set the