Mercurial > hg > CbC > CbC_llvm
view test/MC/ARM/thumb-not-mclass.s @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | |
children | 803732b1fca8 |
line wrap: on
line source
@ RUN: not llvm-mc -triple=thumbv7m-apple-darwin -show-encoding < %s 2> %t @ RUN: FileCheck < %t %s @ RUN: not llvm-mc -triple=thumbv6m -show-encoding < %s 2> %t @ RUN: FileCheck < %t %s .syntax unified .globl _func @ Check that the assembler rejects thumb instructions that are not valid @ on mclass. @------------------------------------------------------------------------------ @ BLX (immediate) @------------------------------------------------------------------------------ blx _baz @ CHECK: error: instruction requires: !armv*m @------------------------------------------------------------------------------ @ SETEND @------------------------------------------------------------------------------ setend be setend le @ CHECK: error: invalid operand for instruction @ CHECK: error: invalid operand for instruction