[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 12/12] tests/tcg/tricore: Add muls test
From: |
Bastian Koppelmann |
Subject: |
[Qemu-devel] [RFC PATCH 12/12] tests/tcg/tricore: Add muls test |
Date: |
Tue, 1 May 2018 16:22:22 +0200 |
Signed-off-by: Bastian Koppelmann <address@hidden>
---
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
[Qemu-devel] [RFC PATCH 10/12] tests/tcg/tricore: Add madd test, Bastian Koppelmann, 2018/05/01
[Qemu-devel] [RFC PATCH 12/12] tests/tcg/tricore: Add muls test,
Bastian Koppelmann <=
[Qemu-devel] [RFC PATCH 04/12] tests/tcg/tricore: Add bmerge test, Bastian Koppelmann, 2018/05/01
[Qemu-devel] [RFC PATCH 01/12] hw/tricore: Add testdevice for tests in tests/tcg/, Bastian Koppelmann, 2018/05/01
Re: [Qemu-devel] [RFC PATCH 00/12] tests/tcg: Add TriCore tests, no-reply, 2018/05/01