From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9861B3858C74; Mon, 15 Jan 2024 07:56:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9861B3858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705305396; bh=hGW1Ts4Vb0nAIyby5KvrDrPlNon90zjJ6JGPGWxcchI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wpuksZ6B2DBUb+CqdEPOQRmUCzWtTwbzn7muzs7JItw0hcoB3mRtxBb/t5Tl7Z+GV XfuQ6osM9roniUvTon38FxBZpqEdSctPSQWnRW17ra7J/3mN6fY7QPN0NBLGW/ato2 p45agnvAn1opAShzLrfv7q/0O27OWrgpxC8FqIho= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113393] RISC-V: Full coverage test bugs for upstream 20240112 Date: Mon, 15 Jan 2024 07:56:35 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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=3D113393 --- Comment #1 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:0627d1f5340c693699ad36fa2b741ff11d6f026a commit r14-7238-g0627d1f5340c693699ad36fa2b741ff11d6f026a Author: Juzhe-Zhong Date: Mon Jan 15 14:57:38 2024 +0800 RISC-V: Fix attributes bug configuration of ternary instructions This patch fixes the following FAILs: Running target riscv-sim/-march=3Drv64gcv/-mabi=3Dlp64d/-mcmodel=3Dmedlow/--param=3Driscv-= autovec-preference=3Dfixed-vlmax FAIL: gcc.c-torture/execute/pr68532.c -O0 execution test FAIL: gcc.c-torture/execute/pr68532.c -O1 execution test FAIL: gcc.c-torture/execute/pr68532.c -O2 execution test FAIL: gcc.c-torture/execute/pr68532.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test FAIL: gcc.c-torture/execute/pr68532.c -O3 -g execution test FAIL: gcc.c-torture/execute/pr68532.c -Os execution test FAIL: gcc.c-torture/execute/pr68532.c -O2 -flto -fno-use-linker-plugin -flto-partition=3Dnone execution test Running target riscv-sim/-march=3Drv64gcv/-mabi=3Dlp64d/-mcmodel=3Dmedlow/--param=3Driscv-= autovec-lmul=3Dm2/--param=3Driscv-autovec-preference=3Dfixed-vlmax FAIL: gcc.dg/vect/pr60196-1.c execution test FAIL: gcc.dg/vect/pr60196-1.c -flto -ffat-lto-objects execution test Running target riscv-sim/-march=3Drv64gcv/-mabi=3Dlp64d/-mcmodel=3Dmedlow/--param=3Driscv-= autovec-preference=3Dfixed-vlmax FAIL: gcc.dg/vect/pr60196-1.c execution test FAIL: gcc.dg/vect/pr60196-1.c -flto -ffat-lto-objects execution test Running target riscv-sim/-march=3Drv64gcv_zvl256b/-mabi=3Dlp64d/-mcmodel=3Dmedlow/--param= =3Driscv-autovec-preference=3Dfixed-vlmax FAIL: gcc.dg/vect/pr60196-1.c execution test FAIL: gcc.dg/vect/pr60196-1.c -flto -ffat-lto-objects execution test The root cause is attributes of ternary intructions are incorrect which cause AVL prop PASS and VSETVL PASS behave incorrectly. Tested no regression and committed. PR target/113393 gcc/ChangeLog: * config/riscv/vector.md: Fix ternary attributes. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/pr113393-1.c: New test. * gcc.target/riscv/rvv/autovec/pr113393-2.c: New test. * gcc.target/riscv/rvv/autovec/pr113393-3.c: New test.=