Addenum to IA-32 assembler support enhancements from HEAD branch.
This commit is contained in:
parent
1d76d78858
commit
a6816db813
@ -32,8 +32,9 @@ sub fcrypt_body
|
|||||||
&xor( $R, $R);
|
&xor( $R, $R);
|
||||||
|
|
||||||
# PIC-ification:-)
|
# PIC-ification:-)
|
||||||
if ($cpp) { &picmeup("edx","DES_SPtrans"); }
|
&picmeup("edx","DES_SPtrans");
|
||||||
else { &lea("edx",&DWP("DES_SPtrans")); }
|
#if ($cpp) { &picmeup("edx","DES_SPtrans"); }
|
||||||
|
#else { &lea("edx",&DWP("DES_SPtrans")); }
|
||||||
&push("edx"); # becomes &swtmp(1)
|
&push("edx"); # becomes &swtmp(1)
|
||||||
#
|
#
|
||||||
&mov($trans,&wparam(1)); # reloaded with DES_SPtrans in D_ENCRYPT
|
&mov($trans,&wparam(1)); # reloaded with DES_SPtrans in D_ENCRYPT
|
||||||
|
@ -73,8 +73,9 @@ sub DES_encrypt
|
|||||||
}
|
}
|
||||||
|
|
||||||
# PIC-ification:-)
|
# PIC-ification:-)
|
||||||
if ($cpp) { &picmeup($trans,"DES_SPtrans"); }
|
&picmeup($trans,"DES_SPtrans");
|
||||||
else { &lea($trans,&DWP("DES_SPtrans")); }
|
#if ($cpp) { &picmeup($trans,"DES_SPtrans"); }
|
||||||
|
#else { &lea($trans,&DWP("DES_SPtrans")); }
|
||||||
|
|
||||||
&mov( "ecx", &wparam(1) );
|
&mov( "ecx", &wparam(1) );
|
||||||
&cmp("ebx","0");
|
&cmp("ebx","0");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user