aboutsummaryrefslogtreecommitdiff
path: root/libsanitizer/interception/interception_linux.h
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-08-14 08:08:08 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-08-14 08:08:08 +0000
commit35d6c5913d2209eb50f48b589b29f0dce13cb9b7 (patch)
treefde3eeca0e56bb43865ee03c6cf879662733add3 /libsanitizer/interception/interception_linux.h
parent678faefcab01f9e9eeb222852675b5a042aaf900 (diff)
downloadgcc-35d6c5913d2209eb50f48b589b29f0dce13cb9b7.zip
gcc-35d6c5913d2209eb50f48b589b29f0dce13cb9b7.tar.gz
gcc-35d6c5913d2209eb50f48b589b29f0dce13cb9b7.tar.bz2
[AArch64] Don't rely on REG_EQUAL notes to combine SVE BIC
This patch generalises the SVE BIC pattern so that it doesn't rely on REG_EQUAL notes. The danger with relying on the notes is that an optimisation could for example replace the original (not ...) note with an (unspec ... UNSPEC_MERGE_PTRUE) in which the predicate is a constant. That's a legitimate change and could even be useful in some situations. The patch also makes the operand order match the SVE operand order in both the vector and predicate BIC patterns, which makes things easier for the ACLE. 2019-08-14 Richard Sandiford <richard.sandiford@arm.com> Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org> gcc/ * config/aarch64/aarch64-sve.md (bic<mode>3): Rename to... (*bic<SVE_I:mode>3): ...this. Match the form that an SVE inverse actually has, rather than relying on REG_EQUAL notes. Make the insn operand order match the SVE operand order. (*<nlogical><PRED_ALL:mode>3): Make the insn operand order match the SVE operand order. Co-Authored-By: Kugan Vivekanandarajah <kuganv@linaro.org> From-SVN: r274416
Diffstat (limited to 'libsanitizer/interception/interception_linux.h')
0 files changed, 0 insertions, 0 deletions