From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D1BBA3858D28; Mon, 14 Mar 2022 22:33:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1BBA3858D28 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/104923] MMA __builtin_mma_disassemble_acc test case ICEs in LRA Date: Mon, 14 Mar 2022 22:33:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cf_known_to_fail cf_known_to_work bug_status everconfirmed cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2022 22:33:33 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104923 Peter Bergner changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot = gnu.org Known to fail| |11.0, 12.0 Known to work| |10.0 Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Last reconfirmed| |2022-03-14 --- Comment #1 from Peter Bergner --- We ICE due to having illegal addresses in the MEM passed to the __builtin_mma_disassemble_acc builtin: (insn 18 17 0 2 (set (mem:V16QI (plus:DI (and:DI (mult:DI (reg:DI 137) (const_int 32 [0x20])) (const_int 68719476704 [0xfffffffe0])) (reg:DI 136)) [0 *_4+0 S16 A128]) (unspec:V16QI [ (reg:XO 134 [ *acc_6(D) ]) (const_int 3 [0x3]) ] UNSPEC_MMA_EXTRACT)) "ice1.c":6:14 2153 {*mma_disassemble_acc} (expr_list:REG_DEAD (reg:DI 137) (expr_list:REG_DEAD (reg:DI 136) (expr_list:REG_DEAD (reg:XO 134 [ *acc_6(D) ]) (nil))))) The problem here is that the mma_disassemble_output_operand predicate is too lenient on the types of addresses it will accept. I have a patch which restricts the addresses accepted which fixes the ICE. I'm currently regres= sion testing the patch.=