62 lines · plain
1# RUN: llvm-mc -disassemble -triple thumbv7 -mcpu=cortex-a15 %s | FileCheck %s --check-prefix=CHECK-THUMB2# RUN: not llvm-mc -disassemble -triple thumbv7 -mcpu=cortex-a9 %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOVIRT3 4[0xe0,0xf7,0x01,0x80]5[0xe0,0xf7,0x07,0x80]6[0xe0,0xf7,0x01,0x81]7[0xef,0xf7,0xff,0x8f]8# CHECK-THUMB: hvc.w #19# CHECK-THUMB: hvc.w #710# CHECK-THUMB: hvc.w #25711# CHECK-THUMB: hvc.w #6553512# CHECK-NOVIRT: warning: invalid instruction encoding13# CHECK-NOVIRT: warning: invalid instruction encoding14# CHECK-NOVIRT: warning: invalid instruction encoding15# CHECK-NOVIRT: warning: invalid instruction encoding16 17[0xde,0xf3,0x00,0x8f]18[0x08,0xbf] [0xde,0xf3,0x00,0x8f]19[0x18,0xbf] [0xde,0xf3,0x00,0x8f]20[0x28,0xbf] [0xde,0xf3,0x00,0x8f]21[0x38,0xbf] [0xde,0xf3,0x00,0x8f]22[0x48,0xbf] [0xde,0xf3,0x00,0x8f]23[0x58,0xbf] [0xde,0xf3,0x00,0x8f]24[0x68,0xbf] [0xde,0xf3,0x00,0x8f]25[0x78,0xbf] [0xde,0xf3,0x00,0x8f]26[0x88,0xbf] [0xde,0xf3,0x00,0x8f]27[0x98,0xbf] [0xde,0xf3,0x00,0x8f]28[0xa8,0xbf] [0xde,0xf3,0x00,0x8f]29[0xb8,0xbf] [0xde,0xf3,0x00,0x8f]30[0xc8,0xbf] [0xde,0xf3,0x00,0x8f]31[0xd8,0xbf] [0xde,0xf3,0x00,0x8f]32# CHECK-THUMB: eret33# CHECK-THUMB: ereteq34# CHECK-THUMB: eretne35# CHECK-THUMB: ereths36# CHECK-THUMB: eretlo37# CHECK-THUMB: eretmi38# CHECK-THUMB: eretpl39# CHECK-THUMB: eretvs40# CHECK-THUMB: eretvc41# CHECK-THUMB: erethi42# CHECK-THUMB: eretls43# CHECK-THUMB: eretge44# CHECK-THUMB: eretlt45# CHECK-THUMB: eretgt46# CHECK-THUMB: eretle47# CHECK-NOVIRT: subs pc, lr, #048# CHECK-NOVIRT: subseq pc, lr, #049# CHECK-NOVIRT: subsne pc, lr, #050# CHECK-NOVIRT: subshs pc, lr, #051# CHECK-NOVIRT: subslo pc, lr, #052# CHECK-NOVIRT: subsmi pc, lr, #053# CHECK-NOVIRT: subspl pc, lr, #054# CHECK-NOVIRT: subsvs pc, lr, #055# CHECK-NOVIRT: subsvc pc, lr, #056# CHECK-NOVIRT: subshi pc, lr, #057# CHECK-NOVIRT: subsls pc, lr, #058# CHECK-NOVIRT: subsge pc, lr, #059# CHECK-NOVIRT: subslt pc, lr, #060# CHECK-NOVIRT: subsgt pc, lr, #061# CHECK-NOVIRT: subsle pc, lr, #062