From: Mateusz Holenko Date: Fri, 10 Jul 2020 09:03:35 +0000 (+0200) Subject: mor1kx: Do not generate the ror instruction X-Git-Tag: 24jan2021_ls180~87^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8d900862c3ba6607aa055f1d96a3fc21965f1eb;p=litex.git 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. --- 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__ "