Commit 7ed0e8c
fix: add SAFE_VZEROUPPER macro to ws_base64_asm.asm to fix NASM build
The VBMI2 path used SAFE_VZEROUPPER but the macro was never defined in
this file. NASM parsed it as a bare non-local label, breaking local
label scope so .avx512vbmi_path/.avx2_path/.sse2_path/.scalar_path
became unreachable from the dispatch code under ws_base64_encode.
Also converts remaining bare vzeroupper calls in the VBMI and AVX2
tail paths to use the macro for AMD consistency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3c5bd2e commit 7ed0e8c
2 files changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
| |||
370 | 378 | | |
371 | 379 | | |
372 | 380 | | |
373 | | - | |
| 381 | + | |
374 | 382 | | |
375 | 383 | | |
376 | 384 | | |
| |||
476 | 484 | | |
477 | 485 | | |
478 | 486 | | |
479 | | - | |
| 487 | + | |
480 | 488 | | |
481 | 489 | | |
482 | 490 | | |
| |||
0 commit comments