From 4b6bd43d8e84a4441acc3f038bd181bcd5a845bf Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 30 Jul 2015 10:55:01 +0300 Subject: [PATCH] Enable ror, ffl1 and addc for OR1K. --- misoclib/soc/cpuif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misoclib/soc/cpuif.py b/misoclib/soc/cpuif.py index e75cf7af7..7c60db019 100644 --- a/misoclib/soc/cpuif.py +++ b/misoclib/soc/cpuif.py @@ -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)