[PATCH] D94403: [RISCV] Implement new architecture extension macros

Alex Bradbury via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 21 05:18:41 PST 2021


asb added a comment.

@kito-cheng could you please confirm that this patch handles sub-extensions in the same way GCC does. i.e. -march=rv32izbb0p92 defines `__riscv_zbb` but NOT `__riscv_b`? That seems logical to me, as otherwise it would be cumbersome to check if the whole extension is supported rather than just a subset, but I just wanted to confirm.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94403/new/

https://reviews.llvm.org/D94403



More information about the cfe-commits mailing list