Skip to content

Commit

Permalink
fixup! arcv: Add a separate multilib configuration list
Browse files Browse the repository at this point in the history
Add rv32ia fallback configurations.

Signed-off-by: Yuriy Kolerov <ykolerov@synopsys.com>
  • Loading branch information
kolerov committed Dec 20, 2024
1 parent 8c609e2 commit eaec833
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gcc/config/riscv/t-arcv
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ arcv_march_variants += rv32imafc
arcv_march_variants += rv32imafdc
arcv_march_variants += rv64i
arcv_march_variants += rv64i_zicsr
arcv_march_variants += rv64ia
arcv_march_variants += rv64imac
arcv_march_variants += rv64imac_zicsr
arcv_march_variants += rv64imafdc
Expand Down Expand Up @@ -71,24 +72,28 @@ MULTILIB_REQUIRED += march=rv32e/mabi=ilp32e/mtune=arc-v-rmx-100-series

# Fallback configurations for RMX-100
MULTILIB_REQUIRED += march=rv32i/mabi=ilp32/mtune=arc-v-rmx-100-series
MULTILIB_REQUIRED += march=rv32ia/mabi=ilp32/mtune=arc-v-rmx-100-series
MULTILIB_REQUIRED += march=rv32imc_zicsr/mabi=ilp32/mtune=arc-v-rmx-100-series
MULTILIB_REQUIRED += march=rv32iac_zicsr/mabi=ilp32/mtune=arc-v-rmx-100-series
MULTILIB_REQUIRED += march=rv32imac_zicsr/mabi=ilp32/mtune=arc-v-rmx-100-series

# Fallback configurations for RMX-500
MULTILIB_REQUIRED += march=rv32i/mabi=ilp32/mtune=arc-v-rmx-500-series
MULTILIB_REQUIRED += march=rv32ia/mabi=ilp32/mtune=arc-v-rmx-500-series
MULTILIB_REQUIRED += march=rv32imc_zicsr/mabi=ilp32/mtune=arc-v-rmx-500-series
MULTILIB_REQUIRED += march=rv32iac_zicsr/mabi=ilp32/mtune=arc-v-rmx-500-series
MULTILIB_REQUIRED += march=rv32imac_zicsr/mabi=ilp32/mtune=arc-v-rmx-500-series

# Fallback configurations for RHX-100
MULTILIB_REQUIRED += march=rv32i/mabi=ilp32/mtune=arc-v-rhx-100-series
MULTILIB_REQUIRED += march=rv32ia/mabi=ilp32/mtune=arc-v-rhx-100-series
MULTILIB_REQUIRED += march=rv32imac_zicsr/mabi=ilp32/mtune=arc-v-rhx-100-series
MULTILIB_REQUIRED += march=rv32imafc/mabi=ilp32f/mtune=arc-v-rhx-100-series
MULTILIB_REQUIRED += march=rv32imafdc/mabi=ilp32d/mtune=arc-v-rhx-100-series

# Fallback configurations for RPX-100
MULTILIB_REQUIRED += march=rv64i/mabi=lp64/mtune=arc-v-rmx-100-series/mcmodel=medany
MULTILIB_REQUIRED += march=rv64ia/mabi=lp64/mtune=arc-v-rmx-100-series/mcmodel=medany
MULTILIB_REQUIRED += march=rv64imac_zicsr/mabi=lp64/mtune=arc-v-rmx-100-series/mcmodel=medany
MULTILIB_REQUIRED += march=rv64imafdc/mabi=lp64d/mtune=arc-v-rmx-100-series/mcmodel=medany

Expand Down

0 comments on commit eaec833

Please sign in to comment.