mor1kx: Enable gcc compiler flag for cmov

We enable this instruction so use it.
This commit is contained in:
Stafford Horne 2020-12-22 07:14:59 +09:00
parent 51327e00b5
commit 3067c57080

View file

@ -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: