From b8d900862c3ba6607aa055f1d96a3fc21965f1eb Mon Sep 17 00:00:00 2001 From: Mateusz Holenko Date: Fri, 10 Jul 2020 11:03:35 +0200 Subject: [PATCH] mor1kx: Do not generate the ror instruction The mor1kx core does not support `l.ror` instruction by default, but gcc/clang flags allowed the compiler to generate it. --- litex/soc/cores/cpu/mor1kx/core.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litex/soc/cores/cpu/mor1kx/core.py b/litex/soc/cores/cpu/mor1kx/core.py index 51068766..5ab61b4c 100644 --- a/litex/soc/cores/cpu/mor1kx/core.py +++ b/litex/soc/cores/cpu/mor1kx/core.py @@ -47,7 +47,6 @@ class MOR1KX(CPU): def gcc_flags(self): flags = "-mhard-mul " flags += "-mhard-div " - flags += "-mror " flags += "-D__mor1kx__ " return flags @@ -55,7 +54,6 @@ class MOR1KX(CPU): def clang_flags(self): flags = "-mhard-mul " flags += "-mhard-div " - flags += "-mror " flags += "-mffl1 " flags += "-maddc " flags += "-D__mor1kx__ " -- 2.30.2