public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v3] New target hook TARGET_COMPUTE_MULTILIB and implementation for RISC-V
@ 2021-09-16  9:38 Kito Cheng
  2021-09-16  9:38 ` [PATCH v3 1/2] Add TARGET_COMPUTE_MULTILIB hook to override multi-lib result Kito Cheng
  2021-09-16  9:38 ` [PATCH v3 2/2] RISC-V: Implement TARGET_COMPUTE_MULTILIB Kito Cheng
  0 siblings, 2 replies; 3+ messages in thread
From: Kito Cheng @ 2021-09-16  9:38 UTC (permalink / raw)
  To: gcc-patches, kito.cheng, jimw, palmer, andrew

This patch set allow target to use customized multi-lib mechanism rather than the built-in
multi-lib mechanism.

The motivation of this patch is RISC-V might have very complicated multi-lib re-use
rule*, which is hard to maintain and use current multi-lib scripts,
we even hit the "argument list too long" error when we tried to add more
multi-lib reuse rule.

* Here is an example for RISC-V multi-lib rules:
https://gist.github.com/kito-cheng/0289cd42d9a756382e5afeb77b42b73b

V3 Changes:
- Doc fix for the first patch.
- Fix lots of typo.
- Rewrite multi-lib option parsing in riscv_compute_multilib.
- Rewrite riscv_check_conds (was riscv_check_other_cond).

V2 Changes:
- NO changes for the first patch(TARGET_COMPUTE_MULTILIB part) since the first version.
- Handle option other than -march and -mabi for riscv_compute_multilib.



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

end of thread, other threads:[~2021-09-16  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16  9:38 [PATCH 0/2 v3] New target hook TARGET_COMPUTE_MULTILIB and implementation for RISC-V Kito Cheng
2021-09-16  9:38 ` [PATCH v3 1/2] Add TARGET_COMPUTE_MULTILIB hook to override multi-lib result Kito Cheng
2021-09-16  9:38 ` [PATCH v3 2/2] RISC-V: Implement TARGET_COMPUTE_MULTILIB Kito Cheng

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