Add imafd support

This commit is contained in:
developandplay 2021-07-27 00:44:15 +02:00
parent 6ba514ee96
commit c36e2ae4e8
1 changed files with 3 additions and 3 deletions

View File

@ -48,15 +48,15 @@ CPU_VARIANTS = ["standard", "sim"]
# GCC Flags ---------------------------------------------------------------------------------------- # GCC Flags ----------------------------------------------------------------------------------------
GCC_FLAGS = { GCC_FLAGS = {
"standard": "-march=rv64ima -mabi=lp64 ", "standard": "-march=rv64imafd -mabi=lp64d ",
"sim": "-march=rv64ima -mabi=lp64 ", "sim": "-march=rv64imafd -mabi=lp64d ",
} }
# BlackParrotRV64 ---------------------------------------------------------------------------------- # BlackParrotRV64 ----------------------------------------------------------------------------------
class BlackParrotRV64(CPU): class BlackParrotRV64(CPU):
name = "blackparrot" name = "blackparrot"
human_name = "BlackParrotRV64[ima]" human_name = "BlackParrotRV64[imafd]"
variants = CPU_VARIANTS variants = CPU_VARIANTS
data_width = 64 data_width = 64
endianness = "little" endianness = "little"