summary refs log tree commit diff stats
path: root/tests/tcg/tricore/asm/test_insert.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/tricore/asm/test_insert.S')
-rw-r--r--tests/tcg/tricore/asm/test_insert.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tcg/tricore/asm/test_insert.S b/tests/tcg/tricore/asm/test_insert.S
new file mode 100644
index 0000000000..d5fd2237e1
--- /dev/null
+++ b/tests/tcg/tricore/asm/test_insert.S
@@ -0,0 +1,9 @@
+#include "macros.h"
+.text
+.global _start
+_start:
+#                insn num    result        rs1    imm1   rs2  imm2
+#                 |     |      |            |       |     |    |
+    TEST_D_DIDI(insert, 1, 0x7fffffff, 0xffffffff, 0xa, 0x10, 0x8)
+
+    TEST_PASSFAIL