public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] RISC-V target attribute
@ 2023-10-10  4:13 Kito Cheng
  2023-10-10  4:13 ` [PATCH v2 1/4] options: Define TARGET_<NAME>_P and TARGET_<NAME>_OPTS_P macro for Mask and InverseMask Kito Cheng
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Kito Cheng @ 2023-10-10  4:13 UTC (permalink / raw)
  To: gcc-patches, kito.cheng, palmer, jeffreyalaw, rdapp, juzhe.zhong

This patch set implement target attribute for RISC-V target, which is similar to other target like x86 or ARM, let user able to set some local setting per function without changing global settings.

We support arch, tune and cpu first, and we will support other target attribute later, this version DOES NOT include multi-version function support yet, that is future work, probably work for GCC 15.

The full proposal is put in RISC-V C-API document[1], which has discussed with RISC-V LLVM community, so we have consistent syntax and semantics. 

[1] https://github.com/riscv-non-isa/riscv-c-api-doc/pull/35

v2 changelog:
- Resolve awk multi-dimensional issue.
- Tweak code format
- Tweak testcases



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-10-11 23:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-10  4:13 [PATCH v2 0/4] RISC-V target attribute Kito Cheng
2023-10-10  4:13 ` [PATCH v2 1/4] options: Define TARGET_<NAME>_P and TARGET_<NAME>_OPTS_P macro for Mask and InverseMask Kito Cheng
2023-10-10 13:50   ` Jeff Law
2023-10-11 21:20     ` Kito Cheng
2023-10-11 22:49       ` 钟居哲
2023-10-11 22:50         ` Kito Cheng
2023-10-11 23:23           ` Kito Cheng
2023-10-10  4:13 ` [PATCH v2 2/4] RISC-V: Refactor riscv_option_override and riscv_convert_vector_bits. [NFC] Kito Cheng
2023-10-10 13:51   ` Jeff Law
2023-10-11 21:21     ` Kito Cheng
2023-10-10  4:13 ` [PATCH v2 3/4] RISC-V: Extend riscv_subset_list, preparatory for target attribute support Kito Cheng
2023-10-10 14:00   ` Jeff Law
2023-10-11 21:19     ` Kito Cheng
2023-10-10  4:13 ` [PATCH v2 4/4] RISC-V: Implement target attribute Kito Cheng
2023-10-10 15:24   ` Jeff Law
2023-10-11 21:29     ` Kito Cheng
2023-10-10  9:56 ` [PATCH v2 0/4] RISC-V " juzhe.zhong

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).