Closed pz9115 closed 3 years ago
Hmmm, this bug is fixed on https://github.com/riscv/riscv-gcc/tree/riscv-gcc-10.2.0-bump by this commit https://github.com/riscv/riscv-gcc/commit/ec0ade559410ee242ca356928d718387f8bb68ec, could you try with this patch?
Ok, I will try it. thanks!
This problem is fixed by Kito's patch, close.
We want to use zdinx imply zfinx like d imply f in gcc part,use riscv-gcc-10.2.0 releases as base branch
for example, you can compile with "--with-arch=rv64imadc" that equal to "--with-arch=rv64imafdc"
this will generate right arch args in .attribute part
===================================
.attribute arch, "rv64i2p0_m2p0_a2p0_f2p0_d2p0_c2p0"
===================================
We had added the z*inx imply info in riscv-common.c and multilib-generator but it only works in multilib-generator part, still can't generator right .attribute when only use arch zdinx
===================================
.attribute arch, "rv64i2p0_m2p0_a2p0_c2p0_zdinx2p0"
===================================
Maybe we miss add something or it has some problems.