| commit | 91d61df3eb6ca803a65a33f79a063fceae0c5380 | [log] [tgz] |
|---|---|---|
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Aug 10 23:25:42 2010 +0000 |
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | Tue Aug 10 23:25:42 2010 +0000 |
| tree | f702ccf83315066fb5615862f9bf20b086db2087 | |
| parent | 5f1dd0967dc191ecd7fb021a2251a2197f33e486 [diff] |
Add AVX matching patterns to Packed Bit Test intrinsics.
Apply the same approach of SSE4.1 ptest intrinsics but
create a new x86 node "testp" since AVX introduces
vtest{ps}{pd} instructions which set ZF and CF depending
on sign bit AND and ANDN of packed floating-point sources.
This is slightly different from what the "ptest" does.
Tests comming with the other 256 intrinsics tests.
llvm-svn: 110744