Skip to content

Commit

Permalink
mor1kx: Enable gcc compiler flag for cmov
Browse files Browse the repository at this point in the history
We enable this instruction so use it.
  • Loading branch information
stffrdhrn committed Dec 22, 2020
1 parent 51327e0 commit 3067c57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions litex/soc/cores/cpu/mor1kx/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def gcc_triple(self):
def gcc_flags(self):
flags = "-mhard-mul "
flags += "-mhard-div "
flags += "-mcmov "
flags += "-D__mor1kx__ "

if "linux" in self.variant:
Expand Down

0 comments on commit 3067c57

Please sign in to comment.