aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/arc/relax-sub03.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/arc/relax-sub03.s')
-rw-r--r--gas/testsuite/gas/arc/relax-sub03.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arc/relax-sub03.s b/gas/testsuite/gas/arc/relax-sub03.s
new file mode 100644
index 0000000..4c5bd9d
--- /dev/null
+++ b/gas/testsuite/gas/arc/relax-sub03.s
@@ -0,0 +1,8 @@
+;;; Check relaxation from sub rA,rB,limm@pcl -> sub_s rC,rB, uimm3@pcl
+ .cpu EM
+ nop
+ sub r1,r2,@.L1@pcl
+ nop
+ .align 4
+.L1:
+ add r0,r0,r0