From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B319B3858D20; Fri, 8 Sep 2023 02:11:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B319B3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694139110; bh=yB9bSWOzESggsYXmKERPUtwSnT6Z1vkRqIxTncL5usw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GtJZf5os+TVZ5FSqnOJ0/IM44Zkv6CcQMD6tUE7SiF9VdNnfdNpsvMQb3uoCBATrc uw9yoyiAS8KkPUVtUVMUzBaUj64TxVQA+KcC2e5PoyTKdNhenF6t/bbOtApe5kvZwq ip2k/Ti/IeuFfZQFEEjDU6SPX5GUiwvQmvS1AV3I= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111332] Using GCC7.3.0 and GCC10.3.0 to compile the same test case, assembler file instructions are different and performance fallback is obvious. Date: Fri, 08 Sep 2023 02:11:50 +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: 10.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: cf_known_to_work cf_known_to_fail 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111332 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |6.4.0 Known to fail| |7.3.0, 7.5.0, 8.5.0, 9.5.0 --- Comment #3 from Andrew Pinski --- GCC 11+ produces: .L3: vmovdqu (%rsi), %ymm2 vmovdqu 32(%rsi), %ymm1 subq $-128, %rdi subq $-128, %rsi vmovdqu -64(%rsi), %ymm0 vmovdqu -32(%rsi), %ymm3 vmovdqu %ymm2, -128(%rdi) vmovdqu %ymm3, -32(%rdi) vmovdqu %ymm1, -96(%rdi) vmovdqu %ymm0, -64(%rdi) cmpq %rax, %rdi jne .L3 Which is the best code ...=