brintos

brintos / llvm-project-archived public Read only

0
0
Text · 664 B · 9049e24 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  brpl .-129  brpl .+1810  brpl bar11 12bar:13 14; CHECK: brpl .Ltmp0-12+2  ; encoding: [0bAAAAA010,0b111101AA]15; CHECK: brpl .Ltmp1+18+2  ; encoding: [0bAAAAA010,0b111101AA]16; CHECK: brpl bar            ; encoding: [0bAAAAA010,0b111101AA]17 18; INST-LABEL: <foo>:19; INST-NEXT: fa f7      brpl .-220; INST-NEXT: R_AVR_7_PCREL .text-0xa21; INST-NEXT: fa f7      brpl .-222; INST-NEXT: R_AVR_7_PCREL .text+0x1623; INST-NEXT: fa f7      brpl .-224; INST-NEXT: R_AVR_7_PCREL .text+0x625