brintos

brintos / llvm-project-archived public Read only

0
0
Text · 685 B · bf73188 Raw
26 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  brbc 3, .+87  brbc 0, .-168  .short 0xf7599  .short 0xf75210  .short 0xf74c11  .short 0xf4c712 13; CHECK: brvc .Ltmp0+8+2   ; encoding: [0bAAAAA011,0b111101AA]14;15; CHECK: brcc .Ltmp1-16+2  ; encoding: [0bAAAAA000,0b111101AA]16 17; INST-LABEL: <foo>:18; INST-NEXT: fb f7   brvc .-219; INST-NEXT: R_AVR_7_PCREL .text+0xa20; INST-NEXT: f8 f7   brsh .-221; INST-NEXT: R_AVR_7_PCREL .text-0xc22; INST-NEXT: 59 f7   brne .-4223; INST-NEXT: 52 f7   brpl .-4424; INST-NEXT: 4c f7   brge .-4625; INST-NEXT: c7 f4   brid .+4826