Files
clang-p2996/llvm/test/CodeGen/Mips
Stefan Maksimovic b794c0a5ca [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
2017-06-23 09:09:31 +00:00
..
2017-06-23 09:09:31 +00:00
2017-06-06 15:33:01 +00:00
2017-03-09 11:19:48 +00:00
2016-10-19 16:58:59 +00:00
2017-03-09 11:19:48 +00:00