Enable ror, ffl1 and addc for OR1K.
authorwhitequark <whitequark@whitequark.org>
Thu, 30 Jul 2015 07:55:01 +0000 (10:55 +0300)
committerwhitequark <whitequark@whitequark.org>
Thu, 30 Jul 2015 07:55:01 +0000 (10:55 +0300)
misoclib/soc/cpuif.py

index e75cf7af7983a648f9c046f5da28d3fdb567ba2e..7c60db01938735857e3a11f2691a413a2938323e 100644 (file)
@@ -9,7 +9,7 @@ def get_cpu_mak(cpu_type):
         clang = ""
     elif cpu_type == "or1k":
         triple = "or1k-linux"
-        cpuflags = "-mhard-mul -mhard-div"
+        cpuflags = "-mhard-mul -mhard-div -mror -mffl1 -maddc"
         clang = "1"
     else:
         raise ValueError("Unsupported CPU type: "+cpu_type)