projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54598ed
)
mor1kx: Do not generate the ror instruction
author
Mateusz Holenko
<mholenko@antmicro.com>
Fri, 10 Jul 2020 09:03:35 +0000
(11:03 +0200)
committer
Mateusz Holenko
<mholenko@antmicro.com>
Fri, 10 Jul 2020 09:07:12 +0000
(11:07 +0200)
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
patch
|
blob
|
history
diff --git
a/litex/soc/cores/cpu/mor1kx/core.py
b/litex/soc/cores/cpu/mor1kx/core.py
index 510687660876a4eaf368842d747a16e339fecfb1..5ab61b4c6ec47989d520f1e207f14be347f90b46 100644
(file)
--- 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__ "