Power10 Copy/Paste Extensions
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / archv8m.s
1 .thumb
2 .syntax unified
3
4 T:
5 blx r4
6 blx r9
7 bx r4
8 bx r9
9 tt r0, r1
10 tt r8, r9
11 ttt r0, r1
12 ttt r8, r9
13 movw r0, #0xF123
14 @ mov accept all immediate formats, including T3. It's also the suggested
15 @ assembly to use.
16 mov r8, #0xF123
17 @ .w means wide, specifies that the assembler must select a 32-bit encoding for
18 @ the instruction if it is possible, it should accept both T2 (Thumb modified
19 @ immediate) and T3 (UINT16) encoding. See the section "Standard assembler
20 @ syntax fields" on latest ARM-ARM.
21 mov.w r8, #0xF123
22 movw r8, #0xF123
23 movt r0, #0xF123
24 movt r8, #0xF123
25 cbz r4, .L1
26 cbnz r4, .L1
27 b.w .L1
28 sdiv r0, r1, r2
29 sdiv r8, r9, r10
30 udiv r0, r1, r2
31 udiv r8, r9, r10
32 .L1:
33 add r0, r1
34 clrex
35 ldrex r0, [r1, #0x4]
36 ldrexb r0, [r1]
37 ldrexh r0, [r1]
38 strex r0, r1, [r2, #0x4]
39 strexb r0, r1, [r2]
40 strexh r0, r1, [r2]
41 lda r0, [r1]
42 ldab r0, [r1]
43 ldah r0, [r1]
44 stl r0, [r1]
45 stlb r0, [r1]
46 stlh r0, [r1]
47 ldaex r0, [r1]
48 ldaexb r0, [r1]
49 ldaexh r0, [r1]
50 stlex r0, r1, [r2]
51 stlexb r0, r1, [r2]
52 stlexh r0, r1, [r2]
53
54
This page took 0.031418 seconds and 4 git commands to generate.