From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ACDF53857C5E; Fri, 29 Jan 2021 14:49:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACDF53857C5E From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98891] New: [11 regression] Neon logical operations not vectorized in DImode since g:cdfc0e863a03698a80c74896cbdc9f5c8c652e64 Date: Fri, 29 Jan 2021 14:49:34 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org 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 bug_severity priority component assigned_to reporter target_milestone 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: Fri, 29 Jan 2021 14:49:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98891 Bug ID: 98891 Summary: [11 regression] Neon logical operations not vectorized in DImode since g:cdfc0e863a03698a80c74896cbdc9f5c8c652e64 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Since g:cdfc0e863a03698a80c74896cbdc9f5c8c652e64 (r10-2761), I have noticed that vorr/vorn is no longer vectorized in DImode. I am compiling a modified version of gcc/testsuite/gcc.target/arm/neon-vorns64.c with -mfloat-abi=3Dhard -mcpu=3Dcortex-a9 -mfpu=3Dauto -O3: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D #include "arm_neon.h" #include int64x1_t out_int64x1_t =3D 0; int64x1_t arg0_int64x1_t =3D (int64x1_t)0xdeadbeef00000000LL; int64x1_t arg1_int64x1_t =3D (int64x1_t)(~0xdead00000000beefLL); int main (void) { out_int64x1_t =3D vorn_s64 (arg0_int64x1_t, arg1_int64x1_t); if (out_int64x1_t !=3D (int64x1_t)0xdeadbeef0000beefLL) abort(); return 0; } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Before that commit I get: vldr.64 d17, [r3] @ int ... vldr.64 d16, [r3, #8] @ int vorn d16, d16, d17 ... After that commit: ldr lr, [r3] ldr r4, [r3, #8] ldr ip, [r3, #4] ldr r6, [r3, #12] mvn r3, lr orr r0, r4, r3 ... mvn r3, ip orr r1, r6, r3 ... Recent trunk has: ldrd r2, [r1] ldrd r0, [r1, #8] mvn r2, r2 mvn r3, r3 orr r2, r2, r0 ... orr r3, r3, r1=