Enable ror, ffl1 and addc for OR1K.

This commit is contained in:
whitequark 2015-07-30 10:55:01 +03:00
parent 8db098dd8f
commit 4b6bd43d8e
1 changed files with 1 additions and 1 deletions

View File

@ -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)