Addenum to IA-32 assembler support enhancements from HEAD branch.
authorAndy Polyakov <appro@openssl.org>
Sun, 12 Jan 2003 22:40:09 +0000 (22:40 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 12 Jan 2003 22:40:09 +0000 (22:40 +0000)
crypto/des/asm/crypt586.pl
crypto/des/asm/des-586.pl

index 51fb3ddf26e4a00d34d97484209c95e30db506fe..1d04ed6def10f91f1c79bbd6f4443146ab453ebb 100644 (file)
@@ -32,8 +32,9 @@ sub fcrypt_body
        &xor(   $R,     $R);
 
        # PIC-ification:-)
-       if ($cpp)       { &picmeup("edx","DES_SPtrans");   }
-       else            { &lea("edx",&DWP("DES_SPtrans")); }
+       &picmeup("edx","DES_SPtrans");
+       #if ($cpp)      { &picmeup("edx","DES_SPtrans");   }
+       #else           { &lea("edx",&DWP("DES_SPtrans")); }
        &push("edx");   # becomes &swtmp(1)
        #
        &mov($trans,&wparam(1)); # reloaded with DES_SPtrans in D_ENCRYPT
index 7a5886928995bb06a08c8de26b418874fee530e2..b75d3c6b3a44b8eed2d4b6e46a19c1d3f3936ecc 100644 (file)
@@ -73,8 +73,9 @@ sub DES_encrypt
                }
 
        # PIC-ification:-)
-       if ($cpp)       { &picmeup($trans,"DES_SPtrans");   }
-       else            { &lea($trans,&DWP("DES_SPtrans")); }
+       &picmeup($trans,"DES_SPtrans");
+       #if ($cpp)      { &picmeup($trans,"DES_SPtrans");   }
+       #else           { &lea($trans,&DWP("DES_SPtrans")); }
 
        &mov(   "ecx",  &wparam(1)      );
        &cmp("ebx","0");