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


BR,

Jiawei

Reply via email to