summaryrefslogtreecommitdiffstats
path: root/include/fpu/softfloat-types.h
diff options
context:
space:
mode:
authorRichard Henderson2021-12-17 17:57:14 +0100
committerCédric Le Goater2021-12-17 17:57:14 +0100
commitf8718aab8950c2c88c72b002aa0ba60caabfee36 (patch)
tree14185008fd4322425688eeec1d667c447a2f32df /include/fpu/softfloat-types.h
parentsoftfloat: Add flags specific to Inf / Inf and 0 / 0 (diff)
downloadqemu-f8718aab8950c2c88c72b002aa0ba60caabfee36.tar.gz
qemu-f8718aab8950c2c88c72b002aa0ba60caabfee36.tar.xz
qemu-f8718aab8950c2c88c72b002aa0ba60caabfee36.zip
softfloat: Add flag specific to sqrt(-x)
PowerPC has this flag, and it's easier to compute it here than after the fact. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211119160502.17432-6-richard.henderson@linaro.org> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/fpu/softfloat-types.h')
-rw-r--r--include/fpu/softfloat-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h
index 5a9671e564..33224b5f22 100644
--- a/include/fpu/softfloat-types.h
+++ b/include/fpu/softfloat-types.h
@@ -156,6 +156,7 @@ enum {
float_flag_invalid_imz = 0x0100, /* inf * 0 */
float_flag_invalid_idi = 0x0200, /* inf / inf */
float_flag_invalid_zdz = 0x0400, /* 0 / 0 */
+ float_flag_invalid_sqrt = 0x0800, /* sqrt(-x) */
};
/*