Lines Matching refs:rs2
872 Format(instr, "add 'rd, 'rs1, 'rs2");
876 Format(instr, "neg 'rd, 'rs2");
878 Format(instr, "sub 'rd, 'rs1, 'rs2");
881 Format(instr, "sll 'rd, 'rs1, 'rs2");
887 Format(instr, "sgtz 'rd, 'rs2");
889 Format(instr, "slt 'rd, 'rs1, 'rs2");
893 Format(instr, "snez 'rd, 'rs2");
895 Format(instr, "sltu 'rd, 'rs1, 'rs2");
898 Format(instr, "xor 'rd, 'rs1, 'rs2");
901 Format(instr, "srl 'rd, 'rs1, 'rs2");
904 Format(instr, "sra 'rd, 'rs1, 'rs2");
907 Format(instr, "or 'rd, 'rs1, 'rs2");
910 Format(instr, "and 'rd, 'rs1, 'rs2");
914 Format(instr, "addw 'rd, 'rs1, 'rs2");
918 Format(instr, "negw 'rd, 'rs2");
920 Format(instr, "subw 'rd, 'rs1, 'rs2");
923 Format(instr, "sllw 'rd, 'rs1, 'rs2");
926 Format(instr, "srlw 'rd, 'rs1, 'rs2");
929 Format(instr, "sraw 'rd, 'rs1, 'rs2");
934 Format(instr, "mul 'rd, 'rs1, 'rs2");
937 Format(instr, "mulh 'rd, 'rs1, 'rs2");
940 Format(instr, "mulhsu 'rd, 'rs1, 'rs2");
943 Format(instr, "mulhu 'rd, 'rs1, 'rs2");
946 Format(instr, "div 'rd, 'rs1, 'rs2");
949 Format(instr, "divu 'rd, 'rs1, 'rs2");
952 Format(instr, "rem 'rd, 'rs1, 'rs2");
955 Format(instr, "remu 'rd, 'rs1, 'rs2");
959 Format(instr, "mulw 'rd, 'rs1, 'rs2");
962 Format(instr, "divw 'rd, 'rs1, 'rs2");
965 Format(instr, "divuw 'rd, 'rs1, 'rs2");
968 Format(instr, "remw 'rd, 'rs1, 'rs2");
971 Format(instr, "remuw 'rd, 'rs1, 'rs2");
1000 Format(instr, "sc.w'a 'rd, 'rs2, ('rs1)");
1003 Format(instr, "amoswap.w'a 'rd, 'rs2, ('rs1)");
1006 Format(instr, "amoadd.w'a 'rd, 'rs2, ('rs1)");
1009 Format(instr, "amoxor.w'a 'rd, 'rs2, ('rs1)");
1012 Format(instr, "amoand.w'a 'rd, 'rs2, ('rs1)");
1015 Format(instr, "amoor.w'a 'rd, 'rs2, ('rs1)");
1018 Format(instr, "amomin.w'a 'rd, 'rs2, ('rs1)");
1021 Format(instr, "amomax.w'a 'rd, 'rs2, ('rs1)");
1024 Format(instr, "amominu.w'a 'rd, 'rs2, ('rs1)");
1027 Format(instr, "amomaxu.w'a 'rd, 'rs2, ('rs1)");
1034 Format(instr, "sc.d'a 'rd, 'rs2, ('rs1)");
1037 Format(instr, "amoswap.d'a 'rd, 'rs2, ('rs1)");
1040 Format(instr, "amoadd.d'a 'rd, 'rs2, ('rs1)");
1043 Format(instr, "amoxor.d'a 'rd, 'rs2, ('rs1)");
1046 Format(instr, "amoand.d'a 'rd, 'rs2, ('rs1)");
1049 Format(instr, "amoor.d'a 'rd, 'rs2, ('rs1)");
1052 Format(instr, "amomin.d'a 'rd, 'rs2, ('rs1)");
1055 Format(instr, "amoswap.d'a 'rd, 'rs2, ('rs1)");
1058 Format(instr, "amominu.d'a 'rd, 'rs2, ('rs1)");
1061 Format(instr, "amomaxu.d'a 'rd, 'rs2, ('rs1)");
1072 // OP_FP instructions (F/D) uses func7 first. Some further uses fun3 and rs2()
1648 Format(instr, "sb 'rs2, 'offS('rs1)");
1651 Format(instr, "sh 'rs2, 'offS('rs1)");
1654 Format(instr, "sw 'rs2, 'offS('rs1)");
1658 Format(instr, "sd 'rs2, 'offS('rs1)");
1677 Format(instr, "beq 'rs1, 'rs2, 'offB");
1680 Format(instr, "bne 'rs1, 'rs2, 'offB");
1683 Format(instr, "blt 'rs1, 'rs2, 'offB");
1686 Format(instr, "bge 'rs1, 'rs2, 'offB");
1689 Format(instr, "bltu 'rs1, 'rs2, 'offB");
1692 Format(instr, "bgeu 'rs1, 'rs2, 'offB");
2640 Format(instr, "vsetvl 'rd, 'rs1, 'rs2");
2694 snprintf(str, sizeof(str), "vlse%d.v 'vd, ('rs1), 'rs2'vm",
2718 snprintf(str, sizeof(str), "vlsseg%de%d.v 'vd, ('rs1), 'rs2'vm",
2777 snprintf(str, sizeof(str), "vsse%d.v 'vd, ('rs1), 'rs2'vm",
2799 snprintf(str, sizeof(str), "vssseg%de%d.v 'vd, ('rs1), 'rs2'vm",