diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-12-24 12:50:21 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-12-26 05:09:22 -0800 |
commit | d87483015d476a95f521f0c9dcf6988ca889063b (patch) | |
tree | f14bea73b5701ee6a518e70956110b1a378734c5 /libatomic | |
parent | 9525c26bf19318bed72d3bc3b99dceac5217102f (diff) | |
download | gcc-d87483015d476a95f521f0c9dcf6988ca889063b.zip gcc-d87483015d476a95f521f0c9dcf6988ca889063b.tar.gz gcc-d87483015d476a95f521f0c9dcf6988ca889063b.tar.bz2 |
i386: Check AX input in any_mul_highpart peepholes
When applying peephole optimization to transform
mov imm, %reg0
mov %reg1, %AX_REG
imul %reg0
to
mov imm, %AX_REG
imul %reg1
disable peephole optimization if reg1 == AX_REG.
gcc/
PR target/103785
* config/i386/i386.md: Swap operand order in comments and check
AX input in any_mul_highpart peepholes.
gcc/testsuite/
PR target/103785
* gcc.target/i386/pr103785.c: New test.
Diffstat (limited to 'libatomic')
0 files changed, 0 insertions, 0 deletions