Home
last modified time | relevance | path

Searched refs:r3 (Results 1 – 25 of 53) sorted by relevance

123

/haiku/src/system/kernel/arch/ppc/
H A Darch_cpu_asm.S13 mfsdr1 %r3
20 mtsdr1 %r3
27 mfsrin %r3, %r3
35 mtsrin %r4, %r3
42 mfmsr %r3
49 mtmsr %r3
56 mfpvr %r3
62 stw %r4, 0(%r3); \
64 stw %r4, 4(%r3); \
67 lwz %r4, 0(%r3); \
[all …]
H A Darch_asm.S25 mfmsr %r3 // load msr
28 insrwi %r3, %r4, 1, 31 - MSR_EXCEPTIONS_ENABLED
31 mtmsr %r3 // put it back into the msr
43 mr %r3, %r4 // save old state
59 rlwimi %r4, %r3, 0, 31 - MSR_EXCEPTIONS_ENABLED, 31 - MSR_EXCEPTIONS_ENABLED
70 mfmsr %r3 // load msr
71 extrwi %r3, %r3, 1, 31 - MSR_EXCEPTIONS_ENABLED
85 mftbu %r3 // get the upper time base register
88 cmpw %r5, %r3 // see if it changed while we were reading the lower
97 stw %r0,0(%r3)
[all …]
H A Darch_exceptions_440.S105 stw %r3, 28(%r1) /* save r3 */
122 mfmsr %r3 /* load the current msr */
123 rlwimi %r3, %r0, 4, 26, 27 /* merge the mmu bits with the current msr */
125 rlwimi %r3, %r0, 13, 18, 18 /* turn on FPU, too */
126 mtmsr %r3 /* load new msr (turning the mmu back on) */
131 mflr %r3
132 subi %r3, %r3, 20 /* 5 instructions */
339 stwu %r3, -4(%r1) /* exception vector offset */
395 lwzu %r3, 4(%r1)
H A Darch_exceptions.S102 stw %r3, 28(%r1) /* save r3 */
119 mfmsr %r3 /* load the current msr */
120 rlwimi %r3, %r0, 4, 26, 27 /* merge the mmu bits with the current msr */
122 rlwimi %r3, %r0, 13, 18, 18 /* turn on FPU, too */
123 mtmsr %r3 /* load new msr (turning the mmu back on) */
128 mflr %r3
129 subi %r3, %r3, 20 /* 5 instructions */
336 stwu %r3, -4(%r1) /* exception vector offset */
392 lwzu %r3, 4(%r1)
/haiku/src/system/libroot/posix/string/arch/arm/
H A Darch_string.S20 orr r3, r1, r0
21 tst r3, #3
23 eor r3, r1, r0
25 tst r3, #3
35 mvn r3, #1
37 movgt r3, r7
38 add r3, r12, r3
39 add r3, r3, #2
40 cmp r3, #16
51 bic r4, r3, #15
[all …]
/haiku/src/system/libroot/posix/glibc/arch/ppc/
H A Dsub_n.S36 CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
50 addi r3,r3,-4
58 stw r6,0(r3)
70 stw r8,4(r3)
72 stwu r6,8(r3)
75 L(1): subfe r3,r3,r3
76 neg r3,r3
H A Daddmul_1.S30 CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
38 lwz r9,0(r3)
40 addi r3,r3,-4 /* adjust res_ptr */
44 stwu r8,4(r3)
48 lwz r9,4(r3)
53 L(1): stw r8,4(r3)
54 addze r3,r10
H A Dsubmul_1.S31 CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
39 lwz r9,0(r3)
42 addi r3,r3,-4 # adjust res_ptr
46 stwu r8,4(r3)
50 lwz r9,4(r3)
56 L(1): stw r8,4(r3)
57 addze r3,r10
H A Dadd_n.S36 CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
50 addi r3,r3,-4
58 stw r6,0(r3)
70 stw r8,4(r3)
72 stwu r6,8(r3)
75 L(1): addze r3,r10
H A Dmul_1.S31 CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
39 addi r3,r3,-4 # adjust res_ptr
44 stwu r7,4(r3)
50 L(1): stw r7,4(r3)
51 addze r3,r10
H A Drshift.S33 CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
37 addi r7,r3,-4 # move adjusted res_ptr to free return reg
40 slw r3,r11,r8 # compute function return value
H A Dlshift.S31 CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
37 add r7,r3,r0 # make r7 point at end of res
41 srw r3,r11,r8 # compute function return value
/haiku/src/system/libroot/os/arch/ppc/
H A Dbyteorder.S14 rlwinm %r4, %r3, 8, 16, 23 // byte 4 -> byte 3 (clear other bits)
15 rlwimi %r4, %r3, 24, 24, 31 // byte 3 -> byte 4 (copy into)
16 mr %r3, %r4 // copy to result register
24 lwbrx %r4, 0, %r3 // Load and inverse r3 into r4
25 mr %r3, %r4
33 lwbrx %r5, 0, %r3
34 mr %r3, %r5
56 lwz %r3, 20(%r1)
62 stw %r3, 20(%r1)
82 lwz %r3, 20(%r1)
[all …]
H A Dsystem_time_asm.S15 carry: mftbu %r3
18 cmpw %r3, %r5 // and check if the values have changed
/haiku/src/system/libroot/os/arch/sparc/
H A Dfpu_div.c157 u_int r0, r1, r2, r3, d0, d1, d2, d3, y0, y1, y2, y3; local
206 FPU_SUBS(d3, r3, y3); FPU_SUBCS(d2, r2, y2); \
214 FPU_ADDS(r3, r3, r3); FPU_ADDCS(r2, r2, r2); \
219 r2 = (r2 << 1) | (r3 >> 31), r3 <<= 1
228 r0 = d0, r1 = d1, r2 = d2, r3 = d3; \
242 r3 = x->fp_mant[3];
252 r0 = d0, r1 = d1, r2 = d2, r3 = d3;
264 x->fp_sticky = r0 | r1 | r2 | r3;
H A Dfpu_add.c67 uint32_t r0, r1, r2, r3; local
176 FPU_SUBCS(r3, x->fp_mant[3], y->fp_mant[3]);
182 if ((r0 | r1 | r2 | r3) == 0) {
200 FPU_SUBS(r3, 0, r3);
205 r->fp_mant[3] = r3;
/haiku/src/system/libroot/os/arch/arm/
H A Dbyteorder.S33 mov r3,#0xff000000
34 orr r3,#0x0000ff00
35 and r1,r0,r3
37 mov r3,r3,ROR #8
38 and r2,r0,r3
/haiku/src/system/kernel/arch/arm/
H A Darch_asm.S101 ldr r6, [r3]
103 str r4, [r3] /* set fault handler */
124 str r6, [r3] /* restore fault handler */
129 str r6, [r3] /* restore fault handler */
139 ldr r5, [r3]
141 str r4, [r3]
163 str r5, [r3]
169 str r5, [r3]
177 ldr r5, [r3]
179 str r4, [r3]
[all …]
H A Darch_exceptions.S24 stmdb sp, {r0-r3} /* Save 4 registers */
27 mrs r3, spsr /* Save xxx32 spsr */
36 msr spsr, r3 /* Restore correct spsr */
37 ldmdb r1, {r0-r3} /* Restore 4 regs from xxx mode */
/haiku/src/system/libroot/posix/musl/math/
H A Dlog.c30 double_t w, z, r, r2, r3, y, invc, logc, kd, hi, lo; in log() local
46 r3 = r * r2; in log()
47 y = r3 * in log()
49 r3 * (B[4] + r * B[5] + r2 * B[6] + in log()
50 r3 * (B[7] + r * B[8] + r2 * B[9] + r3 * B[10]))); in log()
/haiku/src/system/boot/platform/efi/arch/arm/
H A Dcache.S19 mov r3, r0, lsr #23
20 ands r3, r3, #7 << 1
71 cmp r3, r10
/haiku/src/system/boot/platform/amiga_m68k/
H A Drom_calls.h243 #define LP3(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn) \ argument
256 register t3 _n3 __asm(#r3) = _##name##_v3; \
265 #define LP3NR(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn) \ argument
278 register t3 _n3 __asm(#r3) = _##name##_v3; \
287 #define LP3UB(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3) \ argument
299 register t3 _n3 __asm(#r3) = _##name##_v3; \
309 #define LP3NRUB(offs, name, t1, v1, r1, t2, v2, r2, t3, v3, r3) \ argument
321 register t3 _n3 __asm(#r3) = _##name##_v3; \
330 #define LP3FP(offs, rt, name, t1, v1, r1, t2, v2, r2, t3, v3, r3, bt, bn, fpt) \ argument
344 register t3 _n3 __asm(#r3) = _##name##_v3; \
[all …]
/haiku/src/tests/libs/alm/
H A DTableDemo.cpp32 Row* r3 = layout->AddRow(r2->Bottom(), layout->Bottom()); in TableDemoWindow() local
44 layout->AddView(b3, r3, c1); in TableDemoWindow()
/haiku/src/system/libroot/posix/musl/arch/arm/
H A Datomic_arch.h52 register uintptr_t r3 __asm__("r3") = __a_cas_ptr; in a_cas()
56 : "+r"(r0), "+r"(r3) : "r"(r1), "r"(r2) in a_cas()
/haiku/src/libs/compat/openbsd_wlan/crypto/
H A Daes.c472 uint32_t r0, r1, r2, r3, r4, r5, r6, r7; in mix_columns() local
485 r3 = (q3 >> 8) | (q3 << 24); in mix_columns()
494 q[3] = q2 ^ r2 ^ q7 ^ r7 ^ r3 ^ rotr16(q3 ^ r3); in mix_columns()
495 q[4] = q3 ^ r3 ^ q7 ^ r7 ^ r4 ^ rotr16(q4 ^ r4); in mix_columns()
607 uint32_t r0, r1, r2, r3, r4, r5, r6, r7; in inv_mix_columns() local
620 r3 = (q3 >> 8) | (q3 << 24); in inv_mix_columns()
629 …q[3] = q0 ^ q1 ^ q2 ^ q5 ^ q6 ^ r0 ^ r2 ^ r3 ^ r5 ^ rotr16(q0 ^ q1 ^ q3 ^ q5 ^ q6 ^ q7 ^ r0 ^ r3 ^… in inv_mix_columns()
630 …q[4] = q1 ^ q2 ^ q3 ^ q5 ^ r1 ^ r3 ^ r4 ^ r5 ^ r6 ^ r7 ^ rotr16(q1 ^ q2 ^ q4 ^ q5 ^ q7 ^ r1 ^ r4 ^… in inv_mix_columns()
632 q[6] = q3 ^ q4 ^ q5 ^ q7 ^ r3 ^ r5 ^ r6 ^ r7 ^ rotr16(q3 ^ q4 ^ q6 ^ q7 ^ r3 ^ r6 ^ r7); in inv_mix_columns()

123