# -*- 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)