linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] teach sparse about the '-march' for RISC-V
@ 2020-07-08 21:48 Luc Van Oostenryck
  2020-07-08 21:48 ` [PATCH 1/3] arch: teach sparse about the '-march' option Luc Van Oostenryck
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Luc Van Oostenryck @ 2020-07-08 21:48 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

RISC-V architecture has a set of extensions and those are
reflected in the predefined macros.
This series add support for '-march' as an architecture-specific
option and uses for RISC-V to correctly predefine these macros.

Luc Van Oostenryck (3):
  arch: teach sparse about the '-march' option
  riscv: parse '-march=....'
  riscv: add the predefines for the extensions

 options.c      |  8 ++++
 target-riscv.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++
 target.h       |  2 +
 3 files changed, 109 insertions(+)

-- 
2.27.0


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

end of thread, other threads:[~2020-07-08 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 21:48 [PATCH 0/3] teach sparse about the '-march' for RISC-V Luc Van Oostenryck
2020-07-08 21:48 ` [PATCH 1/3] arch: teach sparse about the '-march' option Luc Van Oostenryck
2020-07-08 21:48 ` [PATCH 2/3] riscv: parse '-march=....' Luc Van Oostenryck
2020-07-08 21:48 ` [PATCH 3/3] riscv: add the predefines for the extensions Luc Van Oostenryck

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 NNTP newsgroup(s).