On Sat, 07 Sep 2024 10:32:07 PDT (-0700), jeffreya...@gmail.com wrote:
On 8/25/24 8:03 PM, Jiawei wrote:
在 2024/8/25 23:38, Jeff Law 写道:
On 8/19/24 2:14 AM, shiyul...@iscas.ac.cn wrote:
From: yulong <shiyul...@iscas.ac.cn>
This patch try to fix a bug[116347]. I change the name of the micro-
arch,
because I think micro-arch and core have the same name that caused
the error.
gcc/ChangeLog:
* config/riscv/riscv-cores.def (RISCV_TUNE): Rename.
(RISCV_CORE): Ditto.
Conceptually tuning means things like costs and scheduler model while
core defines what instructions can be used. So why are core entries
showing up under known arguments for the -mtune option?
Jeff
In the current definition, different cores need to be configured with
corresponding tuning in `riscv-cores.def`, so we can reuse the core name
in '-mtune' option.
I don't think that's what we really want from a behavior standpoint.
Something seems wrong.
Ya, sorry I didn't get around to looking at this -- it's still on the
TODO list, I guess I just keep getting discracted with other stuff...