brintos

brintos / llvm-project-archived public Read only

0
0
Text · 683 B · 3e64ebc Raw
25 lines · plain
1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s2; RUN: llvm-mc -filetype=obj -triple avr < %s \3; RUN:     | llvm-objdump -dr - | FileCheck --check-prefix=INST %s4 5foo:6  brbs 3, .+87  brbs 0, .-128  .short 0xf3599  .short 0xf35210  .short 0xf34c11  .short 0xf07712 13; CHECK: brvs .Ltmp0+8+2   ; encoding: [0bAAAAA011,0b111100AA]14; CHECK: brcs .Ltmp1-12+2  ; encoding: [0bAAAAA000,0b111100AA]15 16; INST-LABEL: <foo>:17; INST-NEXT: fb f3   brvs .-218; INST-NEXT: R_AVR_7_PCREL .text+0xa19; INST-NEXT: f8 f3   brlo .-220; INST-NEXT: R_AVR_7_PCREL .text-0x821; INST-NEXT: 59 f3   breq .-4222; INST-NEXT: 52 f3   brmi .-4423; INST-NEXT: 4c f3   brlt .-4624; INST-NEXT: 77 f0   brie .+2825