aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-06-07 09:18:28 +0200
committerJan Beulich <jbeulich@suse.com>2022-06-07 09:18:28 +0200
commit6bb0776e104b5ca5a7bed9f333a9690174b4d00b (patch)
treefc12471e526f493e6c92ad2fc493795284c27298 /gcc/expr.cc
parent76e3d60c16dc5ea31d2e83aff9735d53a0a275d1 (diff)
downloadgcc-6bb0776e104b5ca5a7bed9f333a9690174b4d00b.zip
gcc-6bb0776e104b5ca5a7bed9f333a9690174b4d00b.tar.gz
gcc-6bb0776e104b5ca5a7bed9f333a9690174b4d00b.tar.bz2
x86: harmonize __builtin_ia32_psadbw*() types
The 64-bit, 128-bit, and 512-bit variants have V<n>DI return type, in line with instruction behavior. Make the 256-bit builtin match, thus also making it match the insn it expands to (using VI8_AVX2_AVX512BW). gcc/ * config/i386/i386-builtin.def (__builtin_ia32_psadbw256): Change type. * config/i386/i386-builtin-types.def: New function type (V4DI, V32QI, V32QI). * config/i386/i386-expand.cc (ix86_expand_args_builtin): Handle V4DI_FTYPE_V32QI_V32QI.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions