diff options
author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2014-10-16 15:23:52 +0000 |
---|---|---|
committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2014-10-16 15:23:52 +0000 |
commit | 711028f718b6e7a3c666519f9d98f403eaf9c96b (patch) | |
tree | 593013ac9a7c79b19384fb7cb8c1d39694acbc96 /llvm/test/MC/Mips/mips4 | |
parent | 27f126b0064528fac915c195761a60a8ca8627bc (diff) | |
download | bcm5719-llvm-711028f718b6e7a3c666519f9d98f403eaf9c96b.tar.gz bcm5719-llvm-711028f718b6e7a3c666519f9d98f403eaf9c96b.zip |
[mips] Marked the DI/EI instruction aliases as MIPS32r2
Reviewers: dsanders
Reviewed By: dsanders
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D5751
llvm-svn: 219927
Diffstat (limited to 'llvm/test/MC/Mips/mips4')
-rw-r--r-- | llvm/test/MC/Mips/mips4/invalid-mips32r2.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/MC/Mips/mips4/invalid-mips32r2.s b/llvm/test/MC/Mips/mips4/invalid-mips32r2.s new file mode 100644 index 00000000000..3e787585744 --- /dev/null +++ b/llvm/test/MC/Mips/mips4/invalid-mips32r2.s @@ -0,0 +1,11 @@ +# Instructions that are invalid +# +# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips4 \ +# RUN: 2>%t1 +# RUN: FileCheck %s < %t1 + + .set noat + di $s8 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled + di # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled + ei $t6 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled + ei # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled |