https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87763
--- Comment #66 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>: https://gcc.gnu.org/g:bba0c624c8b1d6e54dc58091dd21b0c2ab000434 commit r10-6485-gbba0c624c8b1d6e54dc58091dd21b0c2ab000434 Author: Richard Sandiford <richard.sandif...@arm.com> Date: Mon Feb 3 21:43:44 2020 +0000 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.sandif...@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.