aboutsummaryrefslogtreecommitdiff
path: root/target/loongarch/internals.h
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2023-05-04 20:27:59 +0800
committerSong Gao <gaosong@loongson.cn>2023-05-06 11:19:48 +0800
commitaca67472d2bc236a4b4b85780925cd064a9dc16f (patch)
treeb731c7f5c2f65223eafb191a9ab5f8dfef53d14f /target/loongarch/internals.h
parentac95a0b975583de1ea70e03b70b8c866c109324c (diff)
target/loongarch: Implement LSX fpu arith instructions
This patch includes: - VF{ADD/SUB/MUL/DIV}.{S/D}; - VF{MADD/MSUB/NMADD/NMSUB}.{S/D}; - VF{MAX/MIN}.{S/D}; - VF{MAXA/MINA}.{S/D}; - VFLOGB.{S/D}; - VFCLASS.{S/D}; - VF{SQRT/RECIP/RSQRT}.{S/D}. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20230504122810.4094787-34-gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch/internals.h')
-rw-r--r--target/loongarch/internals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/loongarch/internals.h b/target/loongarch/internals.h
index 4c5752fc01..7b0f29c942 100644
--- a/target/loongarch/internals.h
+++ b/target/loongarch/internals.h
@@ -53,6 +53,7 @@ void G_NORETURN do_raise_exception(CPULoongArchState *env,
const char *loongarch_exception_name(int32_t exception);
+int ieee_ex_to_loongarch(int xcpt);
void restore_fp_status(CPULoongArchState *env);
#ifndef CONFIG_USER_ONLY