From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C3673858D33; Fri, 17 Feb 2023 04:09:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C3673858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676606963; bh=7huhgLK9Iv7j+NYWSo3fuSw9uPkjFZFyZA9RZerarmk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yC00weKgFRJ8BhIQdIF7/eZUB34fSoj6GxCeeuj4qN32tHpfeMtiuUmQdrmy5/Xqs 3+ENqNaAALcShQOst+Nwks70rgTW87mfpjnX0hy4YSjuhrnSqX1bi6bLzKe6PlQxF3 qwyQp9Q2WSd0atwRUgW6lS2RA5g4q83/SX4piiGI= From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108807] [11/12/13 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE Date: Fri, 17 Feb 2023 04:09:22 +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.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linkw at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D108807 --- Comment #2 from Kewen Lin --- Created attachment 54478 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54478&action=3Dedit untested patch The lvsr and lvsl for generating permutation control vectors only works for= LE as the element ordering is different on LE and BE. The proposed patch is to= fix gen function for generating permutation control vectors by considering endianness. It can fix the exposed failures on vsx-builtin-{9,10,11,14,16,18}d.c, and a full testing is ongoing.=