target/riscv: Change "G" expansion
commit9f6b7da5d27b744ddbdba98ba8b89c710dd3c1b7
authorTsukasa OI <research_trasio@irq.a4lg.com>
Sun, 15 May 2022 02:56:09 +0000 (15 11:56 +0900)
committerAlistair Francis <alistair.francis@wdc.com>
Tue, 24 May 2022 00:38:50 +0000 (24 10:38 +1000)
tree1e1da0fa2f39d675360770089cfdd5740850006c
parent1d398ab9dcfb8f5fb4b9a285ea3167f7ba85976d
target/riscv: Change "G" expansion

On ISA version 20190608 or later, "G" expands to "IMAFD_Zicsr_Zifencei".
Both "Zicsr" and "Zifencei" are enabled by default and "G" is supposed to
be (virtually) enabled as well, it should be safe to change its expansion.

Signed-off-by: Tsukasa OI <research_trasio@irq.a4lg.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <d1b5be550a2893a0fd32c928f832d2ff7bfafe35.1652583332.git.research_trasio@irq.a4lg.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.c