From d5c1def37e72d9cda6fddb6e88ae16b7cee59c7b Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 18 Jan 2015 18:54:12 +0000 Subject: [PATCH] Fix substitution macros for CMOVcc. (A piece of code fell off..) git-svn-id: svn://kolibrios.org@5384 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/macros.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/programs/macros.inc b/programs/macros.inc index 8d800d0e5e..b0d1452d06 100644 --- a/programs/macros.inc +++ b/programs/macros.inc @@ -582,6 +582,8 @@ cmove fix cmovz macro cmovz reg1, reg2 { + local ..jumpaddr + if __CPU_type eq p5 ; CMOVcc isnt supported on the P5 jnz ..jumpaddr mov reg1, reg2 @@ -596,6 +598,8 @@ cmovne fix cmovnz macro cmovnz reg1, reg2 { + local ..jumpaddr + if __CPU_type eq p5 ; CMOVcc isnt supported on the P5 jz ..jumpaddr mov reg1, reg2 @@ -608,6 +612,8 @@ end if macro cmovg reg1, reg2 { + local ..jumpaddr + if __CPU_type eq p5 ; CMOVcc isnt supported on the P5 jle ..jumpaddr mov reg1, reg2 @@ -619,6 +625,8 @@ end if macro cmovl reg1, reg2 { + local ..jumpaddr + if __CPU_type eq p5 ; CMOVcc isnt supported on the P5 jge ..jumpaddr mov reg1, reg2