From 5601c411f4ffdb8bbfec09a58234ab2ebc5de986 Mon Sep 17 00:00:00 2001 From: Anton Blanchard <antonb@tenstorrent.com> Date: Tue, 17 Dec 2024 07:30:55 -0700 Subject: [PATCH] [PATCH v2 1/2] RISC-V: Document thead-c906, xiangshan-nanhu, and generic-ooo gcc/ChangeLog * doc/invoke.texi (RISC-V): Add thead-c906, xiangshan-nanhu to -mcpu, add generic-ooo and remove thead-c906 from -mtune. --- gcc/doc/invoke.texi | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0fdf85015857..017bb8075ac5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -30981,17 +30981,18 @@ Permissible values for this option are: @samp{sifive-e20}, @samp{sifive-e21}, @samp{sifive-e24}, @samp{sifive-e31}, @samp{sifive-e34}, @samp{sifive-e76}, @samp{sifive-s21}, @samp{sifive-s51}, @samp{sifive-s54}, @samp{sifive-s76}, @samp{sifive-u54}, @samp{sifive-u74}, @samp{sifive-x280}, @samp{sifive-xp450}, -@samp{sifive-x670}. +@samp{sifive-x670}, @samp{thead-c906}, @samp{xiangshan-nanhu}. Note that @option{-mcpu} does not override @option{-march} or @option{-mtune}. @opindex mtune @item -mtune=@var{processor-string} Optimize the output for the given processor, specified by microarchitecture or -particular CPU name. Permissible values for this option are: @samp{rocket}, -@samp{sifive-3-series}, @samp{sifive-5-series}, @samp{sifive-7-series}, -@samp{thead-c906}, @samp{size}, @samp{sifive-p400-series}, -@samp{sifive-p600-series}, and all valid options for @option{-mcpu=}. +particular CPU name. Permissible values for this option are: +@samp{generic-ooo}, @samp{rocket}, @samp{sifive-3-series}, +@samp{sifive-5-series}, @samp{sifive-7-series}, @samp{size}, +@samp{sifive-p400-series}, @samp{sifive-p600-series}, and all valid options for +@option{-mcpu=}. When @option{-mtune=} is not specified, use the setting from @option{-mcpu}, the default is @samp{rocket} if both are not specified. -- GitLab