summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/nds32/to-16bit-v3.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/nds32/to-16bit-v3.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/nds32/to-16bit-v3.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/nds32/to-16bit-v3.s b/binutils-2.25/gas/testsuite/gas/nds32/to-16bit-v3.s
new file mode 100644
index 00000000..595a7827
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/nds32/to-16bit-v3.s
@@ -0,0 +1,16 @@
+foo:
+andi $r0, $r0, 1
+andi $r7, $r7, 255
+movi $r0, 16
+movi $r19, 47
+subri $r0, $r0, 0
+subri $r7, $r7, 0
+nor $r0, $r0, $r0
+nor $r7, $r7, $r7
+mul $r0, $r0, $r0
+mul $r7, $r7, $r7
+xor $r0, $r0, $r0
+xor $r7, $r7, $r7
+and $r0, $r0, $r0
+and $r7, $r7, $r7
+or $r0, $r0, $r0