]> git.ipfire.org Git - thirdparty/gcc.git/commit
tilegx: Unbreak build
authorJakub Jelinek <jakub@redhat.com>
Sat, 2 May 2020 10:09:04 +0000 (12:09 +0200)
committerJakub Jelinek <jakub@redhat.com>
Sat, 2 May 2020 10:13:05 +0000 (12:13 +0200)
commit0118d0397f94c307b76aa14abec99347a93da621
treea9ed47dd155412370efe156dcf38d745c710acb3
parentd128356d460768ca28bc34f10026c1644c219de2
tilegx: Unbreak build

../../gcc/config/tilegx/tilegx.md:4109:1: ambiguous attribute 'n'; could be '1' (via 'I124MODE:n') or '4' (via 'I48MODE:n')
../../gcc/config/tilegx/tilegx.md:4109:1: ambiguous attribute 'n'; could be '1' (via 'I124MODE:n') or '' (via 'I48MODE:n')
../../gcc/config/tilegx/tilegx.md:4109:1: ambiguous attribute 'n'; could be '2' (via 'I124MODE:n') or '4' (via 'I48MODE:n')
../../gcc/config/tilegx/tilegx.md:4109:1: ambiguous attribute 'n'; could be '2' (via 'I124MODE:n') or '' (via 'I48MODE:n')
../../gcc/config/tilegx/tilegx.md:4109:1: ambiguous attribute 'n'; could be '4' (via 'I124MODE:n') or '' (via 'I48MODE:n')

The insn name already uses <I124MODE:n> explicitly, just the preparation
stmts don't, and as it creates a I124MODE lowpart subreg of a word mode
register, <I124MODE:n> seems obviously correct.

2020-05-02  Jakub Jelinek  <jakub@redhat.com>

* config/tilegx/tilegx.md
(insn_stnt<I124MODE:n>_add<I48MODE:bitsuffix>): Use <I124MODE:n>
rather than just <n>.
gcc/ChangeLog
gcc/config/tilegx/tilegx.md