From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 33CD13858C55; Fri, 2 Sep 2022 09:28:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33CD13858C55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662110896; bh=aN4Ax8GOhezD0hJmg1K5tvJpDBVarHTLek5rKGYaf+Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=u+WGOcqDvRIbyphzpGoWBk+m8iFjI2u8FezfhJkMyQsbfoeHTQ6gWwzbpUeTMata4 NMgcPpiWY3qgKB46XTxQJrk7pEN9tdq6IwhY+1bSWr10c2n/ArEYkzZdrOB6BNuAWd SKiQdpR2PfFxqLkc8GDzPYWvHQkGA/nac+AVAlT8= From: "malat at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/106187] armhf: Miscompilation at O2 level (O0 / O1 are working) Date: Fri, 02 Sep 2022 09:28:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.4.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: malat at debian dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rearnsha 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=3D106187 --- Comment #53 from Mathieu Malaterre --- For later reference, the gcc-11 symptoms disapear in upstream git after com= mit: * https://github.com/google/highway/commit/4fa872a2a0d9944cb5fe761669ac630966= 07d3a3 gcc-12 seems to be generating wrong-code for a different unit-test: % tests/mul_test "--gtest_filter=3DHwyMulTestGroup/HwyMulTest.TestAllMulHigh/EMU128" Running main() from ./googletest/src/gtest_main.cc Note: Google Test filter =3D HwyMulTestGroup/HwyMulTest.TestAllMulHigh/EMU1= 28 [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from HwyMulTestGroup/HwyMulTest [ RUN ] HwyMulTestGroup/HwyMulTest.TestAllMulHigh/EMU128 i16x8 expect [0+ ->]: 0x3FFF,0x0FFF,0x03FF,0x00FF,0x003F,0x000F,0x0003, i16x8 actual [0+ ->]: 0xBFFF,0x0FFF,0xE400,0x00FF,0xF840,0x000F,0xFE04, Abort at /home/malat/highway/hwy/tests/mul_test.cc:131: EMU128, i16x8 lane 0 mismatch: expected '0x3FFF', got '0xBFFF'. zsh: abort tests/mul_test=