aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2021-11-03 16:07:34 +0800
committerliuhongt <hongtao.liu@intel.com>2021-11-04 16:09:46 +0800
commit22ce7382fccc15ce2355306b3f5be7afc00f81f4 (patch)
tree2c9cb87e1e26c43786f6c760a1ffc64501c3692f /gcc/tree-vect-loop.c
parentd0d428c4ce425c470120a46427d5964f0bd09f89 (diff)
downloadgcc-22ce7382fccc15ce2355306b3f5be7afc00f81f4.zip
gcc-22ce7382fccc15ce2355306b3f5be7afc00f81f4.tar.gz
gcc-22ce7382fccc15ce2355306b3f5be7afc00f81f4.tar.bz2
Simplify (trunc)copysign((extend)a, (extend)b) to .COPYSIGN (a,b).
a and b are same type as the truncation type and has less precision than extend type. gcc/ChangeLog: PR target/102464 * match.pd: simplify (trunc)copysign((extend)a, (extend)b) to .COPYSIGN (a,b) when a and b are same type as the truncation type and has less precision than extend type. gcc/testsuite/ChangeLog: * gcc.target/i386/pr102464-copysign-1.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions