public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/110696] New: RISC-V: -march doesn't imply correctly
@ 2023-07-17 3:46 juzhe.zhong at rivai dot ai
2023-07-17 11:49 ` [Bug target/110696] " cvs-commit at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: juzhe.zhong at rivai dot ai @ 2023-07-17 3:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110696
Bug ID: 110696
Summary: RISC-V: -march doesn't imply correctly
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: juzhe.zhong at rivai dot ai
Target Milestone: ---
test:
#include "riscv_vector.h"
void foo () {vint32m1_t v;}
1. -march=rv64gcv_zvl4096:
.attribute arch,
"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_v1p0_zicsr2p0_zifencei2p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl1024b1p0_zvl128b1p0_zvl2048b1p0_zvl32b1p0_zvl4096b1p0_zvl64b1p0"
Missing: zvl256b and zvl512b
2. -march=rv64gcv_zvl8192:
.attribute arch,
"rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_v1p0_zicsr2p0_zifencei2p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl2048b1p0_zvl32b1p0_zvl4096b1p0_zvl64b1p0_zvl8192b1p0"
Missing: zvl256b and zvl512b and zvl1024b
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/110696] RISC-V: -march doesn't imply correctly
2023-07-17 3:46 [Bug c/110696] New: RISC-V: -march doesn't imply correctly juzhe.zhong at rivai dot ai
@ 2023-07-17 11:49 ` cvs-commit at gcc dot gnu.org
2023-07-17 14:44 ` kito at gcc dot gnu.org
2023-08-07 10:22 ` juzhe.zhong at rivai dot ai
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-17 11:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110696
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Lehua Ding <lhtin@gcc.gnu.org>:
https://gcc.gnu.org/g:70742d08832eb7db4d90f52465966111a19ce3a5
commit r14-2564-g70742d08832eb7db4d90f52465966111a19ce3a5
Author: Lehua Ding <lehua.ding@rivai.ai>
Date: Mon Jul 17 12:27:12 2023 +0800
RISC-V: Ensure all implied extensions are included [PR110696]
This patch fix target/PR110696, recursively add all implied extensions.
PR target/110696
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc
(riscv_subset_list::handle_implied_ext):
recur add all implied extensions.
(riscv_subset_list::check_implied_ext): Add new method.
(riscv_subset_list::parse): Call checker check_implied_ext.
* config/riscv/riscv-subset.h: Add new method.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/attribute-20.c: New test.
* gcc.target/riscv/pr110696.c: New test.
Signed-off-by: Lehua Ding <lehua.ding@rivai.ai>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/110696] RISC-V: -march doesn't imply correctly
2023-07-17 3:46 [Bug c/110696] New: RISC-V: -march doesn't imply correctly juzhe.zhong at rivai dot ai
2023-07-17 11:49 ` [Bug target/110696] " cvs-commit at gcc dot gnu.org
@ 2023-07-17 14:44 ` kito at gcc dot gnu.org
2023-08-07 10:22 ` juzhe.zhong at rivai dot ai
2 siblings, 0 replies; 4+ messages in thread
From: kito at gcc dot gnu.org @ 2023-07-17 14:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110696
Kito Cheng <kito at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2023-07-17
Status|UNCONFIRMED |NEW
--- Comment #2 from Kito Cheng <kito at gcc dot gnu.org> ---
Fixed on upstream, but will wait one more week for backporting to GCC 13 branch
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/110696] RISC-V: -march doesn't imply correctly
2023-07-17 3:46 [Bug c/110696] New: RISC-V: -march doesn't imply correctly juzhe.zhong at rivai dot ai
2023-07-17 11:49 ` [Bug target/110696] " cvs-commit at gcc dot gnu.org
2023-07-17 14:44 ` kito at gcc dot gnu.org
@ 2023-08-07 10:22 ` juzhe.zhong at rivai dot ai
2 siblings, 0 replies; 4+ messages in thread
From: juzhe.zhong at rivai dot ai @ 2023-08-07 10:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110696
JuzheZhong <juzhe.zhong at rivai dot ai> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
Fixed
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-07 10:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-17 3:46 [Bug c/110696] New: RISC-V: -march doesn't imply correctly juzhe.zhong at rivai dot ai
2023-07-17 11:49 ` [Bug target/110696] " cvs-commit at gcc dot gnu.org
2023-07-17 14:44 ` kito at gcc dot gnu.org
2023-08-07 10:22 ` juzhe.zhong at rivai dot ai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).