Searched refs:rs1 (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/sys/riscv/include/
H A Driscv_opcode.h56 unsigned rs1: 5; member in struct:__anon13242::__anon13243
65 unsigned rs1: 5; member in struct:__anon13242::__anon13244
74 unsigned rs1: 5; member in struct:__anon13242::__anon13245
82 unsigned rs1: 5; member in struct:__anon13242::__anon13246
92 unsigned rs1: 5; member in struct:__anon13242::__anon13247
/freebsd-11-stable/sys/riscv/riscv/
H A Ddb_disasm.c325 int rs1, int rs2, uint32_t val, vm_offset_t imm)
339 db_printf("%s", reg_name[rs1]);
353 db_printf("%d", rs1);
372 db_printf("%d(%s)", imm, reg_name[rs1]);
374 db_printf("%d(%s)", imm, reg_name[rs1]);
376 db_printf("(%s)", reg_name[rs1]);
421 i.IType.rs1, 0, val, imm);
427 oprint(op, loc, 0, i.SType.rs1, i.SType.rs2,
433 oprint(op, loc, 0, i.SBType.rs1, i.SBType.rs2,
440 oprint(op, loc, i.R2Type.rd, i.R2Type.rs1,
324 oprint(struct riscv_op *op, vm_offset_t loc, int rd, int rs1, int rs2, uint32_t val, vm_offset_t imm) argument
[all...]
/freebsd-11-stable/sys/sparc64/include/
H A Dcpufunc.h63 #define casa(rs1, rs2, rd, asi) ({ \
66 : "+r" (__rd), "=m" (*rs1) \
67 : "r" (rs1), "n" (asi), "r" (rs2), "m" (*rs1)); \
71 #define casxa(rs1, rs2, rd, asi) ({ \
74 : "+r" (__rd), "=m" (*rs1) \
75 : "r" (rs1), "n" (asi), "r" (rs2), "m" (*rs1)); \
/freebsd-11-stable/lib/libc/sparc64/fpu/
H A Dfpu.c273 int opf, rs1, rs2, rd, type, mask, cx, cond __unused; local
285 rs1 = RN_DECODE(type, IF_F3_RS1(insn));
290 if ((rs1 | rs2 | rd) & opmask[type])
348 __fpu_explode(fe, &fe->fe_f1, type, rs1);
353 __fpu_explode(fe, &fe->fe_f1, type, rs1);
371 __fpu_explode(fe, &fe->fe_f1, type, rs1);
376 __fpu_explode(fe, &fe->fe_f1, type, rs1);
381 __fpu_explode(fe, &fe->fe_f1, type, rs1);
386 __fpu_explode(fe, &fe->fe_f1, type, rs1);
394 __fpu_explode(fe, &fe->fe_f1, type, rs1);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp374 unsigned rs1 = fieldFromInstruction(insn, 14, 5); local
392 // Decode rs1.
393 status = DecodeIntRegsRegisterClass(MI, rs1, Address, Decoder);
531 unsigned rs1 = fieldFromInstruction(insn, 14, 5); local
546 status = DecodeIntRegsRegisterClass(MI, rs1, Address, Decoder);
564 unsigned rs1 = fieldFromInstruction(insn, 14, 5); local
574 DecodeStatus status = DecodeIntRegsRegisterClass(MI, rs1, Address, Decoder);
593 unsigned rs1 = fieldFromInstruction(insn, 14, 5); local
610 status = DecodeIntRegsRegisterClass(MI, rs1, Address, Decoder);
632 unsigned rs1 local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/md5/asm/
H A Dmd5-sparcv9.pl378 my ($mnemonic,$rs1,$rs2,$rd)=@_;
383 $ref = "$mnemonic\t$rs1,$rs2,$rd";
386 foreach ($rs1,$rs2,$rd) {
397 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
404 my ($mnemonic,$rs1,$rs2,$rd)=@_;
406 my $ref="$mnemonic\t$rs1,$rs2,$rd";
408 foreach ($rs1,$rs2,$rd) {
413 0x81b00300|$rd<<25|$rs1<<14|$rs2,
/freebsd-11-stable/crypto/openssl/crypto/sha/asm/
H A Dsha1-sparcv9.pl375 my ($mnemonic,$rs1,$rs2,$rd)=@_;
380 $ref = "$mnemonic\t$rs1,$rs2,$rd";
383 foreach ($rs1,$rs2,$rd) {
394 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
401 my ($mnemonic,$rs1,$rs2,$rd)=@_;
403 my $ref="$mnemonic\t$rs1,$rs2,$rd";
405 foreach ($rs1,$rs2,$rd) {
410 0x81b00300|$rd<<25|$rs1<<14|$rs2,
H A Dsha1-sparcv9a.pl551 my ($mnemonic,$rs1,$rs2,$rd)=@_;
559 $ref = "$mnemonic\t$rs1,$rs2,$rd";
562 foreach ($rs1,$rs2,$rd) {
573 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
580 my ($mnemonic,$rs1,$rs2,$rd)=@_;
582 my $ref="$mnemonic\t$rs1,$rs2,$rd";
584 foreach ($rs1,$rs2,$rd) {
589 0x81b00300|$rd<<25|$rs1<<14|$rs2,
H A Dsha512-sparcv9.pl798 my ($mnemonic,$rs1,$rs2,$rd)=@_;
803 $ref = "$mnemonic\t$rs1,$rs2,$rd";
806 foreach ($rs1,$rs2,$rd) {
817 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
824 my ($mnemonic,$rs1,$rs2,$rd)=@_;
826 my $ref="$mnemonic\t$rs1,$rs2,$rd";
828 foreach ($rs1,$rs2,$rd) {
833 0x81b00300|$rd<<25|$rs1<<14|$rs2,
/freebsd-11-stable/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp64 static uint32_t itype(uint32_t op, uint32_t rd, uint32_t rs1, uint32_t imm) { argument
65 return op | (rd << 7) | (rs1 << 15) | (imm << 20);
67 static uint32_t rtype(uint32_t op, uint32_t rd, uint32_t rs1, uint32_t rs2) { argument
68 return op | (rd << 7) | (rs1 << 15) | (rs2 << 20);
/freebsd-11-stable/crypto/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl1394 my ($mnemonic,$rs1,$rs2,$rd)=@_;
1402 $ref = "$mnemonic\t$rs1,$rs2,$rd";
1405 foreach ($rs1,$rs2,$rd) {
1416 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
1424 my ($mnemonic,$rs1,$rs2,$rd)=@_;
1434 $ref = "$mnemonic\t$rs1,$rs2,$rd";
1437 foreach ($rs1,$rs2,$rd) {
1443 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
1451 my ($mnemonic,$rs1,$rs2,$rs3,$rd)=@_;
1463 $ref = "$mnemonic\t$rs1,
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Dvis3-mont.pl347 my ($mnemonic,$rs1,$rs2,$rd)=@_;
354 $ref = "$mnemonic\t$rs1,$rs2,$rd";
357 foreach ($rs1,$rs2,$rd) {
363 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
/freebsd-11-stable/crypto/openssl/crypto/modes/asm/
H A Dghash-sparcv9.pl541 my ($mnemonic,$rs1,$rs2,$rd)=@_;
549 $ref = "$mnemonic\t$rs1,$rs2,$rd";
552 foreach ($rs1,$rs2,$rd) {
558 0x81b00000|$rd<<25|$rs1<<14|$opf<<5|$rs2,
/freebsd-11-stable/contrib/gcc/config/sparc/
H A Dsparc.c2894 rtx rs1 = NULL, rs2 = NULL, imm1 = NULL;
2897 rs1 = addr;
2900 rs1 = XEXP (addr, 0);
2905 if (!REG_P (rs1)
2906 && GET_CODE (rs1) != SUBREG
2909 || (GET_CODE (rs2) == LO_SUM && GET_CODE (rs1) != LO_SUM)))
2911 rs1 = XEXP (addr, 1);
2916 && rs1 == pic_offset_table_rtx
2924 || ((REG_P (rs1)
2925 || GET_CODE (rs1)
2886 rtx rs1 = NULL, rs2 = NULL, imm1 = NULL; local
[all...]
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dpmap.c453 #define LDDA_R_I_R(rd, imm_asi, rs1, rs2) \
455 EIF_F3_RS1(rs1) | EIF_F3_I(0) | EIF_F3_IMM_ASI(imm_asi) | \
457 #define OR_R_I_R(rd, imm13, rs1) \
459 EIF_F3_RS1(rs1) | EIF_F3_I(1) | EIF_IMM(imm13, 13))
463 #define WR_R_I(rd, imm13, rs1) \
465 EIF_F3_RS1(rs1) | EIF_F3_I(1) | EIF_IMM(imm13, 13))

Completed in 314 milliseconds