forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mips] Split mem_msa into range checked mem_simm10 and mem_simm10_lsl…
…[123] Summary: Also, made test_mi10.s formatting consistent with the majority of the MC tests. Reviewers: vkalintiris Subscribers: dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D18435 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265014 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
9daabae
commit 2693fe3
Showing
7 changed files
with
138 additions
and
115 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
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
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 |
---|---|---|
@@ -1,55 +1,28 @@ | ||
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s | ||
# | ||
# CHECK: ld.b $w0, -512($1) # encoding: [0x7a,0x00,0x08,0x20] | ||
# CHECK: ld.b $w1, 0($2) # encoding: [0x78,0x00,0x10,0x60] | ||
# CHECK: ld.b $w2, 511($3) # encoding: [0x79,0xff,0x18,0xa0] | ||
ld.b $w0, -512($1) # CHECK: ld.b $w0, -512($1) # encoding: [0x7a,0x00,0x08,0x20] | ||
ld.b $w1, 0($2) # CHECK: ld.b $w1, 0($2) # encoding: [0x78,0x00,0x10,0x60] | ||
ld.b $w2, 511($3) # CHECK: ld.b $w2, 511($3) # encoding: [0x79,0xff,0x18,0xa0] | ||
|
||
# CHECK: ld.h $w3, -1024($4) # encoding: [0x7a,0x00,0x20,0xe1] | ||
# CHECK: ld.h $w4, -512($5) # encoding: [0x7b,0x00,0x29,0x21] | ||
# CHECK: ld.h $w5, 0($6) # encoding: [0x78,0x00,0x31,0x61] | ||
# CHECK: ld.h $w6, 512($7) # encoding: [0x79,0x00,0x39,0xa1] | ||
# CHECK: ld.h $w7, 1022($8) # encoding: [0x79,0xff,0x41,0xe1] | ||
ld.h $w3, -1024($4) # CHECK: ld.h $w3, -1024($4) # encoding: [0x7a,0x00,0x20,0xe1] | ||
ld.h $w4, -512($5) # CHECK: ld.h $w4, -512($5) # encoding: [0x7b,0x00,0x29,0x21] | ||
ld.h $w5, 0($6) # CHECK: ld.h $w5, 0($6) # encoding: [0x78,0x00,0x31,0x61] | ||
ld.h $w6, 512($7) # CHECK: ld.h $w6, 512($7) # encoding: [0x79,0x00,0x39,0xa1] | ||
ld.h $w7, 1022($8) # CHECK: ld.h $w7, 1022($8) # encoding: [0x79,0xff,0x41,0xe1] | ||
|
||
# CHECK: ld.w $w8, -2048($9) # encoding: [0x7a,0x00,0x4a,0x22] | ||
# CHECK: ld.w $w9, -1024($10) # encoding: [0x7b,0x00,0x52,0x62] | ||
# CHECK: ld.w $w10, -512($11) # encoding: [0x7b,0x80,0x5a,0xa2] | ||
# CHECK: ld.w $w11, 512($12) # encoding: [0x78,0x80,0x62,0xe2] | ||
# CHECK: ld.w $w12, 1024($13) # encoding: [0x79,0x00,0x6b,0x22] | ||
# CHECK: ld.w $w13, 2044($14) # encoding: [0x79,0xff,0x73,0x62] | ||
ld.w $w8, -2048($9) # CHECK: ld.w $w8, -2048($9) # encoding: [0x7a,0x00,0x4a,0x22] | ||
ld.w $w9, -1024($10) # CHECK: ld.w $w9, -1024($10) # encoding: [0x7b,0x00,0x52,0x62] | ||
ld.w $w10, -512($11) # CHECK: ld.w $w10, -512($11) # encoding: [0x7b,0x80,0x5a,0xa2] | ||
ld.w $w11, 512($12) # CHECK: ld.w $w11, 512($12) # encoding: [0x78,0x80,0x62,0xe2] | ||
ld.w $w12, 1024($13) # CHECK: ld.w $w12, 1024($13) # encoding: [0x79,0x00,0x6b,0x22] | ||
ld.w $w13, 2044($14) # CHECK: ld.w $w13, 2044($14) # encoding: [0x79,0xff,0x73,0x62] | ||
|
||
# CHECK: ld.d $w14, -4096($15) # encoding: [0x7a,0x00,0x7b,0xa3] | ||
# CHECK: ld.d $w15, -2048($16) # encoding: [0x7b,0x00,0x83,0xe3] | ||
# CHECK: ld.d $w16, -1024($17) # encoding: [0x7b,0x80,0x8c,0x23] | ||
# CHECK: ld.d $w17, -512($18) # encoding: [0x7b,0xc0,0x94,0x63] | ||
# CHECK: ld.d $w18, 0($19) # encoding: [0x78,0x00,0x9c,0xa3] | ||
# CHECK: ld.d $w19, 512($20) # encoding: [0x78,0x40,0xa4,0xe3] | ||
# CHECK: ld.d $w20, 1024($21) # encoding: [0x78,0x80,0xad,0x23] | ||
# CHECK: ld.d $w21, 2048($22) # encoding: [0x79,0x00,0xb5,0x63] | ||
# CHECK: ld.d $w22, 4088($23) # encoding: [0x79,0xff,0xbd,0xa3] | ||
|
||
ld.b $w0, -512($1) | ||
ld.b $w1, 0($2) | ||
ld.b $w2, 511($3) | ||
|
||
ld.h $w3, -1024($4) | ||
ld.h $w4, -512($5) | ||
ld.h $w5, 0($6) | ||
ld.h $w6, 512($7) | ||
ld.h $w7, 1022($8) | ||
|
||
ld.w $w8, -2048($9) | ||
ld.w $w9, -1024($10) | ||
ld.w $w10, -512($11) | ||
ld.w $w11, 512($12) | ||
ld.w $w12, 1024($13) | ||
ld.w $w13, 2044($14) | ||
|
||
ld.d $w14, -4096($15) | ||
ld.d $w15, -2048($16) | ||
ld.d $w16, -1024($17) | ||
ld.d $w17, -512($18) | ||
ld.d $w18, 0($19) | ||
ld.d $w19, 512($20) | ||
ld.d $w20, 1024($21) | ||
ld.d $w21, 2048($22) | ||
ld.d $w22, 4088($23) | ||
ld.d $w14, -4096($15) # CHECK: ld.d $w14, -4096($15) # encoding: [0x7a,0x00,0x7b,0xa3] | ||
ld.d $w15, -2048($16) # CHECK: ld.d $w15, -2048($16) # encoding: [0x7b,0x00,0x83,0xe3] | ||
ld.d $w16, -1024($17) # CHECK: ld.d $w16, -1024($17) # encoding: [0x7b,0x80,0x8c,0x23] | ||
ld.d $w17, -512($18) # CHECK: ld.d $w17, -512($18) # encoding: [0x7b,0xc0,0x94,0x63] | ||
ld.d $w18, 0($19) # CHECK: ld.d $w18, 0($19) # encoding: [0x78,0x00,0x9c,0xa3] | ||
ld.d $w19, 512($20) # CHECK: ld.d $w19, 512($20) # encoding: [0x78,0x40,0xa4,0xe3] | ||
ld.d $w20, 1024($21) # CHECK: ld.d $w20, 1024($21) # encoding: [0x78,0x80,0xad,0x23] | ||
ld.d $w21, 2048($22) # CHECK: ld.d $w21, 2048($22) # encoding: [0x79,0x00,0xb5,0x63] | ||
ld.d $w22, 4088($23) # CHECK: ld.d $w22, 4088($23) # encoding: [0x79,0xff,0xbd,0xa3] |