From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 15978385781D; Tue, 30 Mar 2021 04:25:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15978385781D From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99822] New: Assembler messages: Error: integer register expected in the extended/shifted operand register at operand 3 -- `adds x1,xzr,#2' Date: Tue, 30 Mar 2021 04:25:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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: Tue, 30 Mar 2021 04:25:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99822 Bug ID: 99822 Summary: Assembler messages: Error: integer register expected in the extended/shifted operand register at operand 3 -- `adds x1,xzr,#2' Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: assemble-failure Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu GNU as 2.35.2 fails to assemble output of gcc-11.0.1-alpha20210328 snapshot (g:499fa254ae8c9752d8c2cf3130b13ffddfd83546) generated w/ -O1 for the follo= wing testcase: int zt, bm, p5 =3D 1; void __attribute__ ((cold)) l2 (unsigned long int hz) { __int128 d9 =3D 0; unsigned long int *mg =3D hz ? &hz : (unsigned long int *) &d9; while (d9 < 1) { bm =3D bm > d9; bm =3D bm =3D=3D (d9 =3D bm || hz); hz =3D 0x197000000; d9 =3D hz * hz; while (p5 < 1) { bm =3D ((hz =3D 3) ? zt : 0) > 0x1001; if (bm !=3D 0) { __int128 *nd =3D (__int128 *) bm; *nd /=3D 3; } *mg =3D 0x1001; p5 -=3D *mg; } for (zt =3D 0; zt >=3D 0; zt +=3D 2) d9 =3D 0; d9 +=3D 2; } } % aarch64-linux-gnu-gcc-11.0.1 -O1 -w -c drr4usrh.c /tmp/ccu8CYtI.s: Assembler messages: /tmp/ccu8CYtI.s:109: Error: integer register expected in the extended/shift= ed operand register at operand 3 -- `adds x1,xzr,#2'=