From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 93AA43971813; Thu, 21 Jan 2021 01:38:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 93AA43971813 From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98172] Update -mtune=generic for the current Intel and AMD processors Date: Thu, 21 Jan 2021 01:38:18 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Thu, 21 Jan 2021 01:38:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98172 --- Comment #9 from Hongtao.liu --- > .L3: > vmovupd (%rcx,%rax), %xmm3 > vmovupd (%rsi,%rax), %xmm4 > vinsertf128 $0x1, 16(%rcx,%rax), %ymm3, %ymm0 > vinsertf128 $0x1, 16(%rsi,%rax), %ymm4, %ymm2 > vmovupd (%rdi,%rax), %xmm5 > vinsertf128 $0x1, 16(%rdi,%rax), %ymm5, %ymm1 > vfmadd132pd %ymm2, %ymm1, %ymm0 > vmovupd %xmm0, (%rdx,%rax) > vextractf128 $0x1, %ymm0, 16(%rdx,%rax) > addq $32, %rax > cmpq $2048, %rax > jne .L3 > vzeroupper > ret The kernel loop could be better as .L3: vmovupd (%rcx,%rax), %ymm0 vmovupd (%rdi,%rax), %ymm1 vfmadd132pd (%rsi,%rax), %ymm1, %ymm0 vmovupd %ymm0, (%rdx,%rax) addq $32, %rax cmpq $2048, %rax jne .L3=