brintos

brintos / llvm-project-archived public Read only

0
0
Text · 657 B · 58e57c4 Raw
25 lines · plain
1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s2;3; RUN: llvm-mc -filetype=obj -triple avr < %s \4; RUN:     | llvm-objdump -dr - \5; RUN:     | FileCheck --check-prefix=INST %s6 7foo:8  brlt .+169  brlt .+210  brlt bar11 12bar:13 14; CHECK: brlt .Ltmp0+16+2  ; encoding: [0bAAAAA100,0b111100AA]15; CHECK: brlt .Ltmp1+2+2   ; encoding: [0bAAAAA100,0b111100AA]16; CHECK: brlt bar            ; encoding: [0bAAAAA100,0b111100AA]17 18; INST-LABEL: <foo>:19; INST-NEXT: fc f3    brlt .-220; INST-NEXT: R_AVR_7_PCREL .text+0x1221; INST-NEXT: fc f3    brlt .-222; INST-NEXT: R_AVR_7_PCREL .text+0x623; INST-NEXT: fc f3    brlt .-224; INST-NEXT: R_AVR_7_PCREL .text+0x625