Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mips][ias] Range check uimmz operands.
Reviewers: vkalintiris Subscribers: dsanders, atanasyan, llvm-commits Differential Revision: http://reviews.llvm.org/D14013 llvm-svn: 252294
- Loading branch information
1 parent
b04672c
commit 52da7af
Showing
4 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Instructions that are invalid | ||
# | ||
# RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32r2 -mattr=+msa \ | ||
# RUN: -show-encoding 2>%t1 | ||
# RUN: FileCheck %s < %t1 | ||
|
||
.set noat | ||
insve.b $w25[3], $w9[1] # CHECK: :[[@LINE]]:26: error: expected '0' | ||
insve.h $w24[2], $w2[1] # CHECK: :[[@LINE]]:26: error: expected '0' | ||
insve.w $w0[2], $w13[1] # CHECK: :[[@LINE]]:26: error: expected '0' | ||
insve.d $w3[0], $w18[1] # CHECK: :[[@LINE]]:26: error: expected '0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Instructions that are invalid | ||
# | ||
# RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32r2 -mattr=+msa \ | ||
# RUN: -show-encoding 2>%t1 | ||
# RUN: FileCheck %s < %t1 | ||
|
||
.set noat | ||
insve.b $w25[3], $w9[1] # CHECK: :[[@LINE]]:26: error: expected '0' | ||
insve.h $w24[2], $w2[1] # CHECK: :[[@LINE]]:26: error: expected '0' | ||
insve.w $w0[2], $w13[1] # CHECK: :[[@LINE]]:26: error: expected '0' | ||
insve.d $w3[0], $w18[1] # CHECK: :[[@LINE]]:26: error: expected '0' |