From dcbf228e4a1818f4733ffcadd323be5eaf5e520a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 2 May 2020 12:09:04 +0200 Subject: [PATCH] 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 explicitly, just the preparation stmts don't, and as it creates a I124MODE lowpart subreg of a word mode register, seems obviously correct. 2020-05-02 Jakub Jelinek * config/tilegx/tilegx.md (insn_stnt_add): Use rather than just . --- gcc/ChangeLog | 6 ++++++ gcc/config/tilegx/tilegx.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb776ba5a0e..5f35d5b3798 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-05-02 Jakub Jelinek + + * config/tilegx/tilegx.md + (insn_stnt_add): Use + rather than just . + 2020-05-01 H.J. Lu PR target/93492 diff --git a/gcc/config/tilegx/tilegx.md b/gcc/config/tilegx/tilegx.md index deff5d456ca..94be6b5de3c 100644 --- a/gcc/config/tilegx/tilegx.md +++ b/gcc/config/tilegx/tilegx.md @@ -4110,7 +4110,7 @@ operands[1] = simplify_gen_subreg (mode, operands[1], DImode, BYTES_BIG_ENDIAN - ? UNITS_PER_WORD - : 0); + ? UNITS_PER_WORD - : 0); }) (define_insn "*insn_stnt_add" -- 2.30.2