diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2020-02-03 21:43:44 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2020-02-06 17:27:00 +0000 |
commit | bba0c624c8b1d6e54dc58091dd21b0c2ab000434 (patch) | |
tree | 8ed844c674d1357b8f72de97999951e19879f18e /gcc/tree-inline.c | |
parent | b65a1eb3fae53f2e1ea1ef8c1164f490d55855a1 (diff) | |
download | gcc-bba0c624c8b1d6e54dc58091dd21b0c2ab000434.zip gcc-bba0c624c8b1d6e54dc58091dd21b0c2ab000434.tar.gz gcc-bba0c624c8b1d6e54dc58091dd21b0c2ab000434.tar.bz2 |
aarch64: Add an and/ior-based movk pattern [PR87763]
This patch adds a second movk pattern that models the instruction
as a "normal" and/ior operation rather than an insertion. It fixes
the third insv_1.c failure in PR87763, which was a regression from
GCC 8.
2020-02-06 Richard Sandiford <richard.sandiford@arm.com>
gcc/
PR target/87763
* config/aarch64/aarch64-protos.h (aarch64_movk_shift): Declare.
* config/aarch64/aarch64.c (aarch64_movk_shift): New function.
* config/aarch64/aarch64.md (aarch64_movk<mode>): New pattern.
gcc/testsuite/
PR target/87763
* gcc.target/aarch64/movk_2.c: New test.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions