Searched refs:a0 (Results 26 - 50 of 178) sorted by relevance

12345678

/freebsd-13-stable/sys/riscv/riscv/
H A Dcopyinout.S51 li a0, EFAULT
58 * a0 - Source address
74 andi t0, a0, (XLEN_BYTES-1) /* Low bits of src */
80 1: lb a4, 0(a0) /* Load byte from src */
81 addi a0, a0, 1
85 andi t0, a0, (XLEN_BYTES-1)
90 2: ld a4, 0(a0) /* Load word from src */
91 addi a0, a0, XLEN_BYTE
[all...]
H A Dbus_space_asm.S41 lbu a0, 0(a3)
47 lhu a0, 0(a3)
53 lw a0, 0(a3)
59 ld a0, 0(a3)
/freebsd-13-stable/sys/mips/mips/
H A Dswtch.S74 move a0,s0
98 RESTORE_U_PCB_REG(a0, PC, k1)
101 MTC0 a0, MIPS_COP_0_EXC_PC # set return address
104 RESTORE_U_PCB_REG(a0, A0, k1)
151 SAVE_U_PCB_CONTEXT(s0, PCB_REG_S0, a0)
152 SAVE_U_PCB_CONTEXT(s1, PCB_REG_S1, a0)
153 SAVE_U_PCB_CONTEXT(s2, PCB_REG_S2, a0)
154 SAVE_U_PCB_CONTEXT(s3, PCB_REG_S3, a0)
156 SAVE_U_PCB_CONTEXT(s4, PCB_REG_S4, a0)
157 SAVE_U_PCB_CONTEXT(s5, PCB_REG_S5, a0)
[all...]
H A Dsupport.S120 blt a0, zero, __copyinstr_err # make sure address is in user space
128 lbu v0, 0(a0)
132 PTR_ADDU a0, a0, 1
163 blt a0, zero, _C_LABEL(copyerr) # make sure address is in user space
219 blt a0, zero, fswberr # make sure address is in user space
224 ld v0, 0(a0) # fetch word
237 blt a0, zero, fswberr # make sure address is in user space
242 lw v0, 0(a0) # fetch word
251 blt a0, zer
[all...]
/freebsd-13-stable/lib/csu/riscv/
H A Dcrt1_s.S41 addi a1, a0, 8 # get argv
42 ld a0, 0(a0) # load argc
43 slli t0, a0, 3 # mult by arg size
/freebsd-13-stable/lib/libc/mips/string/
H A Dstrrchr.S55 lbu a3, 0(a0) # get a byte
56 PTR_ADDU a0, a0, 1
58 PTR_SUBU v0, a0, 1 # save address of last match
H A Dstrcmp.S52 lbu t0, 0(a0) # get two bytes and compare them
56 lbu t0, 1(a0) # unroll loop
58 PTR_ADD a0, a0, 2
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_strcat.c25 unsigned int a0, a1, t0, t1; local
86 for (a0 = 0; a0 < sizeof(long); ++a0) {
91 memcpy(&buf0[a0], tab[t0].val,
96 ret = f(&buf0[a0], &buf1[a1]);
102 if (&buf0[a0] != ret) {
103 fprintf(stderr, "a0 %d, a1 %d, "
105 a0, a1, t0, t1);
111 if (memcmp(&buf0[a0]
[all...]
H A Dt_strcmp.c25 unsigned int a0, a1, t; local
76 for (a0 = 0; a0 < sizeof(long); ++a0) {
79 memcpy(&buf0[a0], tab[t].val0,
84 ret = f(&buf0[a0], &buf1[a1]);
89 fprintf(stderr, "a0 %d, a1 %d, t %d\n",
90 a0, a1, t);
92 &buf0[a0], &buf1[a1], ret);
/freebsd-13-stable/contrib/googletest/googletest/test/
H A Dgoogletest-linked-ptr-test.cc76 linked_ptr<A> a0, a1, a2; local
78 a0.operator=(a0);
80 ASSERT_EQ(a0.get(), static_cast<A*>(NULL));
83 ASSERT_TRUE(a0 == NULL);
89 a0 = a3;
90 ASSERT_TRUE(a0 == a3);
91 ASSERT_TRUE(a0 != NULL);
92 ASSERT_TRUE(a0.get() == a3);
93 ASSERT_TRUE(a0
[all...]
/freebsd-13-stable/sys/sys/
H A Dktr.h137 #define KTR_EVENT1(m, egroup, ident, etype, edat, a0, v0) \
138 CTR3(m, KTR_EFMT(egroup, ident, etype) a0, ident, edat, (v0))
139 #define KTR_EVENT2(m, egroup, ident, etype, edat, a0, v0, a1, v1) \
140 CTR4(m, KTR_EFMT(egroup, ident, etype) a0 ", " a1, \
142 #define KTR_EVENT3(m, egroup, ident, etype, edat, a0, v0, a1, v1, a2, v2)\
143 CTR5(m,KTR_EFMT(egroup, ident, etype) a0 ", " a1 ", " a2, \
146 a0, v0, a1, v1, a2, v2, a3, v3) \
147 CTR6(m,KTR_EFMT(egroup, ident, etype) a0 ", " a1 ", " a2 ", " a3,\
155 #define KTR_STATE1(m, egroup, ident, state, a0, v0) \
156 KTR_EVENT1(m, egroup, ident, "state:\"%s\"", state, a0, (v
[all...]
/freebsd-13-stable/sys/cddl/dev/dtrace/mips/
H A Ddtrace_asm.S82 beqz a0, not_enabled
96 ll t0, 0(a0)
99 sc t1, 0(a0)
114 PTR_LL t0, 0(a0)
117 PTR_SC t1, 0(a0)
138 lbu v0, 0(a0)
148 lhu v0, 0(a0)
158 lw v0, 0(a0)
169 ld v0, 0(a0)
171 lw v1,4(a0)
[all...]
/freebsd-13-stable/lib/libc/riscv/sys/
H A Dvfork.S47 and a0, a0, a1
/freebsd-13-stable/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersRestore.S859 // thread state pointer is in a0 ($4)
928 // skip a0 for now
957 // jump to ra, load a0 in the delay slot
968 // thread state pointer is in a0 ($4)
1018 // skip a0 for now
1047 // jump to ra, load a0 in the delay slot
1080 // thread_state pointer is in a0
1085 fld f0, (8 * 32 + 8 * 0)(a0)
1086 fld f1, (8 * 32 + 8 * 1)(a0)
1087 fld f2, (8 * 32 + 8 * 2)(a0)
[all...]
/freebsd-13-stable/lib/libc/riscv/gen/
H A D_ctx_start.S40 mv a0, s1 /* Load ucp saved in makecontext */
/freebsd-13-stable/libexec/rtld-elf/mips/
H A Drtld_start.S45 * a0 stack pointer
59 move s0, a0 /* save stack pointer from a0 */
66 PTR_LA a0, _DYNAMIC
69 PTR_ADDU a0, a1, a0 /* &_DYNAMIC */
71 move a0, s0 /* sp */
83 move a0, s0 /* stack pointer */
135 REG_S a0, XCALLFRAME_A0(sp)
136 .cfi_rel_offset a0, XCALLFRAME_A
[all...]
/freebsd-13-stable/sys/cddl/boot/zfs/
H A Dfletcher.c32 uint64_t a0, b0, a1, b1; local
34 for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip += 2) {
35 a0 += ip[0];
37 b0 += a0;
41 ZIO_SET_CHECKSUM(zcp, a0, a1, b0, b1);
50 uint64_t a0, b0, a1, b1; local
52 for (a0 = b0 = a1 = b1 = 0; ip < ipend; ip += 2) {
53 a0 += BSWAP_64(ip[0]);
55 b0 += a0;
59 ZIO_SET_CHECKSUM(zcp, a0, a
[all...]
/freebsd-13-stable/sys/powerpc/fpu/
H A Dfpu_mul.c109 u_int a3, a2, a1, a0, x3, x2, x1, x0, bit, m; local
165 sticky = a3 = a2 = a1 = a0 = 0;
171 FPU_ADDC(a0, a0, x0)
175 a2 = (a2 >> 1) | (a1 << 31), a1 = (a1 >> 1) | (a0 << 31), a0 >>= 1
178 sticky |= a3, a3 = a2, a2 = a1, a1 = a0, a0 = 0
227 if (a0 >= FP_2) {
237 x->fp_mant[0] = a0;
[all...]
/freebsd-13-stable/lib/libc/mips/gen/
H A D_ctx_start.S50 move a0, s0
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mips64.S24 sd $a0,0($sp)
27 dadd $a0,$zero,$sp
31 daddiu $a1,$a0,40
34 ld $a0,0($sp)
76 sd $a0,0($sp)
79 dadd $a0,$zero,$sp
83 daddiu $a1,$a0,40
86 ld $a0,0($sp)
128 sd $a0,0($sp)
132 dadd $a0,
[all...]
/freebsd-13-stable/libexec/rtld-elf/riscv/
H A Drtld_start.S44 mv s0, a0 /* Put ps_strings in a callee-saved register */
52 mv t0, a0 /* Backup the entry point */
56 mv a0, s0 /* Restore ps_strings */
69 sd a0, (8 * 0)(sp)
96 mv a0, t0
102 mv t0, a0
105 ld a0, (8 * 0)(sp)
/freebsd-13-stable/crypto/openssl/crypto/ec/asm/
H A Dx25519-ppc64.pl46 my ($bi,$a0,$a1,$a2,$a3,$t0,$t1, $t2,$t3,
72 ld $a0,0($ap)
78 mulld $acc0,$a0,$bi # a[0]*b[0]
79 mulhdu $t0,$a0,$bi
94 mulld $t0,$a0,$bi
102 mulhdu $t0,$a0,$bi
186 ld $a0,0($ap)
193 # | | | | | |a1*a0| |
194 # | | | | |a2*a0| | |
195 # | |a3*a2|a3*a0| | | |
[all...]
/freebsd-13-stable/tools/test/testfloat/
H A Dslowfloat-32.c31 bits32 a0, a1; member in struct:__anon16212
54 a.a0 = ( a.a0<<shiftCount ) | ( a.a1>>negShiftCount );
67 a.a1 = ( a.a0<<negShiftCount ) | ( a.a1>>shiftCount ) | ( extra != 0 );
68 a.a0 >>= shiftCount;
77 a.a0 = - a.a0;
81 a.a0 = ~ a.a0;
91 a.a0
[all...]
/freebsd-13-stable/contrib/bearssl/src/int/
H A Di15_muladd.c63 uint32_t hi, a0, a, b, q; local
89 * a = (w*a0 + a1) * w^N + a2
92 * 0 <= a0 < w
98 * I.e. the two top words of a are a0:a1, the top word of b is
104 * a0*w + a1 = b0*u + v (with 0 <= v < b0)
111 a0 = x[mlen];
114 a = (a0 << 15) + x[mlen];
117 a0 = (x[mlen] << (15 - mblr)) | (x[mlen - 1] >> mblr);
120 a = (a0 << 15) | (((x[mlen] << (15 - mblr))
134 q = MUX(EQ(b, a0),
[all...]
H A Di31_muladd.c34 uint32_t a0, a1, b0, hi, g, q, tb; local
63 * a = (w*a0 + a1) * w^N + a2
66 * 0 <= a0 < w
72 * I.e. the two top words of a are a0:a1, the top word of b is
78 * a0*w+a1 = b0*u + v (with 0 <= v < b0)
85 a0 = x[mlen];
91 a0 = ((x[mlen] << (31 - mblr)) | (x[mlen - 1] >> mblr))
104 * -- If a0 == b0 then g == 0; we want q = 0x7FFFFFFF.
111 * Take care that a0, a1 and b0 are 31-bit words, not 32-bit. We
114 g = br_div(a0 >>
[all...]

Completed in 291 milliseconds

12345678