From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D14313858CDB; Thu, 9 Mar 2023 12:45:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D14313858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678365901; bh=hYb44cvdHSQSBaISBFYpqnX2WZPt6GENJyp1LUcMsV4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Zc6kCJQGL63k1nAI72z7yi/ignO68THOOmgmjvIlcJF+vzxbBvf/RHBsDYFdMBItB 42jI8IGg2XkfYp5VIl1u5CXgl+FnuXQjgTatYutRIpqibmnpU3I+Yvtd3p7wTmsIY/ Qx5mQwzuY6JviMzNxR/pSYGljzXZ2Dsx2gKgz+uk= From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109069] Vector truncation test program produces incorrect result on big-endian powerpc64-linux-gnu with -mcpu=power10 -O2 Date: Thu, 09 Mar 2023 12:45:01 +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: 12.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw 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: 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=3D109069 --- Comment #2 from Kewen Lin --- Thanks for reporting, I don't have a handy Power10 ppc64 (BE) env for reproducing this, do you mind to reduce it a bit first? (hint: https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction) btw, I tried to check if we can reproduce this on Power10 ppc64le as the co= de having __BYTE_ORDER__ check which seems to say it works on both BE and LE, = but it gets segfault on LE, even I used one power9 ppc64le machine and option -mcpu=3Dpower8 -O0. Any thoughts?=