mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
mor1kx: Enable gcc compiler flag for cmov
We enable this instruction so use it.
This commit is contained in:
parent
51327e00b5
commit
3067c57080
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ class MOR1KX(CPU):
|
||||||
def gcc_flags(self):
|
def gcc_flags(self):
|
||||||
flags = "-mhard-mul "
|
flags = "-mhard-mul "
|
||||||
flags += "-mhard-div "
|
flags += "-mhard-div "
|
||||||
|
flags += "-mcmov "
|
||||||
flags += "-D__mor1kx__ "
|
flags += "-D__mor1kx__ "
|
||||||
|
|
||||||
if "linux" in self.variant:
|
if "linux" in self.variant:
|
||||||
|
|
Loading…
Reference in a new issue