mbox series

[0/3] teach sparse about the '-march' for RISC-V

Message ID 20200708214810.56214-1-luc.vanoostenryck@gmail.com (mailing list archive)
Headers show
Series teach sparse about the '-march' for RISC-V | expand

Message

Luc Van Oostenryck July 8, 2020, 9:48 p.m. UTC
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(+)