Commit 5259b21
Automerge: [RISCV] Select signed bitfield extract for Xqcibm (#143536)
The Xqcibm Bit Manipulation extension has the `qc.ext` instruction that
can extract a subset of bits from the source register to the destination
register.
Unlike the corresponding instructions in `XTHeadbb` and `XAndesPerf`
which extract the bits between `Msb` and `Lsb`, the `qc.ext` instruction
extracts `width` bits from an offset that is determined by the `shamt`.File tree
2 files changed
+70
-10
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV
2 files changed
+70
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
605 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
606 | 614 | | |
607 | 615 | | |
608 | 616 | | |
| |||
615 | 623 | | |
616 | 624 | | |
617 | 625 | | |
618 | | - | |
619 | | - | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
620 | 632 | | |
621 | 633 | | |
622 | 634 | | |
| |||
627 | 639 | | |
628 | 640 | | |
629 | 641 | | |
630 | | - | |
| 642 | + | |
631 | 643 | | |
632 | 644 | | |
633 | 645 | | |
| |||
643 | 655 | | |
644 | 656 | | |
645 | 657 | | |
646 | | - | |
647 | | - | |
| 658 | + | |
| 659 | + | |
648 | 660 | | |
649 | 661 | | |
650 | 662 | | |
651 | 663 | | |
652 | | - | |
| 664 | + | |
653 | 665 | | |
654 | 666 | | |
655 | 667 | | |
| |||
663 | 675 | | |
664 | 676 | | |
665 | 677 | | |
666 | | - | |
667 | | - | |
| 678 | + | |
| 679 | + | |
668 | 680 | | |
669 | 681 | | |
670 | 682 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
0 commit comments