OSDN Git Service

[llvm-mca] Add tests for instructions that implicitly clear the upper portion of...
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Thu, 14 Jun 2018 17:48:42 +0000 (17:48 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Thu, 14 Jun 2018 17:48:42 +0000 (17:48 +0000)
commit8fc6007820fb791c38f7cf64dec5e39d77bcfc89
tree6e56998b73c8d922a8d65fe0490e86067114abae
parent64bb270506ea371f015a7da370518a9512dc10ba
[llvm-mca] Add tests for instructions that implicitly clear the upper portion of a super-register.

On x86-64, a write to register EAX implicitly clears the upper half or RAX.
128-bit AVX instructions clear the upper 128-bit of the YMM register that
aliases the XMM definition register.

llvm-mca doesn't know about register writes that implicitly clear the upper
portion of an aliasing super-register. This issue will be fixed in a future patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334742 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-mca/X86/BtVer2/clear-super-register-1.s [new file with mode: 0644]
test/tools/llvm-mca/X86/BtVer2/clear-super-register-2.s [new file with mode: 0644]