brintos

brintos / llvm-project-archived public Read only

0
0
Text · 665 B · a3777b4 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  brhs .-669  brhs .+1410  brhs bar11 12bar:13 14; CHECK: brhs .Ltmp0-66+2  ; encoding: [0bAAAAA101,0b111100AA]15; CHECK: brhs .Ltmp1+14+2  ; encoding: [0bAAAAA101,0b111100AA]16; CHECK: brhs bar            ; encoding: [0bAAAAA101,0b111100AA]17 18; INST-LABEL: <foo>:19; INST-NEXT: fd f3      brhs .-220; INST-NEXT: R_AVR_7_PCREL .text-0x4021; INST-NEXT: fd f3      brhs .-222; INST-NEXT: R_AVR_7_PCREL .text+0x1223; INST-NEXT: fd f3      brhs .-224; INST-NEXT: R_AVR_7_PCREL .text+0x625