public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/106530] New: RISCV documentation for -march= is very lacking
@ 2022-08-04 22:21 pinskia at gcc dot gnu.org
  2022-08-04 22:24 ` [Bug target/106530] " pinskia at gcc dot gnu.org
  2024-02-16  9:25 ` kito at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-04 22:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106530

            Bug ID: 106530
           Summary: RISCV documentation for -march= is very lacking
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---
            Target: riscv*-*-*

The current documentation for -march= does not specify what extensions are
valid or really anything.
It just shows examples.

The documentation should say what each letter corresponds to and maybe even
point to the specifications link.

E.g. what does 'rv32iabmc' mean?

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

* [Bug target/106530] RISCV documentation for -march= is very lacking
  2022-08-04 22:21 [Bug target/106530] New: RISCV documentation for -march= is very lacking pinskia at gcc dot gnu.org
@ 2022-08-04 22:24 ` pinskia at gcc dot gnu.org
  2024-02-16  9:25 ` kito at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-08-04 22:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106530

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Compare this to how aarch64 documentation is expands on what -march= options
are valid:
https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options
https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#aarch64-feature-modifiers

(plus I find long names much easier to understand than just letters too but
that is a RISC-V issue overall when it comes to naming their extensions and
maybe should be brought up to the specifications working group).

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

* [Bug target/106530] RISCV documentation for -march= is very lacking
  2022-08-04 22:21 [Bug target/106530] New: RISCV documentation for -march= is very lacking pinskia at gcc dot gnu.org
  2022-08-04 22:24 ` [Bug target/106530] " pinskia at gcc dot gnu.org
@ 2024-02-16  9:25 ` kito at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: kito at gcc dot gnu.org @ 2024-02-16  9:25 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106530

Kito Cheng <kito at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Kito Cheng <kito at gcc dot gnu.org> ---
g:19260a04ba6f75b1fae52afab50dcb43d44eb259 and
g:5a22bb250d8f4ad239e12fea9828c18a0aa23e38 should address this issue :)

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

end of thread, other threads:[~2024-02-16  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 22:21 [Bug target/106530] New: RISCV documentation for -march= is very lacking pinskia at gcc dot gnu.org
2022-08-04 22:24 ` [Bug target/106530] " pinskia at gcc dot gnu.org
2024-02-16  9:25 ` kito at gcc dot gnu.org

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