OLD | NEW |
1 #if defined(__x86_64__) | 1 #if defined(__x86_64__) |
2 .text | 2 .text |
3 | 3 |
4 .globl _OPENSSL_ia32_cpuid | 4 .globl _OPENSSL_ia32_cpuid |
5 .private_extern _OPENSSL_ia32_cpuid | 5 .private_extern _OPENSSL_ia32_cpuid |
6 | 6 |
7 .p2align 4 | 7 .p2align 4 |
8 _OPENSSL_ia32_cpuid: | 8 _OPENSSL_ia32_cpuid: |
9 | 9 |
10 | 10 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 movl %ebx,8(%rdi) | 97 movl %ebx,8(%rdi) |
98 | 98 |
99 L$nocacheinfo: | 99 L$nocacheinfo: |
100 movl $1,%eax | 100 movl $1,%eax |
101 cpuid | 101 cpuid |
102 | 102 |
103 andl $3220176895,%edx | 103 andl $3220176895,%edx |
104 cmpl $0,%r9d | 104 cmpl $0,%r9d |
105 jne L$notintel | 105 jne L$notintel |
106 orl $1073741824,%edx | 106 orl $1073741824,%edx |
107 andb $15,%ah | |
108 cmpb $15,%ah | |
109 jne L$notintel | |
110 orl $1048576,%edx | |
111 L$notintel: | 107 L$notintel: |
112 btl $28,%edx | 108 btl $28,%edx |
113 jnc L$generic | 109 jnc L$generic |
114 andl $4026531839,%edx | 110 andl $4026531839,%edx |
115 cmpl $0,%r10d | 111 cmpl $0,%r10d |
116 je L$generic | 112 je L$generic |
117 | 113 |
118 orl $268435456,%edx | 114 orl $268435456,%edx |
119 shrl $16,%ebx | 115 shrl $16,%ebx |
120 cmpb $1,%bl | 116 cmpb $1,%bl |
(...skipping 17 matching lines...) Expand all Loading... |
138 andl %eax,%r9d | 134 andl %eax,%r9d |
139 andl $4294967263,8(%rdi) | 135 andl $4294967263,8(%rdi) |
140 L$done: | 136 L$done: |
141 movl %r9d,4(%rdi) | 137 movl %r9d,4(%rdi) |
142 movl %r10d,0(%rdi) | 138 movl %r10d,0(%rdi) |
143 movq %r8,%rbx | 139 movq %r8,%rbx |
144 .byte 0xf3,0xc3 | 140 .byte 0xf3,0xc3 |
145 | 141 |
146 | 142 |
147 #endif | 143 #endif |
OLD | NEW |