diff options
author | Stefan Maksimovic <stefan.maksimovic@imgtec.com> | 2017-06-23 09:09:31 +0000 |
---|---|---|
committer | Stefan Maksimovic <stefan.maksimovic@imgtec.com> | 2017-06-23 09:09:31 +0000 |
commit | b794c0a5ca23d5e225143e0ba9f8a3e6ca61d46e (patch) | |
tree | 0c93afbd24a1fe61413a2a0ed9e3a9842a6e92fa /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | 575b25f2c0a5c38edd373262f0ab52d6afd3bfd9 (diff) | |
download | bcm5719-llvm-b794c0a5ca23d5e225143e0ba9f8a3e6ca61d46e.tar.gz bcm5719-llvm-b794c0a5ca23d5e225143e0ba9f8a3e6ca61d46e.zip |
[mips][msa] Splat.d endianness check
Before this change, it was always the first element of a vector that got splatted since the lower 6 bits of vshf.d $wd were always zero for little endian.
Additionally, masking has been performed for vshf via which splat.d is created.
Vshf has a property where if its first operand's elements have either bit 6 or 7 set, destination element is set to zero.
Initially masked with 63 to avoid this property, which would result in generation of and.v + vshf.d in all cases.
Masking with one results in generating a single splati.d instruction when possible.
Differential Revision: https://reviews.llvm.org/D32216
llvm-svn: 306090
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions