diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-11-30 11:29:58 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-11-30 11:29:58 +0100 |
commit | 89b1427f8693699d64050cc4daf5626f6b96b96a (patch) | |
tree | 6eb12921ec5d8b6fd580bf01c82cbdc59ac2966c /gcc/varasm.c | |
parent | 7c080ade9d8198958a1a37854d5cc56f7b76b9f4 (diff) | |
download | gcc-89b1427f8693699d64050cc4daf5626f6b96b96a.zip gcc-89b1427f8693699d64050cc4daf5626f6b96b96a.tar.gz gcc-89b1427f8693699d64050cc4daf5626f6b96b96a.tar.bz2 |
re PR target/83210 (__builtin_mul_overflow() generates suboptimal code when exactly one argument is the constant 2)
PR target/83210
* internal-fn.c (expand_mul_overflow): Optimize unsigned
multiplication by power of 2 constant into two shifts + comparison.
* gcc.target/i386/pr83210.c: New test.
From-SVN: r255269
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions