1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: NIOS2 R2 STWM instructions
3 #as: -march=r2
4 
5 # Test the STWM instructions
6 
7 .*: +file format elf32-littlenios2
8 
9 Disassembly of section .text:
10 0+0000 <[^>]*> d00105e8 	stwm	\{r2\},--\(r23\)
11 0+0004 <[^>]*> d00205e8 	stwm	\{r3\},--\(r23\)
12 0+0008 <[^>]*> d00405e8 	stwm	\{r4\},--\(r23\)
13 0+000c <[^>]*> d00805e8 	stwm	\{r5\},--\(r23\)
14 0+0010 <[^>]*> d01005e8 	stwm	\{r6\},--\(r23\)
15 0+0014 <[^>]*> d02005e8 	stwm	\{r7\},--\(r23\)
16 0+0018 <[^>]*> d04005e8 	stwm	\{r8\},--\(r23\)
17 0+001c <[^>]*> d08005e8 	stwm	\{r9\},--\(r23\)
18 0+0020 <[^>]*> d10005e8 	stwm	\{r10\},--\(r23\)
19 0+0024 <[^>]*> d20005e8 	stwm	\{r11\},--\(r23\)
20 0+0028 <[^>]*> d40005e8 	stwm	\{r12\},--\(r23\)
21 0+002c <[^>]*> d80005e8 	stwm	\{r13\},--\(r23\)
22 0+0030 <[^>]*> d00128a8 	stwm	\{r14\},\(r2\)\+\+
23 0+0034 <[^>]*> d00328a8 	stwm	\{r14,r15\},\(r2\)\+\+
24 0+0038 <[^>]*> d00728a8 	stwm	\{r14,r15,r16\},\(r2\)\+\+
25 0+003c <[^>]*> d00f28a8 	stwm	\{r14,r15,r16,r17\},\(r2\)\+\+
26 0+0040 <[^>]*> d01f28a8 	stwm	\{r14,r15,r16,r17,r18\},\(r2\)\+\+
27 0+0044 <[^>]*> d03f28a8 	stwm	\{r14,r15,r16,r17,r18,r19\},\(r2\)\+\+
28 0+0048 <[^>]*> d07f28a8 	stwm	\{r14,r15,r16,r17,r18,r19,r20\},\(r2\)\+\+
29 0+004c <[^>]*> d0ff28a8 	stwm	\{r14,r15,r16,r17,r18,r19,r20,r21\},\(r2\)\+\+
30 0+0050 <[^>]*> d1ff28a8 	stwm	\{r14,r15,r16,r17,r18,r19,r20,r21,r22\},\(r2\)\+\+
31 0+0054 <[^>]*> d3ff28a8 	stwm	\{r14,r15,r16,r17,r18,r19,r20,r21,r22,r23\},\(r2\)\+\+
32 0+0058 <[^>]*> d7ff28a8 	stwm	\{r14,r15,r16,r17,r18,r19,r20,r21,r22,r23,fp\},\(r2\)\+\+
33 0+005c <[^>]*> dfff28a8 	stwm	\{r14,r15,r16,r17,r18,r19,r20,r21,r22,r23,fp,ra\},\(r2\)\+\+
34 0+0060 <[^>]*> d2210b68 	stwm	\{r2,r7,r11\},\(r13\)\+\+
35 0+0064 <[^>]*> d2211b68 	stwm	\{r2,r7,r11\},\(r13\)\+\+,writeback
36