[PATCH] D149246: [RISCV] Relax rules for ordering s/z/x prefixed extensions in ISA naming strings

Kito Cheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 27 02:33:50 PDT 2023


kito-cheng accepted this revision.
kito-cheng added a comment.

I am really happy to see this happen, binutils has relaxed for a while in more relaxed way[1] - only require must start with `rv[32|64][e|i|g]`, personally I would like to relax the order at all like binutils did for GCC, but I don't want to disturb that before making sure clang will going same way - otherwise just making more incomparable.

The order is kind of not friendly for user, I don't believe how many people remember the right order between `z*` extension in short time - even after read the RISC-V ISA spec.

[1] https://sourceware.org/pipermail/binutils/2022-December/125267.html


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

https://reviews.llvm.org/D149246



More information about the cfe-commits mailing list