[X86] Use vrndscaleps/pd for 128/256 ffloor/ftrunc/fceil/fnearbyint/frint when avx512...
commit391c2f4fbfd15e1906533a123d0a2283ed673273
authorCraig Topper <craig.topper@intel.com>
Sat, 11 Nov 2017 21:44:51 +0000 (11 21:44 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 11 Nov 2017 21:44:51 +0000 (11 21:44 +0000)
treef8e61b0efc10a34754d8db415776699688428c96
parentc9e9b27409cdc12cfc6ae4f076307708065cb064
[X86] Use vrndscaleps/pd for 128/256 ffloor/ftrunc/fceil/fnearbyint/frint when avx512vl is enabled.

This matches what we do for scalar and 512-bit types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317991 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/vec_floor.ll