blob: fdfda6df838fa0d9b9f1f0afd455439a894bcd91 [file] [log] [blame]
Chandler Carruth5da53432012-07-02 18:37:59 +00001# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 2>&1 | FileCheck %s
Johnny Chen9da60e02011-04-05 22:18:07 +00002
3# Opcode=261 Name=RSCrs Format=ARM_FORMAT_DPSOREGFRM(5)
Owen Anderson92b942b2011-08-09 23:33:27 +00004# 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Johnny Chen9da60e02011-04-05 22:18:07 +00005# -------------------------------------------------------------------------------------------------
6# | 0: 0: 1: 1| 0: 0: 0: 0| 1: 1: 1: 0| 0: 1: 0: 0| 1: 1: 1: 1| 1: 0: 0: 0| 0: 1: 0: 1| 1: 1: 1: 1|
7# -------------------------------------------------------------------------------------------------
8# if d == 15 || n == 15 || m == 15 || s == 15 then UNPREDICTABLE;
Silviu Baranga32a49332012-03-20 15:54:56 +00009
10# CHECK: warning: potentially undefined instruction encoding
Johnny Chen9da60e02011-04-05 22:18:07 +0000110x5f 0xf8 0xe4 0x30