Skip to content

Commit ec3f09f

Browse files
committed
[lldb] [lit] Remove unnecessary array use in XMM reading test
Remove the use of 2-element array for XMM data. It is an accidental leftover from previous implementation attempt, and it is unnecessary with xmm_t. Differential Revision: https://reviews.llvm.org/D61085 llvm-svn: 359208
1 parent b685ddf commit ec3f09f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lldb/lit/Register/Inputs/x86-mm-xmm-read.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ int main() {
1414
uint64_t mm6 = 0x6162636465666768;
1515
uint64_t mm7 = 0x7172737475767778;
1616

17-
xmm_t xmm0[2] = { 0x020406080A0C0E01, 0x030507090B0D0F00 };
18-
xmm_t xmm1[2] = { 0x121416181A1C1E11, 0x131517191B1D1F10 };
19-
xmm_t xmm2[2] = { 0x222426282A2C2E21, 0x232527292B2D2F20 };
20-
xmm_t xmm3[2] = { 0x323436383A3C3E31, 0x333537393B3D3F30 };
21-
xmm_t xmm4[2] = { 0x424446484A4C4E41, 0x434547494B4D4F40 };
22-
xmm_t xmm5[2] = { 0x525456585A5C5E51, 0x535557595B5D5F50 };
23-
xmm_t xmm6[2] = { 0x626466686A6C6E61, 0x636567696B6D6F60 };
24-
xmm_t xmm7[2] = { 0x727476787A7C7E71, 0x737577797B7D7F70 };
17+
xmm_t xmm0 = { 0x020406080A0C0E01, 0x030507090B0D0F00 };
18+
xmm_t xmm1 = { 0x121416181A1C1E11, 0x131517191B1D1F10 };
19+
xmm_t xmm2 = { 0x222426282A2C2E21, 0x232527292B2D2F20 };
20+
xmm_t xmm3 = { 0x323436383A3C3E31, 0x333537393B3D3F30 };
21+
xmm_t xmm4 = { 0x424446484A4C4E41, 0x434547494B4D4F40 };
22+
xmm_t xmm5 = { 0x525456585A5C5E51, 0x535557595B5D5F50 };
23+
xmm_t xmm6 = { 0x626466686A6C6E61, 0x636567696B6D6F60 };
24+
xmm_t xmm7 = { 0x727476787A7C7E71, 0x737577797B7D7F70 };
2525

2626
asm volatile(
2727
"movq %0, %%mm0\n\t"

0 commit comments

Comments
 (0)