diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-05-02 12:09:04 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-05-02 12:09:04 +0200 |
commit | dcbf228e4a1818f4733ffcadd323be5eaf5e520a (patch) | |
tree | d422bbd05dc620bb3e44950d18eba51cbad56e44 /gcc | |
parent | 6607bdd99994c834f92fce924abdaea3405f62dc (diff) | |
download | gcc-dcbf228e4a1818f4733ffcadd323be5eaf5e520a.zip gcc-dcbf228e4a1818f4733ffcadd323be5eaf5e520a.tar.gz gcc-dcbf228e4a1818f4733ffcadd323be5eaf5e520a.tar.bz2 |
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>.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/tilegx/tilegx.md | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb776ba..5f35d5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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>. + 2020-05-01 H.J. Lu <hongjiu.lu@intel.com> PR target/93492 diff --git a/gcc/config/tilegx/tilegx.md b/gcc/config/tilegx/tilegx.md index deff5d4..94be6b5 100644 --- a/gcc/config/tilegx/tilegx.md +++ b/gcc/config/tilegx/tilegx.md @@ -4110,7 +4110,7 @@ operands[1] = simplify_gen_subreg (<I124MODE:MODE>mode, operands[1], DImode, BYTES_BIG_ENDIAN - ? UNITS_PER_WORD - <n> : 0); + ? UNITS_PER_WORD - <I124MODE:n> : 0); }) (define_insn "*insn_stnt<I124MODE:n>_add<I48MODE:bitsuffix>" |