aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/internals.h
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2022-06-06 20:43:00 +0800
committerRichard Henderson <richard.henderson@linaro.org>2022-06-06 18:09:03 +0000
commitd578ca6cbba6056f17901c869a6325d571bb124d (patch)
treee85d02badd4aad11c642c2639793c42bae58620b /target/loongarch/internals.h
parent8708a04a6145b4c9289fed28358fb1273dcd6aea (diff)
downloadqemu-d578ca6cbba6056f17901c869a6325d571bb124d.zip
qemu-d578ca6cbba6056f17901c869a6325d571bb124d.tar.gz
qemu-d578ca6cbba6056f17901c869a6325d571bb124d.tar.bz2
target/loongarch: Add floating point arithmetic instruction translation
This includes: - F{ADD/SUB/MUL/DIV}.{S/D} - F{MADD/MSUB/NMADD/NMSUB}.{S/D} - F{MAX/MIN}.{S/D} - F{MAXA/MINA}.{S/D} - F{ABS/NEG}.{S/D} - F{SQRT/RECIP/RSQRT}.{S/D} - F{SCALEB/LOGB/COPYSIGN}.{S/D} - FCLASS.{S/D} Signed-off-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220606124333.2060567-11-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/loongarch/internals.h')
-rw-r--r--target/loongarch/internals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/loongarch/internals.h b/target/loongarch/internals.h
index 9f02287..43b865e 100644
--- a/target/loongarch/internals.h
+++ b/target/loongarch/internals.h
@@ -18,4 +18,6 @@ void G_NORETURN do_raise_exception(CPULoongArchState *env,
const char *loongarch_exception_name(int32_t exception);
+void restore_fp_status(CPULoongArchState *env);
+
#endif