10dcb08b03
All of the fpu operations are defined with TCG_CALL_NO_WG, but they all modify FCSR0. The most efficient way to fix this is to remove cpu_fcsr0, and instead use explicit load and store operations for the two instructions that manipulate that value. Acked-by: Qi Hu <huqi@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Reported-by: Feiyang Chen <chenfeiyang@loongson.cn> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
21 lines
447 B
Makefile
21 lines
447 B
Makefile
# -*- Mode: makefile -*-
|
|
#
|
|
# LoongArch64 specific tweaks
|
|
|
|
# Loongarch64 doesn't support gdb, so skip the EXTRA_RUNS
|
|
EXTRA_RUNS =
|
|
|
|
LOONGARCH64_SRC=$(SRC_PATH)/tests/tcg/loongarch64
|
|
VPATH += $(LOONGARCH64_SRC)
|
|
|
|
LDFLAGS+=-lm
|
|
|
|
LOONGARCH64_TESTS = test_bit
|
|
LOONGARCH64_TESTS += test_div
|
|
LOONGARCH64_TESTS += test_fclass
|
|
LOONGARCH64_TESTS += test_fpcom
|
|
LOONGARCH64_TESTS += test_pcadd
|
|
LOONGARCH64_TESTS += test_fcsr
|
|
|
|
TESTS += $(LOONGARCH64_TESTS)
|