1#as: --underscore --em=criself --march=v32
2#objdump: -dr
3
4# Test that lapc shrinks to lapcq and that offsets are emitted correctly.
5
6.*:     file format elf32-us-cris
7
8Disassembly of section \.text:
9
100+ <a>:
11   0:	70a9                	lapcq 0 <a>,r10
12   2:	71b9                	lapcq 4 <x>,r11
13
140+4 <x>:
15   4:	72c9                	lapcq 8 <xx>,r12
16   6:	b005                	nop
17
180+8 <xx>:
19   8:	73d9                	lapcq e <xxx>,r13
20   a:	b005                	nop
21   c:	b005                	nop
22
230+e <xxx>:
24   e:	b005                	nop
25
260+10 <a00>:
27  10:	b005                	nop
28  12:	7f9d feff ffff      	lapc 10 <a00>,r9
29
300+18 <a0>:
31  18:	7089                	lapcq 18 <a0>,r8
32  1a:	7179                	lapcq 1c <x0>,r7
33
340+1c <x0>:
35  1c:	7269                	lapcq 20 <xx0>,r6
36  1e:	b005                	nop
37
380+20 <xx0>:
39  20:	b005                	nop
40
410+22 <a11>:
42  22:	b005                	nop
43  24:	7fad feff ffff      	lapc 22 <a11>,r10
44
450+2a <a1>:
46  2a:	7fad 0000 0000      	lapc 2a <a1>,r10
47  30:	7fbd 0600 0000      	lapc 36 <x1>,r11
48
490+36 <x1>:
50  36:	7fcd 0800 0000      	lapc 3e <xx1>,r12
51  3c:	b005                	nop
52
530+3e <xx1>:
54  3e:	7fdd 0a00 0000      	lapc 48 <xxx1>,r13
55  44:	b005                	nop
56  46:	b005                	nop
57
580+48 <xxx1>:
59  48:	b005                	nop
60  4a:	7f39                	lapcq 68 <y>,r3
61	\.\.\.
62