[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AVR / inst-rjmp.s
blob7789caf634e6b4106f73698a817872f97201e89e
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
4 foo:
6 rjmp .+2
7 rjmp .-2
8 rjmp foo
9 rjmp .+8
10 rjmp end
11 rjmp .+0
12 end:
13 rjmp .-4
14 rjmp .-6
16 ; CHECK: rjmp .Ltmp0+2 ; encoding: [A,0b1100AAAA]
17 ; CHECK: ; fixup A - offset: 0, value: .Ltmp0+2, kind: fixup_13_pcrel
18 ; CHECK: rjmp .Ltmp1-2 ; encoding: [A,0b1100AAAA]
19 ; CHECK: ; fixup A - offset: 0, value: .Ltmp1-2, kind: fixup_13_pcrel
20 ; CHECK: rjmp foo ; encoding: [A,0b1100AAAA]
21 ; CHECK: ; fixup A - offset: 0, value: foo, kind: fixup_13_pcrel
22 ; CHECK: rjmp .Ltmp2+8 ; encoding: [A,0b1100AAAA]
23 ; CHECK: ; fixup A - offset: 0, value: .Ltmp2+8, kind: fixup_13_pcrel
24 ; CHECK: rjmp end ; encoding: [A,0b1100AAAA]
25 ; CHECK: ; fixup A - offset: 0, value: end, kind: fixup_13_pcrel
26 ; CHECK: rjmp .Ltmp3+0 ; encoding: [A,0b1100AAAA]
27 ; CHECK: ; fixup A - offset: 0, value: .Ltmp3+0, kind: fixup_13_pcrel
28 ; CHECK: rjmp .Ltmp4-4 ; encoding: [A,0b1100AAAA]
29 ; CHECK: ; fixup A - offset: 0, value: .Ltmp4-4, kind: fixup_13_pcrel
30 ; CHECK: rjmp .Ltmp5-6 ; encoding: [A,0b1100AAAA]
31 ; CHECK: ; fixup A - offset: 0, value: .Ltmp5-6, kind: fixup_13_pcrel