1; RUN: llvm-mc -triple avr -mattr=jmpcall -show-encoding < %s | FileCheck %s 2; RUN: llvm-mc -filetype=obj -triple avr -mattr=jmpcall < %s | llvm-objdump -dr --mattr=jmpcall - | FileCheck -check-prefix=CHECK-INST %s 3 4 5foo: 6 7 call 4096 8 call -124 9 call -12 10 call 0 11 12; CHECK: call 4096 ; encoding: [0x0e,0x94,0x00,0x08] 13; CHECK: call -124 ; encoding: [0xff,0x95,0xc2,0xff] 14; CHECK: call -12 ; encoding: [0xff,0x95,0xfa,0xff] 15; CHECK: call 0 ; encoding: [0x0e,0x94,0x00,0x00] 16 17 18; CHECK-INST: call 4096 19; CHECK-INST: call 8388484 20; CHECK-INST: call 8388596 21; CHECK-INST: call 0 22