diff options
author | Asaf Badouh <asaf.badouh@intel.com> | 2015-12-28 08:26:26 +0000 |
---|---|---|
committer | Asaf Badouh <asaf.badouh@intel.com> | 2015-12-28 08:26:26 +0000 |
commit | fba562004bf8a3c383453791bccbac3aaef7bcf0 (patch) | |
tree | a5369a0e928ac6e6b6379b63b2179ae99e3320a9 /clang/lib | |
parent | 5546f51011f0c271ef984d25ceb80c343d976f45 (diff) | |
download | bcm5719-llvm-fba562004bf8a3c383453791bccbac3aaef7bcf0.tar.gz bcm5719-llvm-fba562004bf8a3c383453791bccbac3aaef7bcf0.zip |
[X86][AVX512] Lower broadcast sub vector to vector inrtrinsics
lower broadcast<type>x<vector> to shuffles.
there are two cases:
1.src is 128 bits and dest is 512 bits: in this case we will lower it to shuffle with imm = 0.
2.src is 256 bit and dest is 512 bits: in this case we will lower it to shuffle with imm = 01000100b (0x44) that way we will broadcast the 256bit source: ymm[0,1,2,3] => zmm[0,1,2,3,0,1,2,3] then it will mask it with the passthru value (in case it's mask op).
Differential Revision: http://reviews.llvm.org/D15790
llvm-svn: 256490
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions