10 lines
560 B
ArmAsm
10 lines
560 B
ArmAsm
@ RUN: llvm-mc -triple armv8a-none-eabi -mattr=+ras -show-encoding %s | FileCheck %s --check-prefix=ARM
|
|
@ RUN: llvm-mc -triple thumbv8a-none-eabi -mattr=+ras -show-encoding %s | FileCheck %s --check-prefix=THUMB
|
|
@ RUN: llvm-mc -triple thumbv8.1m.main-none-eabi -show-encoding %s | FileCheck %s --check-prefix=THUMB
|
|
@ RUN: not llvm-mc -triple thumbv8m-none-eabi -show-encoding %s 2>&1 | FileCheck %s --check-prefix=FAIL
|
|
|
|
esb
|
|
@ ARM: esb @ encoding: [0x10,0xf0,0x20,0xe3]
|
|
@ THUMB: esb.w @ encoding: [0xaf,0xf3,0x10,0x80]
|
|
@ FAIL: instruction requires: ras
|