diff options
author | Manos Anagnostakis <manos.anagnostakis@vrull.eu> | 2023-11-21 15:06:26 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@vrull.eu> | 2024-01-30 00:27:31 +0100 |
commit | 39219ec46097f5e165654d49950da8ddcac58f3e (patch) | |
tree | fe35e14504e58556def8b4d3bcc7ec5948afe424 /gcc/tree-vect-loop-manip.cc | |
parent | 8d59b932396ee7f1e7553f3542b84b3c1fad0bc0 (diff) | |
download | gcc-39219ec46097f5e165654d49950da8ddcac58f3e.zip gcc-39219ec46097f5e165654d49950da8ddcac58f3e.tar.gz gcc-39219ec46097f5e165654d49950da8ddcac58f3e.tar.bz2 |
aarch64: fix handling of reversed mem ops in ldp/stp policy model
The current ldp/stp policy framework implementation would miss cases,
where the memory operands were reversed. To address this, the call to
the framework function is moved after the lower mem check with the
suitable parameters.
This change removes the mode of aarch64_operands_ok_for_ldpstp, which
becomes unused.
gcc/ChangeLog:
* config/aarch64/aarch64-ldpstp.md: Remove unused mode.
* config/aarch64/aarch64-protos.h (aarch64_operands_ok_for_ldpstp):
Likewise.
* config/aarch64/aarch64.cc (aarch64_operands_ok_for_ldpstp):
Call on framework moved later.
Signed-off-by: Manos Anagnostakis <manos.anagnostakis@vrull.eu>
Co-Authored-by: Manolis Tsamis <manolis.tsamis@vrull.eu>
Co-Authored-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions