diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-08-28 13:26:42 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-09-28 10:45:22 +0200 |
commit | 3e2a5107c52f5bf7ed68f4b468cff5be456f1097 (patch) | |
tree | 8a18adf6914e4ed77bf6413378d15db5ffcbbb0c /tests/tcg | |
parent | d97fa9a00d5b333c8642670b7b55f9101d495dce (diff) | |
download | qemu-3e2a5107c52f5bf7ed68f4b468cff5be456f1097.zip qemu-3e2a5107c52f5bf7ed68f4b468cff5be456f1097.tar.gz qemu-3e2a5107c52f5bf7ed68f4b468cff5be456f1097.tar.bz2 |
target/tricore: Implement CRCN insn
reported in https://gitlab.com/qemu-project/qemu/-/issues/1667
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-ID: <20230828112651.522058-3-kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'tests/tcg')
-rw-r--r-- | tests/tcg/tricore/Makefile.softmmu-target | 1 | ||||
-rw-r--r-- | tests/tcg/tricore/asm/test_crcn.S | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/tcg/tricore/Makefile.softmmu-target b/tests/tcg/tricore/Makefile.softmmu-target index d556201..b8d9b33 100644 --- a/tests/tcg/tricore/Makefile.softmmu-target +++ b/tests/tcg/tricore/Makefile.softmmu-target @@ -9,6 +9,7 @@ CFLAGS = -mtc162 -c -I$(TESTS_PATH) TESTS += test_abs.asm.tst TESTS += test_bmerge.asm.tst TESTS += test_clz.asm.tst +TESTS += test_crcn.asm.tst TESTS += test_dextr.asm.tst TESTS += test_dvstep.asm.tst TESTS += test_fadd.asm.tst diff --git a/tests/tcg/tricore/asm/test_crcn.S b/tests/tcg/tricore/asm/test_crcn.S new file mode 100644 index 0000000..51a2272 --- /dev/null +++ b/tests/tcg/tricore/asm/test_crcn.S @@ -0,0 +1,9 @@ +#include "macros.h" +.text +.global _start +_start: +# insn num result rs1 rs2 rs3 +# | | | | | | + TEST_D_DDD(crcn, 1, 0x00002bed, 0x0, 0xa10ddeed, 0x0) + + TEST_PASSFAIL |