|
562 | 562 | (set_attr "predicable" "yes,no,no,yes,no")])
|
563 | 563 |
|
564 | 564 | (define_insn "*mul<mode>3"
|
565 |
| - [(set (match_operand:GPIM 0 "register_operand" "=q,q, r, r, r, r, r") |
566 |
| - (mult:GPIM (match_operand:GPIM 1 "register_operand" "%0,q, 0, r, 0, 0, r") |
567 |
| - (match_operand:GPIM 2 "nonmemory_operand" "q,0,rU06S0,rU06S0,S12S0,S32S0,S32S0")))] |
| 565 | + [(set (match_operand:GPI 0 "register_operand" "=q,q, r, r, r, r, r") |
| 566 | + (mult:GPI (match_operand:GPI 1 "register_operand" "%0,q, 0, r, 0, 0, r") |
| 567 | + (match_operand:GPI 2 "nonmemory_operand" "q,0,rU06S0,rU06S0,S12S0,S32S0,S32S0")))] |
568 | 568 | ""
|
569 | 569 | "@
|
570 | 570 | mpy<sfxtab>%?\\t%0,%1,%2
|
|
583 | 583 | [(cond_exec
|
584 | 584 | (match_operator 3 "ordered_comparison_operator"
|
585 | 585 | [(match_operand 4 "cc_register" "") (const_int 0)])
|
586 |
| - (set (match_operand:GPIM 0 "register_operand" "= r, r") |
587 |
| - (mult:GPIM (match_operand:GPIM 1 "register_operand" "% 0, 0") |
588 |
| - (match_operand:GPIM 2 "nonmemory_operand" "rU06S0,S32S0"))))] |
| 586 | + (set (match_operand:GPI 0 "register_operand" "= r, r") |
| 587 | + (mult:GPI (match_operand:GPI 1 "register_operand" "% 0, 0") |
| 588 | + (match_operand:GPI 2 "nonmemory_operand" "rU06S0,S32S0"))))] |
589 | 589 | ""
|
590 | 590 | "mpy<sfxtab>.%m3\\t%0,%1,%2"
|
591 | 591 | [(set_attr "length" "4,8")
|
|
594 | 594 | (define_insn "*mul<mode>3_cmp0"
|
595 | 595 | [(set (reg:CC_ZN CC_REGNUM)
|
596 | 596 | (compare:CC_ZN
|
597 |
| - (mult:GPIM |
598 |
| - (match_operand:GPIM 1 "register_operand" "% 0, r, 0, 0, r") |
599 |
| - (match_operand:GPIM 2 "nonmemory_operand" "rU06S0,rU06S0,S12S0,S32S0,S32S0")) |
| 597 | + (mult:GPI |
| 598 | + (match_operand:GPI 1 "register_operand" "% 0, r, 0, 0, r") |
| 599 | + (match_operand:GPI 2 "nonmemory_operand" "rU06S0,rU06S0,S12S0,S32S0,S32S0")) |
600 | 600 | (const_int 0)))
|
601 |
| - (set (match_operand:GPIM 0 "register_operand" "= r, r, r, r, r") |
602 |
| - (mult:GPIM (match_dup 1) (match_dup 2)))] |
| 601 | + (set (match_operand:GPI 0 "register_operand" "= r, r, r, r, r") |
| 602 | + (mult:GPI (match_dup 1) (match_dup 2)))] |
603 | 603 | ""
|
604 | 604 | "mpy<sfxtab>%?.f\\t%0,%1,%2"
|
605 | 605 | [(set_attr "length" "4,4,4,8,8")
|
|
610 | 610 | (define_insn "*mul<mode>3_cmp0_noout"
|
611 | 611 | [(set (reg:CC_ZN CC_REGNUM)
|
612 | 612 | (compare:CC_ZN
|
613 |
| - (mult:GPIM |
614 |
| - (match_operand:GPIM 0 "register_operand" "% r, r, r") |
615 |
| - (match_operand:GPIM 1 "nonmemory_operand" "rU06S0,S12S0,S32S0")) |
| 613 | + (mult:GPI |
| 614 | + (match_operand:GPI 0 "register_operand" "% r, r, r") |
| 615 | + (match_operand:GPI 1 "nonmemory_operand" "rU06S0,S12S0,S32S0")) |
616 | 616 | (const_int 0)))]
|
617 | 617 | ""
|
618 | 618 | "mpy<sfxtab>%?.f\\t0,%0,%1"
|
|
643 | 643 | (ANY_EXTEND:TI (match_operand:DI 1 "register_operand" "%0,r"))
|
644 | 644 | (ANY_EXTEND:TI (match_operand:DI 2 "register_operand" "r,r")))
|
645 | 645 | (const_int 64))))]
|
646 |
| - "TARGET_ARC64_MPY64" |
| 646 | + "" |
647 | 647 | "mpym<su_optab>l%?\\t%0,%1,%2"
|
648 | 648 | [(set_attr "type" "mpyl")
|
649 | 649 | (set_attr "length" "4")
|
|
653 | 653 | [(set (match_operand:TI 0 "register_operand")
|
654 | 654 | (mult:TI (ANY_EXTEND:TI (match_operand:DI 1 "register_operand"))
|
655 | 655 | (ANY_EXTEND:TI (match_operand:DI 2 "register_operand"))))]
|
656 |
| - "TARGET_ARC64_MPY64" |
| 656 | + "" |
657 | 657 | {
|
658 | 658 | rtx low = gen_reg_rtx (DImode);
|
659 | 659 | emit_insn (gen_muldi3 (low, operands[1], operands[2]));
|
|
670 | 670 | [(set (match_operand:TI 0 "register_operand")
|
671 | 671 | (mult:TI (zero_extend:TI (match_operand:DI 1 "register_operand"))
|
672 | 672 | (sign_extend:TI (match_operand:DI 2 "register_operand"))))]
|
673 |
| - "TARGET_ARC64_MPY64" |
| 673 | + "" |
674 | 674 | {
|
675 | 675 | rtx low = gen_reg_rtx (DImode);
|
676 | 676 | emit_insn (gen_muldi3 (low, operands[1], operands[2]));
|
|
692 | 692 | (sign_extend:TI
|
693 | 693 | (match_operand:DI 2 "register_operand" " r")))
|
694 | 694 | (const_int 64))))]
|
695 |
| - "TARGET_ARC64_MPY64" |
| 695 | + "" |
696 | 696 | "mpymsul\t%0,%2,%1"
|
697 | 697 | [(set_attr "type" "mpyl")
|
698 | 698 | (set_attr "length" "4")])
|
0 commit comments