• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN:     llvm-mc -triple   armv8a-none-eabi -show-encoding %s      | FileCheck %s --check-prefix=ARM
2@ RUN:     llvm-mc -triple thumbv8a-none-eabi -show-encoding %s      | FileCheck %s --check-prefix=THUMB
3@ RUN: not llvm-mc -triple thumbv6m-none-eabi -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR
4
5  csdb
6@ ARM:   csdb   @ encoding: [0x14,0xf0,0x20,0xe3]
7@ THUMB: csdb   @ encoding: [0xaf,0xf3,0x14,0x80]
8@ ERROR: error: instruction requires: thumb2
9