Commit 7abf5be
Fix Windows MSVC build: hoist CB*_I8_RECIP out of __ARM_NEON guard (#17)
Round 11 introduced three int8 codebook reciprocal constants
(CB3_I8_RECIP, CB_I8_RECIP, CB5_I8_RECIP) inside #ifdef __ARM_NEON
blocks, but the per_block_scale computation that uses them lives
*outside* the guard and runs on every platform. NEON builds happened
to compile; MSVC x64 errored with C2065 undeclared identifier on
tq_turbo_kv.c lines 365, 585, 1324.
These are plain `static const float`s, not NEON-typed — hoist them
out of the guards so all platforms see the declarations. No
behavior change.
Fixes 8 consecutive Windows CI failures since Round 10.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent bb62094 commit 7abf5be
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
345 | | - | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| |||
559 | 560 | | |
560 | 561 | | |
561 | 562 | | |
| 563 | + | |
| 564 | + | |
562 | 565 | | |
563 | 566 | | |
564 | 567 | | |
565 | 568 | | |
566 | | - | |
567 | 569 | | |
568 | 570 | | |
569 | 571 | | |
| |||
1299 | 1301 | | |
1300 | 1302 | | |
1301 | 1303 | | |
| 1304 | + | |
| 1305 | + | |
1302 | 1306 | | |
1303 | 1307 | | |
1304 | 1308 | | |
1305 | | - | |
1306 | 1309 | | |
1307 | 1310 | | |
1308 | 1311 | | |
| |||
0 commit comments