Lines Matching refs:arg2
552 (define-pmacro (binary-int-op name insn comment opc1 opc2 op arg1 arg2)
556 (.str insn " $" arg1 ",$" arg2)
557 (+ opc1 opc2 arg1 arg2)
559 (set vbit ((.sym op -oflag) arg2 arg1 (const 0)))
560 (set cbit ((.sym op -cflag) arg2 arg1 (const 0)))
561 (set arg2 (op arg2 arg1))
562 (set-z-and-n arg2))
569 (define-pmacro (binary-int-op-n name insn comment opc1 opc2 op arg1 arg2)
573 (.str insn " $" arg1 ",$" arg2)
574 (+ opc1 opc2 arg1 arg2)
575 (set arg2 (op arg2 arg1))
582 (define-pmacro (binary-int-op-c name insn comment opc1 opc2 op arg1 arg2)
586 (.str insn " $" arg1 ",$" arg2)
587 (+ opc1 opc2 arg1 arg2)
589 (set tmp ((.sym op c) arg2 arg1 cbit))
590 (set vbit ((.sym op -oflag) arg2 arg1 cbit))
591 (set cbit ((.sym op -cflag) arg2 arg1 cbit))
592 (set arg2 tmp)
593 (set-z-and-n arg2))
612 (define-pmacro (int-cmp name insn comment opc1 opc2 arg1 arg2)
616 (.str insn " $" arg1 ",$" arg2)
617 (+ opc1 opc2 arg1 arg2)
619 (set vbit (sub-oflag arg2 arg1 (const 0)))
620 (set cbit (sub-cflag arg2 arg1 (const 0)))
621 (set tmp1 (sub arg2 arg1))
634 (define-pmacro (binary-logical-op name insn comment opc1 opc2 op arg1 arg2)
638 (.str insn " $" arg1 ",$" arg2)
639 (+ opc1 opc2 arg1 arg2)
641 (set arg2 (op arg2 arg1))
642 (set-z-and-n arg2))
657 (define-pmacro (binary-logical-op-m name insn comment opc1 opc2 mode op arg1 arg2)
661 (.str insn " $" arg1 ",@$" arg2)
662 (+ opc1 opc2 arg1 arg2)
664 (set mode tmp (op mode (mem mode arg2) arg1))
666 (set mode (mem mode arg2) tmp))
727 (define-pmacro (binary-or-op-mh name insn opc1 opc2 op arg1 arg2)
731 (.str name " $" arg1 ",@$" arg2)
732 (+ opc1 opc2 arg1 arg2)
733 (set QI (mem QI arg2)
736 (mem QI arg2)))
917 (define-pmacro (leftshift-op name insn opc1 opc2 arg1 arg2 shift-expr)
919 (.str insn " " arg1 "," arg2)
921 (.str insn " $" arg1 ",$" arg2)
922 (+ opc1 opc2 arg1 arg2)
927 (set cbit (ne (and arg2
931 (set arg2 (sll arg2 shift)))
933 (set nbit (lt arg2 (const 0)))
934 (set zbit (eq arg2 (const 0))))
942 (define-pmacro (rightshift-op name insn opc1 opc2 op arg1 arg2 shift-expr)
944 (.str insn " " arg1 "," arg2)
946 (.str insn " $" arg1 ",$" arg2)
947 (+ opc1 opc2 arg1 arg2)
952 (set cbit (ne (and arg2
956 (set arg2 (op arg2 shift)))
958 (set nbit (lt arg2 (const 0)))
959 (set zbit (eq arg2 (const 0))))
1018 (define-pmacro (basic-ld name insn opc1 opc2 mode arg1 arg2)
1020 (.str name " @" arg1 "," arg2)
1022 (.str name " @$" arg1 ",$" arg2)
1023 (+ opc1 opc2 arg1 arg2)
1024 (set arg2 (mem mode arg1))
1033 (define-pmacro (r13base-ld name insn opc1 opc2 mode arg1 arg2)
1035 (.str insn " @(R13," arg1 ")," arg2)
1037 (.str insn " @($R13,$" arg1 "),$" arg2)
1038 (+ opc1 opc2 arg1 arg2)
1039 (set arg2 (mem mode (add arg1 (reg h-gr 13))))
1048 (define-pmacro (r14base-ld name insn opc1 mode arg1 arg2)
1050 (.str insn " @(R14," arg1 ")," arg2)
1052 (.str insn " @($R14,$" arg1 "),$" arg2)
1053 (+ opc1 arg1 arg2)
1054 (set arg2 (mem mode (add arg1 (reg h-gr 14))))
1122 (define-pmacro (basic-st name insn opc1 opc2 mode arg1 arg2)
1124 (.str name " " arg1 ",@" arg2)
1126 (.str name " $" arg1 ",@$" arg2)
1127 (+ opc1 opc2 arg1 arg2)
1128 (set (mem mode arg2) arg1)
1137 (define-pmacro (r13base-st name insn opc1 opc2 mode arg1 arg2)
1139 (.str insn " " arg1 ",@(R13," arg2 ")")
1141 (.str insn " $" arg1 ",@($R13,$" arg2 ")")
1142 (+ opc1 opc2 arg1 arg2)
1143 (set (mem mode (add arg2 (reg h-gr 13))) arg1)
1152 (define-pmacro (r14base-st name insn opc1 mode arg1 arg2)
1154 (.str insn " " arg1 ",@(R14," arg2 ")")
1156 (.str insn " $" arg1 ",@($R14,$" arg2 ")")
1157 (+ opc1 arg1 arg2)
1158 (set (mem mode (add arg2 (reg h-gr 14))) arg1)
1215 (define-pmacro (mov2gr name opc1 opc2 arg1 arg2)
1217 (.str "mov " arg1 "," arg2)
1219 (.str "mov $" arg1 ",$" arg2)
1220 (+ opc1 opc2 arg1 arg2)
1221 (set arg2 arg1)
1583 (define-pmacro (cop-stub name insn opc1 opc2 opc3 arg1 arg2)
1585 (.str insn " u4c,ccc,CRj," arg1 "," arg2)
1587 (.str insn " $u4c,$ccc,$" arg1 ",$" arg2)
1588 (+ opc1 opc2 opc3 u4c ccc arg1 arg2)