Signed-off-by: Bastian Koppelmann <kbast...@mail.uni-paderborn.de> --- tests/tcg/tricore/Makefile | 1 + tests/tcg/tricore/test_muls.S | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/tcg/tricore/test_muls.S
diff --git a/tests/tcg/tricore/Makefile b/tests/tcg/tricore/Makefile index e3113b726c..37c3101e4d 100644 --- a/tests/tcg/tricore/Makefile +++ b/tests/tcg/tricore/Makefile @@ -17,6 +17,7 @@ TESTCASES += test_fmul.tst TESTCASES += test_ftoi.tst TESTCASES += test_madd.tst TESTCASES += test_msub.tst +TESTCASES += test_muls.tst all: build diff --git a/tests/tcg/tricore/test_muls.S b/tests/tcg/tricore/test_muls.S new file mode 100644 index 0000000000..ca517556bc --- /dev/null +++ b/tests/tcg/tricore/test_muls.S @@ -0,0 +1,9 @@ +#include "macros.h" +.text +.global _start +_start: + TEST_D_DD_PSW(muls.u, 1, 0xffffffff, 0x78000b80, 0x80000001, 0xffffffff) + TEST_D_DD_PSW(muls.u, 2, 0xffffffff, 0x60000b80, 0xfffffffe, 0xffffffff) + + TEST_PASSFAIL + -- 2.11.0