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 .hidden OPENSSL_ia32_cpuid | 5 .hidden OPENSSL_ia32_cpuid |
6 .type OPENSSL_ia32_cpuid,@function | 6 .type OPENSSL_ia32_cpuid,@function |
7 .align 16 | 7 .align 16 |
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 .Lnocacheinfo: | 99 .Lnocacheinfo: |
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 .Lnotintel | 105 jne .Lnotintel |
106 orl $1073741824,%edx | 106 orl $1073741824,%edx |
107 andb $15,%ah | |
108 cmpb $15,%ah | |
109 jne .Lnotintel | |
110 orl $1048576,%edx | |
111 .Lnotintel: | 107 .Lnotintel: |
112 btl $28,%edx | 108 btl $28,%edx |
113 jnc .Lgeneric | 109 jnc .Lgeneric |
114 andl $4026531839,%edx | 110 andl $4026531839,%edx |
115 cmpl $0,%r10d | 111 cmpl $0,%r10d |
116 je .Lgeneric | 112 je .Lgeneric |
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 .Ldone: | 136 .Ldone: |
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 .size OPENSSL_ia32_cpuid,.-OPENSSL_ia32_cpuid | 141 .size OPENSSL_ia32_cpuid,.-OPENSSL_ia32_cpuid |
146 | 142 |
147 #endif | 143 #endif |
OLD | NEW |