/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20021024-1.c | 14 unsigned rs1, rs2, rd; local 17 rs2 = (rop >> 23) & 0x1ff; 22 m = r[rs1] + r[rs2];
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/Instruction/RISCV/ |
H A D | EmulateInstructionRISCV.cpp | 168 static bool CompareB(uint64_t rs1, uint64_t rs2, uint32_t funct3) { 171 return rs1 == rs2; 173 return rs1 != rs2; 175 return int64_t(rs1) < int64_t(rs2); 177 return int64_t(rs1) >= int64_t(rs2); 179 return rs1 < rs2; 181 return rs1 >= rs2; 246 inst.rs2.Read(emulator), 247 [&](uint64_t rs2) { return emulator.WriteMem<T>(*addr, rs2); }) [all...] |
H A D | RISCVInstructions.h | 53 Rs rs2; \ 69 Rs rs2; \ 89 Rs rs2; \ 104 Rs rs2; member in struct:lldb_private::B
|
H A D | RISCVCInstructions.h | 262 auto rs2 = DecodeCR_RS2(inst); local 265 return ADD{rd, Rs{0}, rs2};
|
/openbsd-current/sys/arch/m88k/m88k/ |
H A D | db_disasm.c | 355 u_int32_t rs2 = (inst >> 0) & 0x1f; local 358 if (rs1 != rs2 && (dir == 0x02 || dir == 0x03)) 384 u_int32_t rs2 = inst & 0x1f; local 412 db_printf("x%d,x%d,x%d", rd, rs1, rs2); 414 db_printf("r%d,r%d,r%d", rd, rs1, rs2); 420 db_printf("x%d, x%d", rd, rs2); 422 db_printf("r%d, r%d", rd, rs2); 427 db_printf("x%d, x%d", rd, rs2); 429 db_printf("r%d, r%d", rd, rs2); 435 db_printf("x%d, x%d", rs1, rs2); 469 u_int32_t rs2 = inst & 0x1f; local 485 u_int32_t rs2 = inst & 0x1f; local 607 u_int32_t rs2 = inst & 0x1f; local 676 u_int32_t rs2 = inst & 0x1f; local 749 u_int32_t rs2 = inst & 0x1f; local 766 u_int32_t rs2 = inst & 0x1f; local 799 u_int32_t rs2 = inst & 0x1f; local [all...] |
H A D | m88110_fp.c | 225 u_int rf, rd, rs1, rs2, t1, t2, td, tmax, opcode; local 236 rs2 = insn & 0x1f; 323 m88110_fpu_fetch(frame, rs2, t2, tmax, &arg2); 337 m88110_fpu_fetch(frame, rs2, t2, tmax, &dest); 342 m88110_fpu_fetch(frame, rs2, FTYPE_INT, td, &dest); 349 m88110_fpu_fetch(frame, rs2, t2, tmax, &arg2); 364 m88110_fpu_fetch(frame, rs2, t2, tmax, &arg2); 379 m88110_fpu_fetch(frame, rs2, t2, tmax, &arg2); 385 m88110_fpu_fetch(frame, rs2, t2, t2, &dest); 404 m88110_fpu_fetch(frame, rs2, t [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/ |
H A D | dlx-dis.c | 37 unsigned char opc, rs1, rs2, rd; variable 171 (*info->fprintf_func) (info->stream, ",r%d", (int)rs2); 212 (*info->fprintf_func) (info->stream, "r%d,", (int)rs2); 219 (*info->fprintf_func) (info->stream, "r%d,", (int)rs2); 255 (*info->fprintf_func) (info->stream, "r%d", (int)rs2); 310 (*info->fprintf_func) (info->stream, "r%d,", (int)rs2); 464 rs2 = dlx_get_rs2 (insn_word); 473 " rs2 = 0x%02x\n" 478 opc, rs1, rs2, rd, func, imm16, imm26);
|
/openbsd-current/sys/arch/sparc64/fpu/ |
H A D | fpu.c | 593 int opf = instr.i_opf.i_opf, rs1, rs2, rtype, cx, fsr; local 600 if ((rs2 = fpu_regoffset(instr.i_opf.i_rs2, rtype)) < 0) 604 fpu_explode(fe, &fe->fe_f2, rtype, rs2); 633 int opf = instr.i_opf.i_opf, rd, rtype, rs1, rs2; local 640 if ((rs2 = fpu_regoffset(instr.i_opf.i_rs2, rtype)) < 0) 646 fpu_explode(fe, &fe->fe_f2, rtype, rs2); 662 int opf = instr.i_opf.i_opf, rd, rdtype, rstype, rs1, rs2; local 670 if ((rs2 = fpu_regoffset(instr.i_opf.i_rs2, rstype)) < 0) 676 fpu_explode(fe, &fe->fe_f2, rstype, rs2); 692 int opf = instr.i_opf.i_opf, rd, rtype, rs1, rs2; local 721 int opf = instr.i_opf.i_opf, rd, rtype, rs1, rs2; local 750 int opf = instr.i_opf.i_opf, rd, rtype, rs1, rs2; local 826 int rtype, rd, rs2, rs1; local [all...] |
/openbsd-current/sys/arch/sparc64/include/ |
H A D | instr.h | 226 * 1 bit of imm=0 + 8 bits of asi + 5 bits of rs2 [reg & mem] 228 * 9 bits of copressor `opf' opcode + 5 bits of rs2 [reg only] 290 * 1 bit of imm=0 + 8 bits of asi + 5 bits of rs2 [reg & mem] 292 * 9 bits of copressor `opf' opcode + 5 bits of rs2 [reg only] */ 352 #define _I_OP3_LS_RAR(rd, op3, rs1, asi, rs2) \ 353 _I_OP3_GEN(IOP_mem, rd, op3, rs1, (asi) << 5 | (rs2)) 356 #define _I_OP3_LS_RR(rd, op3, rs1, rs2) \ 357 _I_OP3_GEN(IOP_mem, rd, op3, rs1, rs2) 358 #define _I_OP3_R_RAR(rd, op3, rs1, asi, rs2) \ 359 _I_OP3_GEN(IOP_reg, rd, op3, rs1, (asi) << 5 | (rs2)) [all...] |
/openbsd-current/gnu/usr.bin/cvs/vms/ |
H A D | piped_child.c | 128 int rs1, rs2, i; local 169 rs2 = sys$crembx (0, &siop->write_chan, 2048, 2048, 0, 0, 0, 0); 171 if (rs1 != SS$_NORMAL || rs2 != SS$_NORMAL) 173 vaxc$errno = rs1 | rs2; 184 rs2 = sys$getdviw (0, siop->write_chan, 0, &write_mbxlist, 188 (rs2 != SS$_NORMAL && !(iosb2.status & STS$M_SUCCESS)))
|
/openbsd-current/gnu/usr.bin/binutils/opcodes/ |
H A D | dlx-dis.c | 36 unsigned char opc, rs1, rs2, rd; variable 194 (*info->fprintf_func) (info->stream, ",r%d", (int)rs2); 236 (*info->fprintf_func) (info->stream, "r%d,", (int)rs2); 243 (*info->fprintf_func) (info->stream, "r%d,", (int)rs2); 280 (*info->fprintf_func) (info->stream, "r%d", (int)rs2); 336 (*info->fprintf_func) (info->stream, "r%d,", (int)rs2); 494 rs2 = dlx_get_rs2 (insn_word); 503 " rs2 = 0x%02x\n" 508 opc, rs1, rs2, rd, func, imm16, imm26);
|
/openbsd-current/sys/arch/riscv64/riscv64/ |
H A D | db_disasm.c | 358 uint32_t rd, rs1, rs2, rs3; local 368 rs2 = (insn & RS2_MASK) >> RS2_SHIFT; 382 rs2 = (insn >> 7) & 0x7; 383 rs2 += 0x8; 384 db_printf("%s", reg_name[rs2]); 448 rs2 = (insn >> 2) & 0x1f; 449 db_printf("%s", reg_name[rs2]); 470 db_printf("%s", reg_name[rs2]); 473 db_printf("%s", fp_reg_name[rs2]);
|
/openbsd-current/gnu/gcc/gcc/config/sparc/ |
H A D | sparc.c | 2894 rtx rs1 = NULL, rs2 = NULL, imm1 = NULL; 2901 rs2 = XEXP (addr, 1); 2907 && (REG_P (rs2) 2908 || GET_CODE (rs2) == SUBREG 2909 || (GET_CODE (rs2) == LO_SUM && GET_CODE (rs1) != LO_SUM))) 2912 rs2 = XEXP (addr, 0); 2917 && !REG_P (rs2) 2918 && GET_CODE (rs2) != SUBREG 2919 && GET_CODE (rs2) != LO_SUM 2920 && GET_CODE (rs2) ! 2886 rtx rs1 = NULL, rs2 = NULL, imm1 = NULL; local [all...] |
/openbsd-current/gnu/llvm/lld/ELF/Arch/ |
H A D | RISCV.cpp | 78 static uint32_t rtype(uint32_t op, uint32_t rd, uint32_t rs1, uint32_t rs2) { argument 79 return op | (rd << 7) | (rs1 << 15) | (rs2 << 20);
|
/openbsd-current/gnu/usr.bin/binutils/bfd/ |
H A D | elf32-sparc.c | 2764 add is 0x80000000 | (rd << 25) | (rs1 << 14) | rs2, 2765 ld is 0xc0000000 | (rd << 25) | (rs1 << 14) | rs2. */ 2828 int rs2 = insn & 0x1f; 2831 if (rs2 == rd) 2942 where rs1 != %o7 and rs2 if it is register != %o7 2824 int rs2 = insn & 0x1f; local
|
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | elfxx-sparc.c | 3157 add is 0x80000000 | (rd << 25) | (rs1 << 14) | rs2, 3158 ld is 0xc0000000 | (rd << 25) | (rs1 << 14) | rs2, 3159 ldx is 0xc0580000 | (rd << 25) | (rs1 << 14) | rs2. */ 3222 int rs2 = insn & 0x1f; 3225 if (rs2 == rd) 3388 where rs1 != %o7 and rs2 if it is register != %o7 3217 int rs2 = insn & 0x1f; local
|