]> gcc.gnu.org Git - gcc.git/commit
aarch64: Expand %<w> correctly according to mode iterator
authorBin Cheng <bin.cheng@linux.alibaba.com>
Mon, 9 Aug 2021 09:21:03 +0000 (17:21 +0800)
committerBin Cheng <bin.cheng@linux.alibaba.com>
Mon, 9 Aug 2021 09:21:03 +0000 (17:21 +0800)
commita5e78ee60cd54dcceb9e7cfa42edd0c29c280f5c
treea1b166956a7d9d41d4f9f5bec8c994b0acfe62d4
parenta5e3c1e2c8dafcd2f6e4eeb2b2fa38fd40c5eda3
aarch64: Expand %<w> correctly according to mode iterator

Pattern "*extend<SHORT:mode><GPI:mode>2_aarch64" is duplicated
from the corresponding zero_extend pattern, however %<w> needs
to be expanded according to its mode iterator because the smov
instruction is different to umov.

2021-08-09  Bin Cheng  <bin.cheng@linux.alibaba.com>

gcc/
* config/aarch64/aarch64.md
(*extend<SHORT:mode><GPI:mode>2_aarch64): Use %<GPI:w>0.
gcc/config/aarch64/aarch64.md
This page took 0.056667 seconds and 5 git commands to generate.