forked from KolibriOS/kolibrios
Fix substitution macros for CMOVcc. (A piece of code fell off..)
git-svn-id: svn://kolibrios.org@5384 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
e7981db306
commit
d5c1def37e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user