Commit fbb7fa2
committed
[stinkytofu] Add DPP modifier support in RawAsmParser
VOP instructions with DPP modifiers (row_xmask, row_shl, row_ror,
etc.) were falling to TEXTBLOCK because VOP microcode formats have
no modKey mapping. DPP is an add-on encoding variant layered on top
of the base VOP format — the assembler picks a wider encoding when
DPP modifiers are present.
Add field-based DPP detection after modifier token collection via
hasDPPFields() helper. When modKey is empty and DPP fields are
present, assign modKey = "mod.dpp" post-hoc. This avoids mapping all
VOP formats to DPP which would interfere with non-DPP VOP modifiers.
Add dppCtrl string field to DPPModifiers for unmodelled DPP modes
(row_xmask, row_shl, etc.). Existing typed fields (row_shr,
row_bcast, bound_ctrl) preserved for rocisa pipeline compatibility.
Add mod.dpp deserialize support in ModifierSerializer.1 parent e81d594 commit fbb7fa2
4 files changed
Lines changed: 58 additions & 4 deletions
File tree
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
276 | 281 | | |
277 | 282 | | |
278 | 283 | | |
279 | | - | |
| 284 | + | |
| 285 | + | |
280 | 286 | | |
281 | 287 | | |
282 | 288 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
471 | 475 | | |
472 | | - | |
| 476 | + | |
473 | 477 | | |
474 | 478 | | |
475 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
494 | 512 | | |
495 | 513 | | |
496 | 514 | | |
| |||
698 | 716 | | |
699 | 717 | | |
700 | 718 | | |
701 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
702 | 729 | | |
703 | 730 | | |
704 | 731 | | |
| |||
739 | 766 | | |
740 | 767 | | |
741 | 768 | | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
742 | 785 | | |
743 | 786 | | |
744 | 787 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
0 commit comments