ppc64-mont.pl: adapt for 32-bit and engage for all builds.
[openssl.git] / crypto / ppccpuid.pl
index fe44ff0..5b866bd 100755 (executable)
@@ -23,9 +23,11 @@ $code=<<___;
 .machine       "any"
 .text
 
-.globl .OPENSSL_cpuid_setup
+.globl .OPENSSL_ppc64_probe
 .align 4
-.OPENSSL_cpuid_setup:
+.OPENSSL_ppc64_probe:
+       fcfid   f1,f1
+       extrdi  r0,r0,32,0
        blr
 
 .globl .OPENSSL_wipe_cpu