[Lldb-commits] [PATCH] D61085: [lldb] [lit] Remove unnecessary array use in XMM reading test
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 24 12:58:33 PDT 2019
mgorny created this revision.
mgorny added reviewers: labath, zturner, krytarowski.
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.
https://reviews.llvm.org/D61085
Files:
lldb/lit/Register/Inputs/x86-mm-xmm-read.cpp
Index: lldb/lit/Register/Inputs/x86-mm-xmm-read.cpp
===================================================================
--- lldb/lit/Register/Inputs/x86-mm-xmm-read.cpp
+++ lldb/lit/Register/Inputs/x86-mm-xmm-read.cpp
@@ -14,14 +14,14 @@
uint64_t mm6 = 0x6162636465666768;
uint64_t mm7 = 0x7172737475767778;
- xmm_t xmm0[2] = { 0x020406080A0C0E01, 0x030507090B0D0F00 };
- xmm_t xmm1[2] = { 0x121416181A1C1E11, 0x131517191B1D1F10 };
- xmm_t xmm2[2] = { 0x222426282A2C2E21, 0x232527292B2D2F20 };
- xmm_t xmm3[2] = { 0x323436383A3C3E31, 0x333537393B3D3F30 };
- xmm_t xmm4[2] = { 0x424446484A4C4E41, 0x434547494B4D4F40 };
- xmm_t xmm5[2] = { 0x525456585A5C5E51, 0x535557595B5D5F50 };
- xmm_t xmm6[2] = { 0x626466686A6C6E61, 0x636567696B6D6F60 };
- xmm_t xmm7[2] = { 0x727476787A7C7E71, 0x737577797B7D7F70 };
+ xmm_t xmm0 = { 0x020406080A0C0E01, 0x030507090B0D0F00 };
+ xmm_t xmm1 = { 0x121416181A1C1E11, 0x131517191B1D1F10 };
+ xmm_t xmm2 = { 0x222426282A2C2E21, 0x232527292B2D2F20 };
+ xmm_t xmm3 = { 0x323436383A3C3E31, 0x333537393B3D3F30 };
+ xmm_t xmm4 = { 0x424446484A4C4E41, 0x434547494B4D4F40 };
+ xmm_t xmm5 = { 0x525456585A5C5E51, 0x535557595B5D5F50 };
+ xmm_t xmm6 = { 0x626466686A6C6E61, 0x636567696B6D6F60 };
+ xmm_t xmm7 = { 0x727476787A7C7E71, 0x737577797B7D7F70 };
asm volatile(
"movq %0, %%mm0\n\t"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61085.196500.patch
Type: text/x-patch
Size: 1348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190424/16bec068/attachment.bin>
More information about the lldb-commits
mailing list