diff options
author | Haochen Gui <guihaoc@gcc.gnu.org> | 2021-07-23 09:47:23 +0800 |
---|---|---|
committer | Haochen Gui <guihaoc@gcc.gnu.org> | 2021-07-23 10:00:35 +0800 |
commit | 3382846558e02044598556e66e5ea1cb3115429d (patch) | |
tree | b02a5aa98fb721d01a595ede47198cfd2645b2d6 /gcc | |
parent | 01ac2f08b0105a1c85425d0e59216eb528c6d2ab (diff) | |
download | gcc-3382846558e02044598556e66e5ea1cb3115429d.zip gcc-3382846558e02044598556e66e5ea1cb3115429d.tar.gz gcc-3382846558e02044598556e66e5ea1cb3115429d.tar.bz2 |
Fix execution failure of parity_1.f90 on P10 [PR100952]
gcc/
PR target/100952
* config/rs6000/rs6000.md (cstore<mode>4): Fix wrong fall through.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 2368153..a84438f 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -11831,7 +11831,10 @@ { /* Everything is best done with setbc[r] if available. */ if (TARGET_POWER10 && TARGET_ISEL) - rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, const0_rtx); + { + rs6000_emit_int_cmove (operands[0], operands[1], const1_rtx, const0_rtx); + DONE; + } /* Expanding EQ and NE directly to some machine instructions does not help but does hurt combine. So don't. */ |