diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2023-11-23 16:17:57 +0100 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2023-11-23 16:17:57 +0100 |
commit | b2d17bdd45b582b93e89c00b04763a45f97d7a34 (patch) | |
tree | 5f16b583527b8ce62144e2e10c90a075dee60559 /gcc/fortran/options.cc | |
parent | 2f3f8952ff1736dd6a087ddb4106077db3502bb9 (diff) | |
download | gcc-b2d17bdd45b582b93e89c00b04763a45f97d7a34.zip gcc-b2d17bdd45b582b93e89c00b04763a45f97d7a34.tar.gz gcc-b2d17bdd45b582b93e89c00b04763a45f97d7a34.tar.bz2 |
i386: Wrong code with __builtin_parityl [PR112672]
gen_parityhi2_cmp instruction clobbers its input operand, so use
a temporary register in the call to gen_parityhi2_cmp.
PR target/112672
gcc/ChangeLog:
* config/i386/i386.md (parityhi2):
Use temporary register in the call to gen_parityhi2_cmp.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr112672.c: New test.
Diffstat (limited to 'gcc/fortran/options.cc')
0 files changed, 0 insertions, 0 deletions