Commit 4874b0d
processor: fix multi-target matching + validate CPU targets at startup
- sysimg_init_cb: resolve only the first target from the cpu_target
string (matching old behavior). "native" detects the host; explicit
names like "haswell" use those features for matching.
- jl_cpu_has_fma: check JIT target features, not host features
- Add jl_check_cpu_target() called from init.c to validate the CPU
target before sysimage loading: errors on unknown CPU names,
multiple targets without --output-o, and clone_all without --output-o
- Restore --cpu-target=help support via tp::print_cpu_targets()
Update cpufeatures pin to c64dc9b which excludes ermsb/fsrm from
hw_feature_mask and adds print_cpu_targets().
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d99cf3d commit 4874b0d
File tree
5 files changed
+66
-25
lines changed- deps
- src
- test
5 files changed
+66
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
| 588 | + | |
| 589 | + | |
596 | 590 | | |
597 | 591 | | |
598 | 592 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | 377 | | |
391 | 378 | | |
392 | 379 | | |
| |||
414 | 401 | | |
415 | 402 | | |
416 | 403 | | |
417 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
418 | 407 | | |
419 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
420 | 418 | | |
421 | 419 | | |
422 | 420 | | |
| |||
611 | 609 | | |
612 | 610 | | |
613 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
614 | 653 | | |
615 | 654 | | |
616 | 655 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
200 | 207 | | |
201 | 208 | | |
202 | 209 | | |
| |||
0 commit comments