Searched refs:rs2 (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/sys/riscv/include/
H A Driscv_opcode.h57 unsigned rs2: 5; member in struct:__anon13242::__anon13243
66 unsigned rs2: 6; member in struct:__anon13242::__anon13244
83 unsigned rs2: 5; member in struct:__anon13242::__anon13246
93 unsigned rs2: 5; member in struct:__anon13242::__anon13247
/freebsd-11-stable/lib/libc/sparc64/fpu/
H A Dfpu.c209 __fpu_mov(struct fpemu *fe, int type, int rd, int rs2, u_int32_t nand, argument
214 __fpu_setreg(rd, (__fpu_getreg(rs2) & ~nand) ^ xor);
220 __fpu_setreg64(rd, (__fpu_getreg64(rs2) &
223 __fpu_setreg64(rd + 2, __fpu_getreg64(rs2 + 2));
228 __fpu_ccmov(struct fpemu *fe, int type, int rd, int rs2, argument
233 __fpu_mov(fe, type, rd, rs2, 0, 0);
273 int opf, rs1, rs2, rd, type, mask, cx, cond __unused; local
286 rs2 = RN_DECODE(type, IF_F3_RS2(insn));
290 if ((rs1 | rs2 | rd) & opmask[type])
298 __fpu_ccmov(fe, type, rd, rs2, ins
[all...]
/freebsd-11-stable/sys/riscv/riscv/
H A Ddb_disasm.c325 int rs1, int rs2, uint32_t val, vm_offset_t imm)
342 db_printf("%s", reg_name[rs2]);
345 db_printf("0x%x", rs2);
356 db_printf("0x%x", rs2);
427 oprint(op, loc, 0, i.SType.rs1, i.SType.rs2,
433 oprint(op, loc, 0, i.SBType.rs1, i.SBType.rs2,
441 i.R2Type.rs2, val, imm);
448 val, i.RType.rs2, imm);
324 oprint(struct riscv_op *op, vm_offset_t loc, int rd, int rs1, int rs2, uint32_t val, vm_offset_t imm) argument
/freebsd-11-stable/sys/sparc64/include/
H A Dcpufunc.h63 #define casa(rs1, rs2, rd, asi) ({ \
67 : "r" (rs1), "n" (asi), "r" (rs2), "m" (*rs1)); \
71 #define casxa(rs1, rs2, rd, asi) ({ \
75 : "r" (rs1), "n" (asi), "r" (rs2), "m" (*rs1)); \
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/Disassembler/
H A DSparcDisassembler.cpp378 unsigned rs2 = 0; local
383 rs2 = fieldFromInstruction(insn, 0, 5);
397 // Decode imm|rs2.
401 status = DecodeIntRegsRegisterClass(MI, rs2, Address, Decoder);
533 unsigned rs2 = 0; local
538 rs2 = fieldFromInstruction(insn, 0, 5);
554 status = DecodeIntRegsRegisterClass(MI, rs2, Address, Decoder);
566 unsigned rs2 = 0; local
571 rs2 = fieldFromInstruction(insn, 0, 5);
582 status = DecodeIntRegsRegisterClass(MI, rs2, Addres
597 unsigned rs2 = 0; local
635 unsigned rs2 = 0; 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/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,$rs2,
[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;
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...]
/freebsd-11-stable/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp67 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/sys/sparc64/sparc64/
H A Dpmap.c453 #define LDDA_R_I_R(rd, imm_asi, rs1, rs2) \
456 EIF_F3_RS2(rs2))
/freebsd-11-stable/contrib/binutils/bfd/
H A Delfxx-sparc.c3169 add is 0x80000000 | (rd << 25) | (rs1 << 14) | rs2,
3170 ld is 0xc0000000 | (rd << 25) | (rs1 << 14) | rs2,
3171 ldx is 0xc0580000 | (rd << 25) | (rs1 << 14) | rs2. */
3234 int rs2 = insn & 0x1f;
3237 if (rs2 == rd)
3400 where rs1 != %o7 and rs2 if it is register != %o7
3229 int rs2 = insn & 0x1f; local

Completed in 231 milliseconds