aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorHongyu Wang <hongyu.wang@intel.com>2023-12-11 19:30:42 +0800
committerHongyu Wang <hongyu.wang@intel.com>2023-12-12 10:50:27 +0800
commit07dcb39e08aa52f166e8d74420364757002ad756 (patch)
tree7d0d0227accb47f32699fc6222b41c2a96607243 /gcc/fortran
parent2900a77fe4e7d2211a785d427794544fe3d01960 (diff)
downloadgcc-07dcb39e08aa52f166e8d74420364757002ad756.zip
gcc-07dcb39e08aa52f166e8d74420364757002ad756.tar.gz
gcc-07dcb39e08aa52f166e8d74420364757002ad756.tar.bz2
i386: Fix missed APX_NDD check for shift/rotate expanders [PR 112943]
The ashl/lshr/ashr expanders calls ix86_expand_binary_operator, while they will be called for some post-reload split, and TARGET_APX_NDD is required for these calls to avoid force-load to memory at postreload stage. gcc/ChangeLog: PR target/112943 * config/i386/i386.md (ashl<mode>3): Add TARGET_APX_NDD to ix86_expand_binary_operator call. (<insn><mode>3): Likewise for rshift. (<insn>di3): Likewise for DImode rotate. (<insn><mode>3): Likewise for SWI124 rotate. gcc/testsuite/ChangeLog: PR target/112943 * gcc.target/i386/pr112943.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions