Lines Matching refs:rs

232     let rs = 1;
237 let rs = 0;
258 def Br : I16rr<0b0100, (outs), (ins GR16:$rs),
259 "br\t$rs",
260 [(brind GR16:$rs)]>;
288 (outs), (ins GR16:$rs),
289 "call\t$rs", [(MSP430call GR16:$rs)]>;
293 def CALLn : II16n<0b101, (outs), (ins indreg:$rs), "call\t$rs", []>;
294 def CALLp : II16p<0b101, (outs), (ins postreg:$rs), "call\t$rs", []>;
305 let rs = 1;
309 def PUSH8r : II8r<0b100, (outs), (ins GR8:$rs), "push.b\t$rs", []>;
310 def PUSH16r : II16r<0b100, (outs), (ins GR16:$rs), "push\t$rs", []>;
320 (outs GR8:$rd), (ins GR8:$rs),
321 "mov.b\t{$rs, $rd}",
324 (outs GR16:$rd), (ins GR16:$rs),
325 "mov\t{$rs, $rd}",
358 (outs GR8:$rd), (ins indreg:$rs),
359 "mov.b\t{$rs, $rd}",
360 [(set GR8:$rd, (load addr:$rs))]>;
362 (outs GR16:$rd), (ins indreg:$rs),
363 "mov\t{$rs, $rd}",
364 [(set GR16:$rd, (load addr:$rs))]>;
369 (outs GR16:$rd), (ins GR8:$rs),
370 "mov.b\t{$rs, $rd}",
371 [(set GR16:$rd, (zext GR8:$rs))]>;
378 let mayLoad = 1, hasExtraDefRegAllocReq = 1, Constraints = "$rs = $wb" in {
380 (outs GR8:$rd, GR16:$wb), (ins postreg:$rs),
381 "mov.b\t{$rs, $rd}", []>;
383 (outs GR16:$rd, GR16:$wb), (ins postreg:$rs),
384 "mov\t{$rs, $rd}", []>;
421 (outs), (ins memdst:$dst, GR8:$rs),
422 "mov.b\t{$rs, $dst}",
423 [(store GR8:$rs, addr:$dst)]>;
425 (outs), (ins memdst:$dst, GR16:$rs),
426 "mov\t{$rs, $dst}",
427 [(store GR16:$rs, addr:$dst)]>;
438 def MOV8mn : I8mn<0b0100, (outs), (ins memdst:$dst, indreg:$rs),
439 "mov.b\t{$rs, $dst}", []>;
440 def MOV16mn : I16mn<0b0100, (outs), (ins memdst:$dst, indreg:$rs),
441 "mov\t{$rs, $dst}", []>;
451 def 8rr : I8rr<opcode, (outs GR8:$rd), (ins GR8:$src2, GR8:$rs),
452 !strconcat(asmstring, ".b\t$rs, $rd"),
453 [(set GR8:$rd, (node GR8:$src2, GR8:$rs)),
455 def 16rr : I16rr<opcode, (outs GR16:$rd), (ins GR16:$src2, GR16:$rs),
456 !strconcat(asmstring, "\t$rs, $rd"),
457 [(set GR16:$rd, (node GR16:$src2, GR16:$rs)),
468 def 8rn : I8rn<opcode, (outs GR8:$rd), (ins GR8:$src2, indreg:$rs),
469 !strconcat(asmstring, ".b\t$rs, $rd"), []>;
470 def 16rn : I16rn<opcode, (outs GR16:$rd), (ins GR16:$src2, indreg:$rs),
471 !strconcat(asmstring, "\t$rs, $rd"), []>;
474 Constraints = "$rs = $wb, $src2 = $rd" in {
475 def 8rp : I8rp<opcode, (outs GR8:$rd, GR16:$wb), (ins GR8:$src2, postreg:$rs),
476 !strconcat(asmstring, ".b\t$rs, $rd"), []>;
477 def 16rp : I16rp<opcode, (outs GR16:$rd, GR16:$wb), (ins GR16:$src2, postreg:$rs),
478 !strconcat(asmstring, "\t$rs, $rd"), []>;
497 def 8mr : I8mr<opcode, (outs), (ins memdst:$dst, GR8:$rs),
498 !strconcat(asmstring, ".b\t$rs, $dst"),
499 [(store (node (load addr:$dst), GR8:$rs), addr:$dst),
501 def 16mr : I16mr<opcode, (outs), (ins memdst:$dst, GR16:$rs),
502 !strconcat(asmstring, "\t$rs, $dst"),
503 [(store (node (load addr:$dst), GR16:$rs), addr:$dst),
531 def 8mn : I8mn<opcode, (outs), (ins memdst:$dst, indreg:$rs),
532 !strconcat(asmstring, ".b\t$rs, $dst"), []>;
533 def 16mn : I16mn<opcode, (outs), (ins memdst:$dst, indreg:$rs),
534 !strconcat(asmstring, "\t$rs, $dst"), []>;
535 def 8mp : I8mp<opcode, (outs), (ins memdst:$dst, postreg:$rs),
536 !strconcat(asmstring, ".b\t$rs, $dst"), []>;
537 def 16mp : I16mp<opcode, (outs), (ins memdst:$dst, postreg:$rs),
538 !strconcat(asmstring, "\t$rs, $dst"), []>;
627 let Constraints = "$rs = $rd" in {
631 (outs GR8:$rd), (ins GR8:$rs),
633 [(set GR8:$rd, (MSP430rra GR8:$rs)),
636 (outs GR16:$rd), (ins GR16:$rs),
638 [(set GR16:$rd, (MSP430rra GR16:$rs)),
643 (outs GR8:$rd), (ins GR8:$rs),
645 [(set GR8:$rd, (MSP430rrc GR8:$rs)),
648 (outs GR16:$rd), (ins GR16:$rs),
650 [(set GR16:$rd, (MSP430rrc GR16:$rs)),
655 (outs GR16:$rd), (ins GR16:$rs),
657 [(set GR16:$rd, (sext_inreg GR16:$rs, i8)),
664 (outs GR16:$rd), (ins GR16:$rs),
665 "mov.b\t{$rs, $rd}",
666 [(set GR16:$rd, (zext (trunc GR16:$rs)))]>;
669 (outs GR16:$rd), (ins GR16:$rs),
671 [(set GR16:$rd, (bswap GR16:$rs))]>;
688 def RRA8n : II8n<0b010, (outs), (ins indreg:$rs), "rra.b\t$rs", []>;
689 def RRA16n : II16n<0b010, (outs), (ins indreg:$rs), "rra\t$rs", []>;
690 def RRA8p : II8p<0b010, (outs), (ins postreg:$rs), "rra.b\t$rs", []>;
691 def RRA16p : II16p<0b010, (outs), (ins postreg:$rs), "rra\t$rs", []>;
705 def RRC8n : II8n<0b000, (outs), (ins indreg:$rs), "rrc.b\t$rs", []>;
706 def RRC16n : II16n<0b000, (outs), (ins indreg:$rs), "rrc\t$rs", []>;
707 def RRC8p : II8p<0b000, (outs), (ins postreg:$rs), "rrc.b\t$rs", []>;
708 def RRC16p : II16p<0b000, (outs), (ins postreg:$rs), "rrc\t$rs", []>;
718 def SEXT16n : II16n<0b011, (outs), (ins indreg:$rs), "sxt\t$rs", []>;
719 def SEXT16p : II16p<0b011, (outs), (ins postreg:$rs), "sxt\t$rs", []>;
727 def SWPB16n : II16n<0b001, (outs), (ins indreg:$rs), "swpb\t$rs", []>;
728 def SWPB16p : II16p<0b001, (outs), (ins postreg:$rs), "swpb\t$rs", []>;
733 (outs), (ins GR8:$rd, GR8:$rs),
734 "cmp.b\t$rs, $rd",
735 [(MSP430cmp GR8:$rd, GR8:$rs), (implicit SR)]>;
737 (outs), (ins GR16:$rd, GR16:$rs),
738 "cmp\t$rs, $rd",
739 [(MSP430cmp GR16:$rd, GR16:$rs), (implicit SR)]>;
793 (outs), (ins GR8:$rd, indreg:$rs), "cmp.b\t$rs, $rd", []>;
795 (outs), (ins GR16:$rd, indreg:$rs), "cmp\t$rs, $rd", []>;
798 (outs), (ins GR8:$rd, postreg:$rs), "cmp.b\t$rs, $rd", []>;
800 (outs), (ins GR16:$rd, postreg:$rs), "cmp\t$rs, $rd", []>;
803 (outs), (ins memsrc:$dst, GR8:$rs),
804 "cmp.b\t$rs, $dst",
805 [(MSP430cmp (load addr:$dst), GR8:$rs),
808 (outs), (ins memsrc:$dst, GR16:$rs),
809 "cmp\t$rs, $dst",
810 [(MSP430cmp (load addr:$dst), GR16:$rs),
822 def CMP8mn : I8mn<0b1001, (outs), (ins memsrc:$dst, indreg:$rs),
823 "cmp.b\t$rs, $dst", []>;
824 def CMP16mn : I16mn<0b1001, (outs), (ins memsrc:$dst, indreg:$rs),
825 "cmp\t$rs, $dst", []>;
827 def CMP8mp : I8mp<0b1001, (outs), (ins memsrc:$dst, postreg:$rs),
828 "cmp.b\t$rs, $dst", []>;
829 def CMP16mp : I16mp<0b1001, (outs), (ins memsrc:$dst, postreg:$rs),
830 "cmp\t$rs, $dst", []>;
836 (outs), (ins GR8:$rd, GR8:$rs),
837 "bit.b\t$rs, $rd",
838 [(MSP430cmp (and_su GR8:$rd, GR8:$rs), 0),
841 (outs), (ins GR16:$rd, GR16:$rs),
842 "bit\t$rs, $rd",
843 [(MSP430cmp (and_su GR16:$rd, GR16:$rs), 0),
879 def BIT8rn : I8rn<0b1011, (outs), (ins GR8:$rd, indreg:$rs),
880 "bit.b\t$rs, $rd", []>;
881 def BIT16rn : I16rn<0b1011, (outs), (ins GR16:$rd, indreg:$rs),
882 "bit\t$rs, $rd", []>;
884 def BIT8rp : I8rp<0b1011, (outs), (ins GR8:$rd, postreg:$rs),
885 "bit.b\t$rs, $rd", []>;
886 def BIT16rp : I16rp<0b1011, (outs), (ins GR16:$rd, postreg:$rs),
887 "bit\t$rs, $rd", []>;
890 (outs), (ins memsrc:$dst, GR8:$rs),
891 "bit.b\t$rs, $dst",
892 [(MSP430cmp (and_su (load addr:$dst), GR8:$rs), 0),
895 (outs), (ins memsrc:$dst, GR16:$rs),
896 "bit\t$rs, $dst",
897 [(MSP430cmp (and_su (load addr:$dst), GR16:$rs), 0),
936 def BIT8mn : I8mn<0b1011, (outs), (ins memsrc:$dst, indreg:$rs),
937 "bit.b\t$rs, $dst", []>;
938 def BIT16mn : I16mn<0b1011, (outs), (ins memsrc:$dst, indreg:$rs),
939 "bit\t$rs, $dst", []>;
941 def BIT8mp : I8mp<0b1011, (outs), (ins memsrc:$dst, postreg:$rs),
942 "bit.b\t$rs, $dst", []>;
943 def BIT16mp : I16mp<0b1011, (outs), (ins memsrc:$dst, postreg:$rs),
944 "bit\t$rs, $dst", []>;