aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/hexagon/test_ext.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/hexagon/test_ext.S')
-rw-r--r--tests/tcg/hexagon/test_ext.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/tcg/hexagon/test_ext.S b/tests/tcg/hexagon/test_ext.S
new file mode 100644
index 0000000000..03e7bce2a7
--- /dev/null
+++ b/tests/tcg/hexagon/test_ext.S
@@ -0,0 +1,13 @@
+/* Purpose: test immediate extender instructions. */
+
+ .text
+ .globl _start
+
+_start:
+ {
+ r2 = ##-559038737
+ }
+ {
+ p0 = cmp.eq(r2, ##-559038737); if (p0.new) jump:t pass
+ jump fail
+ }