Commit 272ec41
Turn off AVX2 lazy parsing if there is no PCLMUL.
Seemingly there are some obscure Chinese x86 CPUs that support
AVX2 and not PCLMUL, even though the former came out years
after the latter. Our AVX2 path had assumed (128-bit) PCLMUL
was available and would crash on such CPUs. Thus, check for
the correct CPUID flag (which we add support for) and go back
to the SSE2 path if so.
Fixed: 413722108
Change-Id: If4af8b408d380ada41d058e6af5bf57adbf1ad2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6494806
Commit-Queue: Steinar H Gunderson <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1458810}
CrOS-Libchrome-Original-Commit: abf09a01b4ceaf11d2d4d27d078e0ede589eb6271 parent da42832 commit 272ec41
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| 155 | + | |
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
| |||
0 commit comments