Enable ror, ffl1 and addc for OR1K.
This commit is contained in:
parent
8db098dd8f
commit
4b6bd43d8e
|
@ -9,7 +9,7 @@ def get_cpu_mak(cpu_type):
|
||||||
clang = ""
|
clang = ""
|
||||||
elif cpu_type == "or1k":
|
elif cpu_type == "or1k":
|
||||||
triple = "or1k-linux"
|
triple = "or1k-linux"
|
||||||
cpuflags = "-mhard-mul -mhard-div"
|
cpuflags = "-mhard-mul -mhard-div -mror -mffl1 -maddc"
|
||||||
clang = "1"
|
clang = "1"
|
||||||
else:
|
else:
|
||||||
raise ValueError("Unsupported CPU type: "+cpu_type)
|
raise ValueError("Unsupported CPU type: "+cpu_type)
|
||||||
|
|
Loading…
Reference in New Issue