Home
last modified time | relevance | path

Searched refs:r5 (Results 1 – 200 of 506) sorted by relevance

123

/linux-4.4.14/arch/arm/lib/
Dcsumpartialcopygeneric.S114 1: load4l r4, r5, r6, r7
115 stmia dst!, {r4, r5, r6, r7}
117 adcs sum, sum, r5
128 load2l r4, r5
129 stmia dst!, {r4, r5}
131 adcs sum, sum, r5
143 mov r5, r4, get_byte_0
146 strb r5, [dst], #1
147 mov r5, r4, get_byte_1
148 strb r5, [dst], #1
[all …]
Dio-readsb.S39 ldrb r5, [r0]
44 orr r3, r3, r5, put_byte_2
45 ldrb r5, [r0]
50 orr r4, r4, r5, put_byte_1
51 ldrb r5, [r0]
56 mov r5, r5, put_byte_0
58 orr r5, r5, r6, put_byte_1
60 orr r5, r5, ip, put_byte_2
62 orr r5, r5, lr, put_byte_3
82 ldrb r5, [r0]
[all …]
Dio-readsw-armv3.S40 stmfd sp!, {r4, r5, r6, lr}
52 ldr r5, [r0]
53 orr r4, r4, r5, lsl #16
55 ldr r5, [r0]
56 and r5, r5, ip
58 orr r5, r5, r6, lsl #16
71 ldmeqfd sp!, {r4, r5, r6, pc}
83 ldr r5, [r0]
84 orr r4, r4, r5, lsl #16
104 ldmfd sp!, {r4, r5, r6, pc}
Dcopy_template.S92 stmfd sp!, {r5 - r8}
97 UNWIND( .save {r5 - r8} ) @ in second stmfd block
116 4: ldr8w r1, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f
118 str8w r0, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f
136 ldr1w r1, r5, abort=20f
154 str1w r0, r5, abort=20f
162 7: ldmfd sp!, {r5 - r8}
211 11: stmfd sp!, {r5 - r9}
216 UNWIND( .save {r5 - r9} ) @ in new second stmfd block
225 13: ldr4w r1, r4, r5, r6, r7, abort=19f
[all …]
Dmemmove.S53 stmfd sp!, {r5 - r8}
58 UNWIND( .save {r5 - r8} ) @ in second stmfd block
77 4: ldmdb r1!, {r3, r4, r5, r6, r7, r8, ip, lr}
79 stmdb r0!, {r3, r4, r5, r6, r7, r8, ip, lr}
91 W(ldr) r5, [r1, #-4]!
102 W(str) r5, [r0, #-4]!
110 7: ldmfd sp!, {r5 - r8}
157 11: stmfd sp!, {r5 - r9}
162 UNWIND( .save {r5 - r9} ) @ in new second stmfd block
175 ldmdb r1!, {r3, r4, r5, r6}
[all …]
Dio-readsw-armv4.S33 stmfd sp!, {r4, r5, lr}
43 ldrh r5, [r0]
44 pack r4, r4, r5
46 ldrh r5, [r0]
48 pack r5, r5, ip
55 stmia r1!, {r3 - r5, ip}
82 ldmfd sp!, {r4, r5, pc}
Dio-writesb.S53 stmfd sp!, {r4, r5, lr}
58 .Loutsb_16_lp: ldmia r1!, {r3, r4, r5, ip}
61 outword r5
67 ldmeqfd sp!, {r4, r5, pc}
83 ldmeqfd sp!, {r4, r5, pc}
93 ldmfd sp!, {r4, r5, pc}
Dio-writesw-armv3.S39 stmfd sp!, {r4, r5, r6, lr}
44 .Loutsw_8_lp: ldmia r1!, {r3, r4, r5, r6}
62 mov ip, r5, lsl #16
66 mov ip, r5, lsr #16
82 ldmeqfd sp!, {r4, r5, r6, pc}
126 ldmfd sp!, {r4, r5, r6, pc}
Dio-writesw-armv4.S38 stmfd sp!, {r4, r5, lr}
43 .Loutsw_8_lp: ldmia r1!, {r3, r4, r5, ip}
47 outword r5
67 ldmfd sp!, {r4, r5, pc}
/linux-4.4.14/arch/powerpc/sysdev/
D6xx-suspend.S22 mfspr r5, SPRN_HID0
23 rlwinm r5, r5, 0, ~(HID0_DOZE | HID0_NAP)
24 oris r5, r5, HID0_SLEEP@h
25 mtspr SPRN_HID0, r5
28 lis r5, ret_from_standby@h
29 ori r5, r5, ret_from_standby@l
30 mtlr r5
32 CURRENT_THREAD_INFO(r5, r1)
33 lwz r6, TI_LOCAL_FLAGS(r5)
35 stw r6, TI_LOCAL_FLAGS(r5)
[all …]
Ddcr-low.S19 lis r5,table@h; \
20 ori r5,r5,table@l; \
21 add r3,r3,r5; \
/linux-4.4.14/arch/s390/kernel/vdso32/
Dclock_gettime.S23 basr %r5,0
24 0: al %r5,21f-0b(%r5) /* get &_vdso_data */
35 1: l %r4,__VDSO_UPD_COUNT+4(%r5) /* load update counter */
40 s %r0,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
41 sl %r1,__VDSO_XTIME_STAMP+4(%r5)
44 2: ms %r0,__VDSO_TK_MULT(%r5) /* * tk->mult */
46 l %r0,__VDSO_TK_MULT(%r5)
50 a %r0,__VDSO_TK_MULT(%r5)
52 al %r0,__VDSO_WTOM_NSEC(%r5)
53 al %r1,__VDSO_WTOM_NSEC+4(%r5)
[all …]
Dgettimeofday.S23 basr %r5,0
24 0: al %r5,13f-0b(%r5) /* get &_vdso_data */
27 mvc 0(8,%r3),__VDSO_TIMEZONE(%r5)
30 l %r4,__VDSO_UPD_COUNT+4(%r5) /* load update counter */
35 s %r0,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
36 sl %r1,__VDSO_XTIME_STAMP+4(%r5)
39 3: ms %r0,__VDSO_TK_MULT(%r5) /* * tk->mult */
41 l %r0,__VDSO_TK_MULT(%r5)
45 a %r0,__VDSO_TK_MULT(%r5)
47 al %r0,__VDSO_XTIME_NSEC(%r5) /* + xtime */
[all …]
/linux-4.4.14/arch/microblaze/kernel/
Dhw_exception_handler.S88 lwi r5, r1, 0; \
89 mts rmsr, r5; \
93 lwi r5, r1, PT_R5; \
339 swi r5, r1, PT_R5
348 mfs r5, rmsr;
350 swi r5, r1, 0;
357 andi r5, r4, 0x1000; /* Check ESR[DS] */
358 beqi r5, not_in_delay_slot; /* Branch if ESR[DS] not set */
365 andi r5, r4, 0x1F; /* Extract ESR[EXC] */
369 addk r6, r5, r5; /* << 1 */
[all …]
Dmisc.S54 mts rtlbsx, r5 /* look up the address in TLB */
81 or r4,r5,r0
85 andi r5,r5,0xfffff000
86 ori r5,r5,(TLB_VALID | TLB_PAGESZ(PAGESZ_4K))
90 mts rtlbhi,r5 /* Load the tag portion of the entry */
93 lwi r5, r0, tlb_skip
94 addik r5, r5, 1
95 swi r5, r0, tlb_skip
Dmcount.S22 swi r5, r1, 116; \
53 lwi r5, r1, 116; \
96 lwi r5, r0, ftrace_graph_return;
98 cmpu r5, r5, r6; /* ftrace_graph_return != ftrace_stub */
99 beqid r5, end_graph_tracer;
103 addik r5, r0, ftrace_graph_entry_stub; /* implemented in C */
104 cmpu r5, r5, r6; /* ftrace_graph_entry != ftrace_graph_entry_stub */
105 beqid r5, end_graph_tracer;
112 addik r5, r1, 120; /* MS: load parent addr */
125 cmpu r5, r20, r6; /* ftrace_trace_function != ftrace_stub */
[all …]
Dentry.S181 swi r5, r1, PT_R5; \
217 lwi r5, r1, PT_R5; \
335 addik r5, r1, PT_R0
339 lwi r5, r1, PT_R5;
400 addik r5, r1, PT_R0
419 addik r5, r1, 0; /* Arg 1: struct pt_regs *regs */
455 add r5, r3, r0; /* switch_thread returns the prev task */
462 add r5, r3, r0; /* switch_thread returns the prev task */
465 addk r5, r0, r19 /* ... and argument - in r19 */
472 addik r5, r1, 0; /* add user context as 1st arg */
[all …]
/linux-4.4.14/arch/powerpc/boot/
Dstring.S17 addi r5,r3,-1
21 stbu r0,1(r5)
27 cmpwi 0,r5,0
29 mtctr r5
40 addi r5,r3,-1
42 1: lbzu r0,1(r5)
45 addi r5,r5,-1
48 stbu r0,1(r5)
65 addi r5,r3,-1
67 1: lbzu r3,1(r5)
[all …]
Dutil.S62 mflr r5
65 mtlr r5
66 lis r5,0b@ha
67 addi r5,r5,0b@l
68 subf r5,r5,r6 /* In case we're relocated */
69 addis r5,r5,timebase_period_ns@ha
70 lwz r5,timebase_period_ns@l(r5)
71 add r4,r4,r5
73 divw r4,r4,r5 /* BUS ticks */
75 1: mftbu r5
[all …]
Ddiv64.S20 lwz r5,0(r3) # get the dividend into r5/r6
22 cmplw r5,r4
26 divwu r7,r5,r4 # if dividend.hi >= divisor,
28 subf. r5,r0,r5 # dividend.hi %= divisor
30 1: mr r11,r5 # here dividend.hi != 0
31 andis. r0,r5,0xc000
33 cntlzw r0,r5 # we are shifting the dividend right
40 or r11,r5,r11
48 subfe. r5,r9,r5 # quotient
77 subfic r6,r5,32
[all …]
Dof.c29 void epapr_platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
88 void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, in platform_init() argument
92 if (r5) in platform_init()
93 of_platform_init(r3, r4, (void *)r5); in platform_init()
95 epapr_platform_init(r3, r4, r5, r6, r7); in platform_init()
Depapr-wrapper.c2 unsigned long r5, unsigned long r6,
5 void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, in platform_init() argument
8 epapr_platform_init(r3, r4, r5, r6, r7); in platform_init()
/linux-4.4.14/arch/s390/kernel/vdso64/
Dclock_gettime.S23 larl %r5,_vdso_data
36 0: lg %r4,__VDSO_UPD_COUNT(%r5) /* load update counter */
40 lgf %r2,__VDSO_TK_SHIFT(%r5) /* Timekeeper shift */
41 lg %r0,__VDSO_WTOM_SEC(%r5)
43 sg %r1,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
44 msgf %r1,__VDSO_TK_MULT(%r5) /* * tk->mult */
45 alg %r1,__VDSO_WTOM_NSEC(%r5)
47 clg %r4,__VDSO_UPD_COUNT(%r5) /* check update counter */
49 larl %r5,13f
50 1: clg %r1,0(%r5)
[all …]
Dgettimeofday.S23 larl %r5,_vdso_data
26 mvc 0(8,%r3),__VDSO_TIMEZONE(%r5)
29 lg %r4,__VDSO_UPD_COUNT(%r5) /* load update counter */
34 sg %r1,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
35 msgf %r1,__VDSO_TK_MULT(%r5) /* * tk->mult */
36 alg %r1,__VDSO_XTIME_NSEC(%r5) /* + tk->xtime_nsec */
37 lg %r0,__VDSO_XTIME_SEC(%r5) /* tk->xtime_sec */
38 clg %r4,__VDSO_UPD_COUNT(%r5) /* check update counter */
40 lgf %r5,__VDSO_TK_SHIFT(%r5) /* Timekeeper shift */
41 srlg %r1,%r1,0(%r5) /* >> tk->shift */
[all …]
/linux-4.4.14/arch/sh/lib/
Dudivsi3_i4i-Os.S50 extu.w r5,r0
51 cmp/eq r5,r0
56 mov.l r5,@-r15
57 shll16 r5
59 div1 r5,r4
61 div1 r5,r4
62 div1 r5,r4
64 div1 r5,r4
69 div1 r5,r4
71 div1 r5,r4
[all …]
Dudivsi3_i4i.S67 cmp/hi r1,r5
68 extu.w r5,r1
70 cmp/eq r5,r1
73 mov r5,r1
74 shll16 r5
76 div1 r5,r0
78 div1 r5,r0
79 div1 r5,r0
81 div1 r5,r0
86 mov.b @(r0,r5),r1
[all …]
Dudivsi3.S37 div1 r5,r4
39 div1 r5,r4; div1 r5,r4; div1 r5,r4
40 div1 r5,r4; div1 r5,r4; div1 r5,r4; rts; div1 r5,r4
43 div1 r5,r4; rotcl r0
44 div1 r5,r4; rotcl r0
45 div1 r5,r4; rotcl r0
46 rts; div1 r5,r4
50 extu.w r5,r0
51 cmp/eq r5,r0
57 shll16 r5
[all …]
Dmovmem.S52 mov.l @(48,r5),r0
55 mov.l @(60,r5),r0
59 mov.l @(56,r5),r0
63 mov.l @(52,r5),r0
64 add #64,r5
76 mov.l @(52,r5),r0
85 mov.l @(60,r5),r0
91 mov.l @(56,r5),r0
97 mov.l @(52,r5),r0
103 mov.l @(48,r5),r0
[all …]
Dmemset-sh4.S28 mov.b r5,@-r4
30 extu.b r5,r5
31 swap.b r5,r0 ! V0
32 or r0,r5 ! VV
33 swap.w r5,r0 ! VV00
34 or r0,r5 ! VVVV
54 10: mov.l r5,@-r4
65 mov r5, r0
68 mov.l r5,@(4, r4)
69 mov.l r5,@(8, r4)
[all …]
Dmemcpy-sh4.S29 add #-1,r5 ! 79 EX
32 mov.l @(r0,r5),r7 ! 21 LS (2 cycles latency)
33 add #-4,r5 ! 50 EX
39 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! NMLK
56 3: mov.l @(r0,r5),r1 ! 21 LS (latency=2) ! KLMN
75 add #4,r5 ! 50 EX
82 mov.b @(r0,r5),r1 ! 20 LS (latency=2)
102 add #-3,r5 ! 79 EX
105 mov.l @(r0,r5),r7 ! 21 LS (2 cycles latency)
106 add #-4,r5 ! 50 EX
[all …]
Dchecksum.S60 tst r5, r5
61 add #-1, r5
76 add #-2, r5 ! Alignment uses up two bytes.
77 cmp/pz r5 !
81 add #2, r5 ! r5 was < 2. Deal with it.
90 mov r5, r1
145 cmp/hs r1, r5
149 cmp/eq r1, r5
208 ! r5: char *DST
217 mov.l r5,@-r15
[all …]
Dcopy_page.S31 mov r5,r11
32 mov r5,r8
43 mov.l @r11+,r5
54 mov.l r5,@-r10
93 neg r5,r0
104 EX( mov.b @r5+,r1 )
142 EX_NO_POP( mov.b @r5+,r0 )
183 EX( mov.l @r5+,r1 )
190 EX( mov.l @r5+,r0 )
191 EX( mov.l @r5+,r1 )
[all …]
Dmemset.S30 mov.b r5,@-r4
32 extu.b r5,r5
33 swap.b r5,r0 ! V0
34 or r0,r5 ! VV
35 swap.w r5,r0 ! VV00
36 or r0,r5 ! VVVV
43 mov.l r5,@-r4 ! set 8-byte at once
45 mov.l r5,@-r4
55 mov.b r5,@-r4
D__clear_user.S17 ! (r4+31)&~32..(r4+r5)&~32 -------- aligned [ Area 1 ]
18 ! (r4+r5)&~32..r4+r5 -------- not aligned [ Area 2 ]
23 tst r1, r5 ! length < 32
40 sub r7, r5
44 add r5, r3
77 add r5, r3
92 add r5, r0
Dudiv_qrnnd.S56 mulu.w r1,r5
63 addc r5,r0
68 add r5,r0
71 sub r5,r0
76 addc r5,r0
Dmemmove.S17 cmp/hi r5,r4
25 sub r5,r4 ! From here, r4 has the distance to r0
28 mov r5,r0
29 add r6,r5
Dmemchr.S17 exts.b r5,r5
19 cmp/eq r1,r5
Dashlsi3.S47 ! r5: Shifts
62 and r0,r5
64 mov.b @(r0,r5),r5
66 add r5,r0
69 braf r5
Dashrsi3.S47 ! r5: Shifts
63 and r0,r5
65 mov.b @(r0,r5),r5
67 add r5,r0
70 braf r5
Dlshrsi3.S47 ! r5: Shifts
62 and r0,r5
64 mov.b @(r0,r5),r5
66 add r5,r0
69 braf r5
/linux-4.4.14/arch/microblaze/lib/
Dfastcopy.S45 addi r3, r5, 0
52 andi r4, r5, 3 /* n = d & 3 */
63 sbi r11, r5, 0 /* *d = h */
65 addi r5, r5, 1 /* d++ */
88 swi r9, r5, 0 /* *(d + 0) = t1 */
89 swi r10, r5, 4 /* *(d + 4) = t2 */
90 swi r11, r5, 8 /* *(d + 8) = t3 */
91 swi r12, r5, 12 /* *(d + 12) = t4 */
96 swi r9, r5, 16 /* *(d + 16) = t1 */
97 swi r10, r5, 20 /* *(d + 20) = t2 */
[all …]
Dumodsi3.S24 beqid r5, result_is_zero /* result is zero */
30 rsub r18, r5, r6
34 xor r18, r5, r6
36 addik r3, r5, 0
39 rsub r18, r5, r6 /* microblazecmp */
47 and r5, r5, r18
50 rsub r3, r6, r5
53 blti r5, div2
55 add r5, r5, r5 /* left shift logical r5 */
56 bgeid r5, div1
[all …]
Ddivsi3.S23 beqi r5, result_is_zero /* result is zero */
24 bgeid r5, r5_pos
25 xor r28, r5, r6 /* get the sign of the result */
26 rsubi r5, r5, 0 /* make r5 positive */
37 blti r5, div2 /* this traps r5 == 0x80000000 */
39 add r5, r5, r5 /* left shift logical r5 */
40 bgtid r5, div1
44 add r5, r5, r5
Dmodsi3.S25 beqi r5, result_is_zero /* result is zero */
26 bgeid r5, r5_pos
28 add r28, r5, r0
29 rsubi r5, r5, 0 /* make r5 positive */
39 add r5, r5, r5 /* left shift logical r5 */
40 bgeid r5, div1
44 add r5, r5, r5
Dudivsi3.S25 beqid r5, result_is_zero /* result is zero */
30 rsub r18, r5, r6
35 xor r18, r5, r6
40 rsub r18, r6, r5 /* microblazecmp */
51 blti r5, div2
53 add r5, r5, r5 /* left shift logical r5 */
54 bgtid r5, div1
58 add r5, r5, r5
Duaccess_old.S42 sb r4,r5,r0
44 addik r5,r5,1
82 lbu r4,r5,r0
87 addik r5,r5,1 /* delay slot */
115 9: swi r4 , r5, 0x0000 + offset; \
116 10: swi r19, r5, 0x0004 + offset; \
117 11: swi r20, r5, 0x0008 + offset; \
118 12: swi r21, r5, 0x000C + offset; \
119 13: swi r22, r5, 0x0010 + offset; \
120 14: swi r23, r5, 0x0014 + offset; \
[all …]
Dmulsi3.S17 beqi r5, result_is_zero /* multiply by zero */
19 bgeid r5, r5_pos
20 xor r4, r5, r6 /* get the sign of the result */
21 rsubi r5, r5, 0 /* make r5 positive */
28 add r5, r5, r5
34 add r3, r3, r5
/linux-4.4.14/arch/powerpc/platforms/83xx/
Dsuspend-asm.S66 lwz r5, 0(r4)
69 stw r5, SS_MEMSAVE+0(r3)
72 mfspr r5, SPRN_HID0
76 stw r5, SS_HID+0(r3)
81 mfspr r5, SPRN_IABR2
88 stw r5, SS_IABR+4(r3)
95 mfspr r5, SPRN_SPRG1
101 stw r5, SS_SPRG+4(r3)
107 mfspr r5, SPRN_DBAT0L
112 stw r5, SS_DBAT+0x04(r3)
[all …]
/linux-4.4.14/arch/powerpc/lib/
Dcopy_32.S46 addi r5,r5,-(16 * n); \
49 addi r5,r5,-(16 * n); \
86 cmplwi 0,r5,4
91 add r5,r0,r5
99 add r8,r7,r5
114 clrlwi r5,r8,32-LG_CACHELINE_BYTES
115 addi r5,r5,4
117 2: srwi r0,r5,2
122 6: andi. r5,r5,3
123 7: cmpwi 0,r5,0
[all …]
Dchecksum_32.S28 lwzu r5,4(r3)
30 addc r0,r0,r5
50 addic r0,r5,0
54 andi. r5,r3,2 /* Align buffer to longword boundary */
56 lhz r5,4(r3) /* do 2 bytes to get aligned */
59 addc r0,r0,r5
63 2: lwzu r5,4(r3) /* the bdnz has zero overhead, so it should */
64 adde r0,r0,r5 /* be unnecessary to unroll this loop */
69 lhz r5,4(r3)
72 adde r0,r0,r5
[all …]
Dstring.S20 addi r5,r3,-1
24 stbu r0,1(r5)
31 PPC_LCMPI 0,r5,0
33 mtctr r5
41 mfctr r5
42 PPC_LCMPI 0,r5,0 /* any space left in destination buffer? */
49 addi r5,r3,-1
51 1: lbzu r0,1(r5)
54 addi r5,r5,-1
57 stbu r0,1(r5)
[all …]
Dmem_64.S20 cmplw cr1,r5,r0 /* do we get that far? */
26 subf r5,r0,r5
36 3: srdi. r0,r5,6
37 clrldi r5,r5,58
50 5: srwi. r0,r5,3
51 clrlwi r5,r5,29
67 8: cmpwi r5,0
68 PPC_MTOCRF(1,r5)
86 rlwinm. r7,r5,32-3,3,31 /* r0 = r5 >> 3 */
87 add r6,r3,r5
[all …]
Dcopypage_64.S21 lis r5,PAGE_SIZE@h
25 ori r5,r5,PAGE_SIZE@l
31 srd r8,r5,r11
41 srdi r8,r5,7 /* page is copied in 128 byte strides */
46 ld r5,0(r4)
50 1: std r5,8(r3)
60 ld r5,40(r4)
66 std r5,72(r3)
76 ld r5,104(r4)
84 std r5,8(r3)
[all …]
Dcopyuser_64.S29 cmpldi cr1,r5,16
30 cmpdi cr6,r5,4096
37 std r5,-8(r1)
41 PPC_MTOCRF(0x01,r5)
62 srdi r0,r5,5
68 andi. r0,r5,0x10
88 andi. r5,r5,0xf
115 srdi r6,r5,3
116 addi r5,r5,-16
118 srdi r7,r5,4
[all …]
Ddiv64.S20 lwz r5,0(r3) # get the dividend into r5/r6
22 cmplw r5,r4
26 divwu r7,r5,r4 # if dividend.hi >= divisor,
28 subf. r5,r0,r5 # dividend.hi %= divisor
30 1: mr r11,r5 # here dividend.hi != 0
31 andis. r0,r5,0xc000
33 cntlzw r0,r5 # we are shifting the dividend right
40 or r11,r5,r11
48 subfe. r5,r9,r5 # quotient
Dmemcpy_64.S16 cmpdi cr7,r5,0
30 mtctr r5
36 PPC_MTOCRF(0x01,r5)
37 cmpldi cr1,r5,16
59 srdi r7,r5,4
63 andi. r5,r5,7
95 srdi r6,r5,3
96 addi r5,r5,-16
98 srdi r7,r5,4
101 andi. r5,r5,7
[all …]
Dldstfp.S53 1: mflr r5
54 add r5,r3,r5
55 mtctr r5
72 1: mflr r5
73 add r5,r3,r5
74 mtctr r5
200 1: mflr r5
201 add r5,r3,r5
202 mtctr r5
219 1: mflr r5
[all …]
Dmemcpy_power7.S33 cmpldi r5,16
34 cmpldi cr1,r5,4096
41 cmpldi r5,16
72 3: sub r5,r5,r6
73 cmpldi r5,128
89 srdi r6,r5,7
131 clrldi r5,r5,(64-7)
145 5: srdi r6,r5,4
190 9: clrldi r5,r5,(64-4)
194 mtocrf 0x01,r5
[all …]
Dchecksum_64.S29 lwzu r5,4(r3)
31 addc r0,r0,r5
54 addic r0,r5,0 /* clear carry */
252 srdi. r6,r5,3 /* less than 8 bytes? */
273 subi r5,r5,2
286 srdi. r6,r5,7
289 srdi r6,r5,6
382 andi. r5,r5,63
385 srdi. r6,r5,3
397 andi. r5,r5,7
[all …]
Dcopyuser_power7.S90 ld r5,-STACKFRAMESIZE+STK_REG(R29)(r1)
96 cmpldi r5,16
97 cmpldi cr1,r5,4096
101 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1)
106 cmpldi r5,16
110 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1)
139 3: sub r5,r5,r6
140 cmpldi r5,128
156 srdi r6,r5,7
198 clrldi r5,r5,(64-7)
[all …]
Dstring_64.S155 ld r5,PPC64_CACHES@toc(r2)
163 11: lwz r7,DCACHEL1LOGLINESIZE(r5)
164 lwz r9,DCACHEL1LINESIZE(r5)
176 and. r5,r6,r10
179 srdi r6,r5,4
188 sub r4,r4,r5
Dmemcmp_64.S32 cmpdi cr1,r5,0
39 cmpdi cr6,r5,31
46 mtctr r5
95 srdi r0,r5,5
97 andi. r5,r5,31
188 cmpdi r5,0
/linux-4.4.14/arch/openrisc/kernel/
Dhead.S57 #define EMERGENCY_PRINT_STORE_GPR5 l.sw 0x24(r0),r5
58 #define EMERGENCY_PRINT_LOAD_GPR5 l.lwz r5,0x24(r0)
88 #define EXCEPTION_STORE_GPR5 l.sw 0x70(r0),r5
89 #define EXCEPTION_LOAD_GPR5 l.lwz r5,0x70(r0)
459 CLEAR_GPR(r5)
526 LOAD_SYMBOL_2_GPR(r5,SPR_DTLBMR_BASE(0))
530 l.mtspr r5,r0,0x0
533 l.addi r5,r5,1
595 CLEAR_GPR(r5)
647 l.addi r5,r0,-1
[all …]
Dentry.S61 l.lwz r5,PT_GPR5(r1) ;\
99 l.sw PT_GPR5(r1),r5 ;\
137 l.sw PT_GPR5(r1),r5 ;\
170 l.addi r5,r0,vector ;\
205 l.and r5,r5,r0
211 l.ori r5,r0,0x300 // exception vector
285 l.and r5,r5,r0
291 l.ori r5,r0,0x400 // exception vector
328 l.lwz r5,PT_PC(r1)
330 l.lwz r3,0(r5) /* Load insn */
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dfpu.S62 ori r5,r6,MSR_FP
65 oris r5,r5,MSR_VSX@h
69 MTMSRD(r5)
129 mfmsr r5
130 ori r5,r5,MSR_FP
133 oris r5,r5,MSR_VSX@h
137 MTMSRD(r5) /* enable use of fpu now */
156 PPC_LL r5,PT_REGS(r4)
157 toreal(r5)
158 PPC_LL r4,_MSR-STACK_FRAME_OVERHEAD(r5)
[all …]
Dmisc_64.S83 addi r5,r7,-1
84 andc r6,r3,r5 /* round low to line bdy */
86 add r8,r8,r5 /* ensure we get enough */
99 addi r5,r7,-1
100 andc r6,r3,r5 /* round low to line bdy */
102 add r8,r8,r5
129 addi r5,r7,-1
130 andc r6,r3,r5 /* round low to line bdy */
132 add r8,r8,r5 /* ensure we get enough */
156 addi r5,r7,-1
[all …]
Dcpu_setup_power.S91 ld r5,CPU_SPEC_FEATURES(r4)
93 xor r5,r5,r6
94 std r5,CPU_SPEC_FEATURES(r4)
110 li r5,1
111 rldimi r3,r5, LPCR_LPES_SH, 64-LPCR_LPES_SH-2
113 li r5,4
114 rldimi r3,r5, LPCR_DPFD_SH, 64-LPCR_DPFD_SH-3
116 li r5,4
117 rldimi r3,r5, LPCR_VC_SH, 0
118 li r5,0x10
[all …]
Dmisc_32.S87 mulhwu r4,r4,r5
90 mullw r7,r10,r5
95 mullw r9,r3,r5
96 mulhwu r3,r3,r5
113 1: mflr r5
116 subf r5,r4,r5
117 subf r3,r5,r3
162 lwz r5,CPU_SPEC_SETUP(r4)
163 cmpwi 0,r5,0
164 add r5,r5,r3
[all …]
Dvector.S19 oris r5,r6,MSR_VEC@h
20 MTMSRD(r5)
82 mfmsr r5 /* grab the current MSR */
83 oris r5,r5,MSR_VEC@h
84 MTMSRD(r5) /* enable use of AltiVec now */
106 SAVE_32VRS(0,r5,r6)
111 PPC_LL r5,PT_REGS(r4)
112 toreal(r5)
113 PPC_LL r4,_MSR-STACK_FRAME_OVERHEAD(r5)
116 PPC_STL r4,_MSR-STACK_FRAME_OVERHEAD(r5)
[all …]
Dcpu_setup_6xx.S21 mflr r5
30 mtlr r5
33 mflr r5
36 mtlr r5
39 mflr r5
43 mtlr r5
46 mflr r5
51 mtlr r5
54 mflr r5
59 mtlr r5
[all …]
Dreloc_32.S56 1: lwz r5, 0(r11) /* ELF_Dyn.d_tag */
57 cmpwi r5, 0 /* End of ELF_Dyn[] */
59 cmpwi r5, DT_RELA
64 cmpwi r5, DT_RELASZ
69 cmpwi r5, DT_RELAENT
110 srwi r5, r4, 8 /* ELF32_R_SYM(r_info) */
111 cmpwi r5, STN_UNDEF /* sym == STN_UNDEF ? */
114 slwi r5, r5, 4 /* r5 = r5 * sizeof(Elf32_Sym) */
115 add r12, r13, r5 /* r12 = &__dyn_sym[Index] */
123 lbz r5, 12(r12) /* r5 = dyn_sym[Index].st_info */
[all …]
Dtm.S226 ld r5, GPR11(r1) /* user r11 */
231 std r5, GPR11(r7)
247 mfcr r5
252 std r5, _CCR(r7)
311 mfcr r5
313 stw r5, 8(r1)
338 lis r5, MSR_VEC@h
339 ori r5, r5, MSR_FP
340 and. r5, r4, r5
345 oris r5, r5, MSR_VSX@h
[all …]
Dhead_fsl_booke.S106 lwz r5,4(r4)
112 subf r5,r7,r5
113 add r3,r3,r5
126 rlwinm r5,r4,0,0x3ffffff /* r5 = KERNELBASE % 64M */
127 subf r3,r5,r6 /* r3 = r6 - r5 */
253 mr r5,r23
256 mr r5,r25
283 lis r5, abatron_pteptrs@h
284 ori r5, r5, abatron_pteptrs@l
287 stw r5, 0(r4) /* Save abatron_pteptrs at a fixed location */
[all …]
Dcpu_setup_ppc970.S121 LOAD_REG_ADDR(r5,cpu_state_storage)
125 std r3,CS_HID0(r5)
127 std r3,CS_HID1(r5)
129 std r4,CS_HID4(r5)
131 std r3,CS_HID5(r5)
139 ld r5,CPU_SPEC_FEATURES(r4)
141 andc r5,r5,r6
142 std r5,CPU_SPEC_FEATURES(r4)
155 LOAD_REG_ADDR(r5,cpu_state_storage)
172 ld r3,CS_HID0(r5)
[all …]
Dhead_44x.S89 rlwinm r5,r4,0,4,31 /* r5 = KERNELBASE % 256M */
90 subf r3,r5,r6 /* r3 = r6 - r5 */
159 lis r5,KERNELBASE@h
160 rlwinm r5,r5,0,0,3 /* Align to 256M, lower 32bit */
165 subfc r5,r7,r5
173 stw r5,4(r3)
189 lis r5,PAGE_OFFSET@h
190 ori r5,r5,PAGE_OFFSET@l
191 subf r4,r5,r4
212 lis r5, abatron_pteptrs@h
[all …]
Dhead_64.S279 li r5,0 /* logical cpu id */
284 addi r5,r5,1
285 cmpw r5,r7 /* Check if more pacas exist */
298 mr r24,r5
381 cmpldi cr0,r5,0
422 mr r29,r5
442 mr r5,r29
511 LOAD_REG_ADDR(r5, __end_interrupts)
513 sub r5,r5,r11
516 LOAD_REG_IMMEDIATE(r5, __end_interrupts - _stext)
[all …]
Didle_6xx.S41 slwi r5,r24,2
42 add r5,r5,r3
45 addis r6,r5, nap_save_msscr0@ha
50 addis r6,r5,nap_save_hid1@ha
124 lis r5,(HID0_NAP|HID0_SLEEP)@h
126 oris r5,r5,HID0_DOZE@h
128 andc r4,r4,r5
Dhead_32.S113 cmpwi 0,r5,0
193 lis r5,PHYSICAL_START@h
194 cmplw 0,r4,r5 /* already running at PHYSICAL_START? */
396 1: lwz r5,_DSISR(r11) /* get DSISR value */
412 mr r5,r9
425 mfspr r5,SPRN_DSISR
426 stw r5,_DSISR(r11)
771 li r5,0x4000 /* # bytes of memory to copy */
776 4: mr r5,r25
787 addi r5,r5,-4
[all …]
Dswsusp_booke.S70 mfspr r5,SPRN_TBRL
71 stw r5,SL_TBL(r11)
120 lwz r5,pbe_address(r3) /* source */
123 lwz r8,0(r5)
124 lwz r9,4(r5)
125 lwz r10,8(r5)
126 lwz r11,12(r5)
127 addi r5,r5,16
Dhead_8xx.S237 li r5,RPN_PATTERN
238 mtspr SPRN_DAR,r5 /* Tag DAR, to be used in DTLB Error */
239 mfspr r5,SPRN_DSISR
240 stw r5,_DSISR(r11)
265 li r5,RPN_PATTERN
266 mtspr SPRN_DAR,r5 /* Tag DAR, to be used in DTLB Error */
267 mfspr r5,SPRN_DSISR
268 stw r5,_DSISR(r11)
471 mr r5,r9
472 andis. r10,r5,0x4000
[all …]
Dentry_64.S78 std r5,GPR5(r1)
169 clrldi r5,r5,32
214 ld r5,_CCR(r1)
231 mtcr r5
238 oris r5,r5,0x1000 /* Set SO bit in CR */
240 std r5,_CCR(r1)
260 ld r5,GPR5(r1)
296 ld r5,_CCR(r1)
298 oris r5,r5,0x1000 /* Set SO bit in CR */
299 std r5,_CCR(r1)
[all …]
Didle_power7.S142 LOAD_REG_IMMEDIATE(r5, MSR_IDLE)
148 mtspr SPRN_SRR1, r5
428 LDX_BE r5, r8, r3
431 andis. r7,r5,SLB_ESID_V@h
433 slbmte r6,r5
448 li r5,PNV_THREAD_RUNNING
449 stb r5,PACA_THREAD_IDLE_STATE(r13)
468 ld r5,_NIP(r1)
473 mtspr SPRN_SRR0,r5
496 ld r5,_NIP(r1)
[all …]
Dswsusp_32.S65 mftb r5
66 stw r5,SL_TB+4(r11)
175 tophys(r5,r11)
179 lwz r8,0(r5)
180 lwz r9,4(r5)
181 lwz r10,8(r5)
182 lwz r11,12(r5)
183 addi r5,r5,16
Dcpu_setup_fsl_booke.S142 mflr r5
168 mtlr r5
176 mflr r5
187 mtlr r5
211 mflr r5
233 mtlr r5
Dexceptions-64e.S210 ld r5,SOFTE(r1)
215 cmpwi cr0,r5,0
219 stb r5,PACASOFTIRQEN(r13)
392 mfspr r5,scratch; /* get back r13 */ \
405 std r5,GPR13(r1); /* save it to stackframe */ \
1014 mr r5,r15
1022 mr r5,r3
1154 mfspr r5,SPRN_SPRG_GEN_SCRATCH;/* get back r13 XXX can be wrong */ \
1158 std r5,GPR13(r1); /* save it to stackframe */ \
1206 andi. r5,r4,TLBnCFG_HES
[all …]
Dmisc.S47 1: mflr r5
48 PPC_LL r4,(2f-1b)(r5)
49 subf r5,r4,r5
50 add r3,r3,r5
Dentry_32.S234 stw r5,24(r1)
236 lwz r5,24(r1)
326 lwz r5,GPR5(r1)
391 lwz r5,icache_44x_need_flush@l(r4)
392 cmplwi cr0,r5,0
402 lwz r5,_CCR(r1)
404 mtcr r5
456 lwz r5,GPR5(r1)
576 mr r5,r3
709 lwz r5,fee_restarts@l(r3)
[all …]
/linux-4.4.14/arch/sh/lib64/
Dudivdi3.S8 shlri r6,49,r5
10 sub r21,r5,r1
14 mmulfx.w r5,r4,r4
22 mmulfx.w r5,r4,r4
28 addi r1,-3,r5
29 mulu.l r5,r19,r5
34 mulu.l r5,r3,r8
44 shlld r5,r0,r8
47 mulu.l r21,r3,r5
52 sub r2,r5,r2
[all …]
Dstrcpy.S37 ldx.q r0, r21, r5
40 mcmpeq.b r5, r63, r6
53 add r5, r63, r4
64 add r5, r63, r4
73 andi r4,0xff,r5
76 bnei/l r5,0,tr1
81 stlo.q r0, 0, r5
84 sthi.q r0, -9, r5
87 ldx.q r0, r21, r5
90 mcmpeq.b r5, r63, r6
[all …]
Dcopy_user_memcpy.S75 add r2,r4,r5
85 sthi.l r5, -1, r6
86 stlo.l r5, -4, r6
99 st.b r5,-1,r6
110 sthi.q r5, -1, r6
111 stlo.q r5, -8, r6
154 sthi.q r5, -1, r6
155 stlo.q r5, -8, r6
164 add r2, r4, r5
166 addi r5, -16, r5
[all …]
Dmemcpy.S60 add r2,r4,r5
70 sthi.l r5, -1, r6
71 stlo.l r5, -4, r6
84 st.b r5,-1,r6
95 sthi.q r5, -1, r6
96 stlo.q r5, -8, r6
139 sthi.q r5, -1, r6
140 stlo.q r5, -8, r6
149 add r2, r4, r5
151 addi r5, -16, r5
[all …]
/linux-4.4.14/arch/powerpc/mm/
Dhash_low_64.S116 sldi r29,r5,SID_SHIFT - VPN_SHIFT
125 xor r28,r5,r0 /* hash */
129 sldi r29,r5,SID_SHIFT_1T - VPN_SHIFT
138 sldi r28,r5,25 /* vsid << 25 */
141 xor r28,r28,r5 /* vsid ^ ( vsid << 25) */
162 mr r5,r7
191 rldicl r5,r31,64-PTE_RPN_SHIFT,PTE_RPN_SHIFT
192 sldi r5,r5,PAGE_SHIFT
216 rldicl r5,r31,64-PTE_RPN_SHIFT,PTE_RPN_SHIFT
217 sldi r5,r5,PAGE_SHIFT
[all …]
Dhash_low_32.S73 lwz r5,PGDIR(r8) /* virt page-table root */
75 lis r5,swapper_pg_dir@ha /* if kernel address, use */
76 addi r5,r5,swapper_pg_dir@l /* kernel page table */
78 112: add r5,r5,r7 /* convert to phys addr */
80 rlwimi r5,r4,12,20,29 /* insert top 10 bits of address */
81 lwz r8,0(r5) /* get pmd entry */
85 lwzx r8,r8,r5 /* Get L1 entry */
119 andc. r5,r3,r6 /* check access & ~permission */
125 or r5,r0,r6 /* set accessed/dirty bits */
135 stwcx. r5,0,r8 /* attempt to update PTE */
[all …]
Dtlb_nohash_low.S47 mfmsr r5
53 wrtee r5
76 mfspr r5,SPRN_MMUCR
83 rlwimi r5,r4,0,16,31
94 mtspr SPRN_MMUCR,r5
133 lwz r5,tlb_44x_hwater@l(r4)
137 cmpw 0,r3,r5
164 or r5,r3,r4 /* Make way|index for tlbre */
165 rlwimi r5,r5,16,8,15 /* Copy index into position */
166 tlbre r6,r5,0 /* Read entry */
[all …]
/linux-4.4.14/arch/arm/kernel/
Dhead-common.S51 ldr r5, [r2, #0]
54 cmp r5, r6
57 cmp r5, #ATAG_CORE_SIZE @ is first tag ATAG_CORE?
58 cmpne r5, #ATAG_CORE_SIZE_EMPTY
60 ldr r5, [r2, #4]
62 cmp r5, r6
84 ldmia r3!, {r4, r5, r6, r7}
85 cmp r4, r5 @ Copy data segment if needed
86 1: cmpne r5, r6
88 strne fp, [r5], #4
[all …]
Dhead-nommu.S65 bl __lookup_processor_type @ r5=procinfo r9=cpuid
66 movs r10, r5 @ invalid processor (r5=0)?
71 ldr r5, =PLAT_PHYS_OFFSET @ Region start: PHYS_OFFSET
73 sub r6, r6, r5 @ Minimum size of region to map
105 bl __lookup_processor_type @ r5=procinfo r9=cpuid
106 movs r10, r5 @ invalid processor?
203 ands r5, r0, #MPUIR_DREGION_SZMASK @ 0 size d region => No MPU
212 ldr r5,=(MPU_AP_PL1RW_PL0RW | MPU_RGN_NORMAL)
214 setup_region r0, r5, r6, MPU_DATA_SIDE @ PHYS_OFFSET, shared, enabled
216 setup_region r0, r5, r6, MPU_INSTR_SIDE @ PHYS_OFFSET, shared, enabled
[all …]
Dhead.S95 bl __lookup_processor_type @ r5=procinfo r9=cpuid
96 movs r10, r5 @ invalid processor (r5=0)?
153 mov r5, #0 @ high TTBR0
231 ldmia r0, {r3, r5, r6}
233 add r5, r5, r0 @ phys __turn_mmu_on
235 mov r5, r5, lsr #SECTION_SHIFT
238 1: orr r3, r7, r5, lsl #SECTION_SHIFT @ flags + kernel base
239 str r3, [r4, r5, lsl #PMD_ORDER] @ identity mapping
240 cmp r5, r6
241 addlo r5, r5, #1 @ next section
[all …]
Dentry-common.S115 cmp r5, #0
118 retne r5
221 stmdb sp!, {r4, r5} @ push fifth and sixth args
267 stmccia sp, {r4, r5} @ and update the stack args
320 stmloia sp, {r5, r6} @ shuffle args
359 tst r5, #PGOFF_MASK
360 moveq r5, r5, lsr #PAGE_SHIFT - 12
361 streq r5, [sp, #4]
366 str r5, [sp, #4]
Dentry-armv.S54 @ PABORT handler takes pt_regs in r2, fault address in r4 and psr in r5
71 @ r5 - aborted context psr
135 stmia r0, {r5 - r7} @ lr_<exception>,
167 ldmia r0, {r3 - r5}
183 @ r5 - spsr_<exception>
205 THUMB( ldr r5, [sp, #S_PSR] ) @ potentially updated CPSR
206 svc_exit r5 @ return from exception
225 svc_exit r5, irq = 1 @ return from exception
293 ldr r5, [sp, #S_PSR] @ Get SVC cpsr
294 svc_exit r5 @ return from exception
[all …]
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S52 LOAD_REG_ADDR(r5, kvmppc_call_hv_entry)
58 mtsrr0 r5
70 ld r5,HSTATE_DABR(r13)
72 mtspr SPRN_DABR,r5
93 lwz r5, HSTATE_PMC3(r13)
99 mtspr SPRN_PMC3, r5
105 ld r5, HSTATE_MMCRA(r13)
109 mtspr SPRN_MMCRA, r5
193 ld r5, HSTATE_KVM_VCORE(r13)
194 65: lbz r0, VCORE_IN_GUEST(r5)
[all …]
Dbookehv_interrupts.S101 PPC_STL r5, VCPU_PC(r4)
187 PPC_STL r5, VCPU_GPR(R5)(r4)
192 PPC_LL r5, EX_TLB_R13(r12)
197 mfspr r5, \scratch
201 PPC_STL r5, VCPU_GPR(R13)(r4)
207 mfctr r5
208 PPC_STL r5, VCPU_CTR(r4)
209 mfspr r5, \srr0
294 PPC_STL r5, VCPU_GPR(R5)(r11)
296 mfspr r5, \srr0
[all …]
Dbook3s_hv_interrupts.S86 li r5, 0
87 mtspr SPRN_MMCRA, r5
90 lbz r5, LPPACA_PMCINUSE(r3)
91 cmpwi r5, 0
93 mfspr r5, SPRN_MMCR1
97 std r5, HSTATE_MMCR1(r13)
107 mfspr r5, SPRN_PMC2
113 stw r5, HSTATE_PMC2(r13)
Dbook3s_interrupts.S113 ld r5, VCPU_SHARED(r4)
117 ld r3, VCPU_SHARED_SPRG3(r5)
119 addi r5, r5, VCPU_SHARED_SPRG3
120 ldbrx r3, 0, r5
125 ld r3, VCPU_SHARED_SPRG3(r5)
127 addi r5, r5, VCPU_SHARED_SPRG3
128 ldbrx r3, 0, r5
206 lwz r5, VCPU_TRAP(r7)
Dbook3s_segment.S79 PPC_STL r5, HSTATE_HOST_MSR(r3)
142 PPC_LL r5, SVCPU_R5(r3)
193 PPC_STL r5, SVCPU_R5(r13)
234 mfxer r5
240 PPC_STL r5, SVCPU_XER(r13)
316 lbz r5, HSTATE_RESTORE_HID5(r13)
317 cmpwi r5, 0
321 mfspr r5,SPRN_HID5
322 rldimi r5,r4,6,56
323 mtspr SPRN_HID5,r5
Dbooke_interrupts.S62 stw r5, VCPU_GPR(R5)(r4)
65 mfctr r5
67 stw r5, VCPU_CTR(r4)
71 li r5, \ivor_nr
157 slw r6, r6, r5
262 andi. r5, r3, RESUME_FLAG_NV
284 andi. r5, r3, RESUME_FLAG_HOST
342 lwz r5, HOST_CR(r1)
345 mtcr r5
362 mfcr r5
[all …]
Dbook3s_rmhandlers.S154 mfmsr r5
159 andc r6, r5, r6 /* Clear DR and IR in MSR value */
164 ori r5, r5, MSR_EE
Dfpu.S36 lfs 0,0(r5); \
57 lfs 0,0(r5); \
80 lfs 0,0(r5); \
141 stfd 0,0(r5) /* save result */
211 lfd 0,0(r5); /* load param1 */ \
/linux-4.4.14/arch/powerpc/kernel/vdso64/
Dgettimeofday.S40 std r5,TVAL64_TV_USEC(r11) /* store usec in tv */
44 lwz r5,CFG_TZ_DSTTIME(r3)
46 stw r5,TZONE_TZ_DSTTIME(r10)
104 add r5,r5,r9
105 cmpd cr0,r5,r7
106 cmpdi cr1,r5,0
108 subf r5,r7,r5
112 add r5,r5,r7
115 std r5,TSPC64_TV_NSEC(r11)
151 lis r5,CLOCK_REALTIME_RES@h
[all …]
Dcacheflush.S37 addi r5,r7,-1
38 andc r6,r11,r5 /* round low to line bdy */
40 add r8,r8,r5 /* ensure we get enough */
54 addi r5,r7,-1
55 andc r6,r11,r5 /* round low to line bdy */
57 add r8,r8,r5
Dgetcpu.S32 mfspr r5,SPRN_SPRG_VDSO_READ
35 clrlwi r6,r5,16
36 rlwinm r7,r5,16,31-15,31-0
/linux-4.4.14/arch/arc/lib/
Dmemcpy-archs.S60 ldb.ab r5, [r1,1]
62 stb.ab r5, [r3,1]
90 ldb.ab r5, [r1,1]
91 stb.ab r5, [r3,1]
103 ldb.ab r5, [r1, 1]
113 MERGE_2 (r5, r5, 24)
114 or r5, r5, r6
125 or r7, r7, r5
126 SHIFT_2 (r5, r6, 8)
129 or r9, r9, r5
[all …]
Dmemcmp.S25 ld r5,[r1,0]
43 brne r4,r5,.Leven
45 ld.a r5,[r1,8]
55 brne r4,r5,.Leven
57 ld r5,[r1,4]
62 xor r0,r4,r5
70 xor r0,r4,r5
78 asl r12,r5,r1
101 lsr r5,r5,SHIFT
104 sub.f r0,r4,r5
[all …]
Dmemcpy-700.S14 mov_s r5,r0
21 st.ab r12,[r5,4]
26 st.ab r12,[r5,4]
28 st.ab r3,[r5,4]
31 ld r3,[r5,0]
47 st r12,[r5,0]
55 stb.ab r12,[r5,1]
60 stb.ab r12,[r5,1]
62 stb.ab r3,[r5,1]
65 stb r12,[r5,0]
Dstrchr-700.S18 asl r5,r1,8
20 or r5,r5,r1
23 asl r4,r5,16
32 or r5,r5,r4
38 xor r6,r2,r5
57 or r5,r5,r4
65 xor r6,r2,r5
Dstrlen.S21 ror r5,r4
28 and r12,r12,r5
31 ror r5,r4
42 and r12,r12,r5
55 and r12,r12,r5
58 and.f r1,r1,r5
Dstrcmp.S23 ror r5,r12
30 and r4,r4,r5
37 sub r1,r5,r0
38 xor r0,r5,r1 ; mask for least significant difference byte
54 sub r1,r5,r0
55 xor r0,r5,r1 ; mask for least significant difference byte
/linux-4.4.14/arch/arm/mach-omap1/
Dsleep.S99 mov r5, #OMAP7XX_IDLECT2_SLEEP_VAL & 0xff
100 orr r5, r5, #OMAP7XX_IDLECT2_SLEEP_VAL & 0xff00
101 strh r5, [r4, #ARM_IDLECT2_ASM_OFFSET & 0xff]
158 ldr r5, [r4, #EMIFS_CONFIG_ASM_OFFSET & 0xff]
159 bic r5, r5, #PDE_BIT & 0xff
160 str r5, [r4, #EMIFS_CONFIG_ASM_OFFSET & 0xff]
163 and r5, r5, #PWD_EN_BIT & 0xff
164 str r5, [r4, #EMIFS_CONFIG_ASM_OFFSET & 0xff]
167 ldr r5, [r4, #EMIFF_SDRAM_CONFIG_ASM_OFFSET & 0xff]
168 orr r5, r5, #SELF_REFRESH_MODE & 0xff000000
[all …]
/linux-4.4.14/arch/m32r/kernel/
Dhead.S147 ldi r5, #0x01
148 st r5, @r4 ; Set MATM Reg(T bit ON)
150 LDIMM (r5, 1f)
151 jmp r5 ; enable MMU
159 ld r5, @r4 ; Read ISTSi reg.
160 mv r6, r5
161 slli r5, #13 ; PIML check
162 srli r5, #13 ;
165 st r5, @r4 ; Write IMASKi reg.
175 seth r5, #high(M32R_CPUID_PORTL)
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc200 mov $r5 0x114
201 iowrs I[$r15] $r5
204 shl b32 $r5 $r3 4
205 add b32 $r5 2
206 mov $xdbase $r5
207 mov $r5 $sp
209 sub b32 $r5 0x100
212 and $r5 $r6
213 sethi $r5 0x00020000
214 xdld $r4 $r5
[all …]
/linux-4.4.14/arch/arm/mm/
Dpv-fixup-asm.S38 adc r5, r5, r1
49 adc r5, r5, r1
53 adc r5, r5, r1
61 adc r5, r5, r1
66 mrrc p15, 0, r4, r5, c2 @ read TTBR0
68 adc r5, r5, r1
69 mcrr p15, 0, r4, r5, c2 @ write back TTBR0
70 mrrc p15, 1, r4, r5, c2 @ read TTBR1
72 adc r5, r5, r1
73 mcrr p15, 1, r4, r5, c2 @ write back TTBR1
Dproc-v7m.S90 ldr r5, [r0, #V7M_SCB_SHCSR]
91 orr r5, #(V7M_SCB_SHCSR_USGFAULTENA | V7M_SCB_SHCSR_BUSFAULTENA | V7M_SCB_SHCSR_MEMFAULTENA)
92 str r5, [r0, #V7M_SCB_SHCSR]
95 mov r5, #0x80000000
96 str r5, [r0, V7M_SCB_SHPR2] @ set SVC priority
97 mov r5, #0x00800000
98 str r5, [r0, V7M_SCB_SHPR3] @ set PendSV priority
102 ldr r5, [r12, #11 * 4] @ read the SVC vector entry
110 str r5, [r12, #11 * 4] @ restore the original SVC vector entry
Dproc-arm720.S127 ldr r5, arm710_cr1_clear
128 bic r0, r0, r5
129 ldr r5, arm710_cr1_set
130 orr r0, r0, r5
154 adr r5, arm720_crval
155 ldmia r5, {r5, r6}
157 bic r0, r0, r5
Dproc-v6.S144 mrc p15, 0, r5, c3, c0, 0 @ Domain ID
164 mcr p15, 0, r5, c3, c0, 0 @ Domain ID
222 adr r5, v6_crval
223 ldmia r5, {r5, r6}
226 bic r0, r0, r5 @ clear bits them
237 mrc p15, 0, r5, c0, c0, 0 @ get processor id
238 teq r5, r6 @ check for the faulty core
239 mrceq p15, 0, r5, c1, c0, 1 @ load aux control reg
240 orreq r5, r5, #(1 << 31) @ set the undocumented bit 31
241 mcreq p15, 0, r5, c1, c0, 1 @ write aux control reg
Dproc-v7.S100 mrc p15, 0, r5, c13, c0, 3 @ User r/o thread ID
101 stmia r0!, {r4 - r5}
105 mrrc p15, 1, r5, r7, c2 @ TTB 1
114 stmia r0, {r5 - r11}
122 ldmia r0!, {r4 - r5}
124 mcr p15, 0, r5, c13, c0, 3 @ User r/o thread ID
125 ldmia r0, {r5 - r11}
131 mcrr p15, 1, r5, r7, c2 @ TTB 1
140 ldr r5, =NMRR @ NMRR
142 mcr p15, 0, r5, c10, c2, 1 @ write NMRR
[all …]
/linux-4.4.14/arch/nios2/kernel/
Dinsnemu.S37 ldw r5, PT_R5(sp)
132 stw r5, 20(sp)
152 rdctl r5, estatus
153 stw r5, 100(sp)
169 roli r5, r4, 2 /* r5 = IIIIIIIIIIIIII,PPPPPP,AAAAA,BBBBB,II */
171 roli r6, r5, 5 /* r6 = XXXX,NNNNN,PPPPPP,AAAAA,BBBBB,CCCCC,XX */
174 andi r5, r5, 0x7c /* r5 = 0000000000000000000000000,BBBBB,00 */
202 add r5, r5, sp /* r5 = address of B-operand. */
203 ldw r5, 0(r5) /* r5 = B-operand. */
281 xor r17, r3, r5 /* MSB contains sign of quotient */
[all …]
/linux-4.4.14/arch/ia64/kernel/
Drelocate_kernel.S202 st8 [loc1]=r5, 8
209 mov r5=pr
212 st8 [loc1]=r5, 8 // pr
217 mov r5=b1;
220 st8 [loc1]=r5, 8 // b1
225 mov r5=b3
228 st8 [loc1]=r5, 8 // b3
233 mov r5=b5
236 st8 [loc1]=r5, 8 // b5
240 st8 [loc1]=r5, 8 // b6
[all …]
/linux-4.4.14/arch/score/lib/
Dchecksum.S53 #define dest r5
59 mv r5, r10
67 cmpi.c r5, 0x0
73 subi.c r5, 0x1
77 andri.c r8, r5, 0x4 /*Len >= 4?*/
97 andri.c r8, r5, 0x2
104 andri.c r8, r5, 0x1
138 mv r10, r5
139 cmpi.c r5, 0x8
141 cmpi.c r5, 0x0
[all …]
Dstring.S35 0: lbu r7, [r5]
38 2: lb r6, [r5]
46 3: lbu r6, [r5, 1]+
48 5: lb r7, [r5]
75 cmpi.c r5, 0
83 cmp.c r7, r5
141 add r6, r5, r9
164 cmpi.c r5, 0
171 cmp.c r6, r5
/linux-4.4.14/arch/arc/kernel/
Dhead.S27 lr r5, [ARC_REG_IC_BCR]
28 breq r5, 0, 1f ; I$ doesn't exist
40 lr r5, [ARC_REG_DC_CTRL]
41 bclr r5, r5, 6 ; Invalidate (discard w/o wback)
43 bclr r5, r5, 0 ; Enable (+Inv)
45 bset r5, r5, 0 ; Disable (+Inv)
47 sr r5, [ARC_REG_DC_CTRL]
/linux-4.4.14/arch/arm/crypto/
Daes-armv4.S160 ldrb r5,[r12,#1]
164 orr r0,r0,r5,lsl#16
167 ldrb r5,[r12,#5]
171 orr r1,r1,r5,lsl#16
174 ldrb r5,[r12,#9]
178 orr r2,r2,r5,lsl#16
181 ldrb r5,[r12,#13]
184 orr r3,r3,r5,lsl#16
214 mov r5,r0,lsr#16 @ manner...
217 strb r5,[r12,#1]
[all …]
Dsha1-armv4-large.S62 ldmia r0,{r3,r4,r5,r6,r7}
67 mov r5,r5,ror#30
78 eor r10,r5,r6 @ F_xx_xx
85 eor r10,r5,r6 @ F_xx_xx
103 eor r10,r4,r5 @ F_xx_xx
110 eor r10,r4,r5 @ F_xx_xx
118 eor r10,r10,r5,ror#2 @ F_00_19(B,C,D)
125 add r5,r8,r5,ror#2 @ E+=K_00_19
130 add r5,r5,r6,ror#27 @ E+=ROR(A,27)
134 add r5,r8,r5,ror#2 @ E+=K_00_19
[all …]
Dsha256-core.S_shipped104 ldmia r0,{r4,r5,r6,r7,r8,r9,r10,r11}
113 eor r3,r5,r6 @ magic
161 eor r12,r4,r5 @ a^b, b^c in next round
164 eor r12,r4,r5 @ a^b, b^c in next round
170 eor r3,r3,r5 @ Maj(a,b,c)
285 add r5,r5,r9 @ d+=h
294 eor r0,r5,r5,ror#5
296 eor r0,r0,r5,ror#19 @ Sigma1(e)
311 eor r0,r5,r5,ror#5
313 eor r0,r0,r5,ror#19 @ Sigma1(e)
[all …]
/linux-4.4.14/arch/powerpc/crypto/
Daes-spe-keys.S34 xor r5,r5,r5; /* clear sensitive data */ \
81 LOAD_KEY(r5,r4,0)
85 stw r5,0(r3) /* key[0..3] = input data */
97 xor r5,r5,r14 /* xor next 4 keys */
98 xor r6,r6,r5
101 stw r5,0(r3) /* store next 4 keys */
123 LOAD_KEY(r5,r4,0)
129 stw r5,0(r3)
143 xor r5,r5,r14 /* xor next 6 keys */
144 xor r6,r6,r5
[all …]
/linux-4.4.14/arch/sh/kernel/cpu/shmobile/
Dsleep.S34 mov.l r4, @(SH_SLEEP_MODE, r5)
38 mov.l r0, @(SH_SLEEP_VBR, r5)
41 ldc r5, vbr
45 mov.l r0, @(SH_SLEEP_SPC, r5)
49 mov.l r0, @(SH_SLEEP_SR, r5)
52 mov.l @(SH_SLEEP_MODE, r5), r0
91 mov.l r15, @(SH_SLEEP_SP, r5)
92 mov r5, r15
99 mov.l @(SH_SLEEP_MODE, r5), r0
150 mov.l @(SH_SLEEP_MODE, r5), r0
[all …]
/linux-4.4.14/arch/arm/boot/compressed/
Dll_char_wr.S48 ldmia ip, {r3, r4, r5, r6, lr}
53 ldr r5, [r5, ip]
59 add r0, r0, r5, lsl #3 @ Move to bottom of character
65 @ Smashable regs: {r0 - r3}, [r4], {r5 - r7}, (r8 - fp), [ip], (sp), {lr}, (pc)
71 str r7, [r0, -r5]!
76 str r7, [r0, -r5]!
83 @ Smashable regs: {r0 - r3}, [r4], {r5 - r7}, (r8 - fp), [ip], (sp), {lr}, (pc)
93 sub r0, r0, r5 @ avoid ip
103 sub r0, r0, r5 @ avoid ip
111 @ Smashable regs: {r0 - r3}, [r4], {r5, r6}, [r7], (r8 - fp), [ip], (sp), [lr], (pc)
[all …]
Dhead.S97 kphex r5, 8 /* decompressed kernel start */
108 kphex r5, 8 /* end of kernel */
258 mov r5, #0 @ init dtb size to 0
299 ldr r5, [r6, #4]
302 eor r1, r5, r5, ror #16
304 mov r5, r5, ror #8
305 eor r5, r5, r1, lsr #8
308 add r5, r5, r5, lsr #1
310 add r5, r5, #7
311 bic r5, r5, #7
[all …]
/linux-4.4.14/arch/tile/kernel/
Dhead_64.S100 move r5, r1
104 bfins r5, r6, HV_PTE_INDEX_PTFN, \
109 st r0, r5
115 bfins r5, r6, HV_PTE_INDEX_PTFN, \
119 st r0, r5
146 GET_FIRST_INT(r5, r1) /* r5 = width */
151 mul_lu_lu r4, r4, r5
166 moveli r5, hw2_last(__per_cpu_offset)
167 shl16insli r5, r5, hw1(__per_cpu_offset)
168 shl16insli r5, r5, hw0(__per_cpu_offset)
[all …]
Dhead_32.S72 moveli r5, CTX_PAGE_FLAG
94 moveli r5, lo16(__per_cpu_offset)
95 auli r5, r5, ha16(__per_cpu_offset)
96 s2a r5, r4, r5
97 lw r5, r5
98 bnz r5, 1f
113 move r5, zero
118 addli r1, r5, lo16(boot_sp)
119 addli r0, r5, lo16(boot_pc)
/linux-4.4.14/arch/arm/mach-omap2/
Dsleep34xx.S176 ldr r5, [r4]
178 bxeq r5 @ jump to the WFI code in SRAM
237 ldr r5, [r4] @ read the contents of SDRC_POWER
238 orr r5, r5, #0x40 @ enable self refresh on idle req
239 str r5, [r4] @ write back to SDRC_POWER register
284 ldr r5, [r4]
285 tst r5, #1
290 ldr r5, [r4]
291 tst r5, #0x2
295 ldr r5, [r4]
[all …]
Dsram242x.S112 ldr r5, [r4] @ get value.
114 and r5, r5, r6 @ apply mask to clear bits
115 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
116 str r5, [r4] @ set up for change.
118 orr r5, r5, r3 @ build value for force
119 str r5, [r4] @ Force transition to L1
122 ldr r5, [r3] @ get value
123 add r5, r5, #0x3 @ give it at most 93uS
126 cmp r5, r7 @ time up?
156 ldr r5, [r6] @ get value
[all …]
Dsram243x.S112 ldr r5, [r4] @ get value.
114 and r5, r5, r6 @ apply mask to clear bits
115 orr r5, r5, r9 @ bulld value for L0/L1-volt operation.
116 str r5, [r4] @ set up for change.
118 orr r5, r5, r3 @ build value for force
119 str r5, [r4] @ Force transition to L1
122 ldr r5, [r3] @ get value
123 add r5, r5, #0x3 @ give it at most 93uS
126 cmp r5, r7 @ time up?
156 ldr r5, [r6] @ get value
[all …]
Dsleep24xx.S74 mov r5, #0x2000 @ set delay (DPLL relock + DLL relock)
80 subs r5, r5, #0x1 @ awake, wait just a bit
94 mov r5, #0x1000
96 subs r5, r5, #0x1
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dsubcore-asm.S35 li r5, MSR_IR|MSR_DR
36 andc r5, r4, r5
41 mtspr SPRN_SRR1,r5
60 li r5, (HID0_POWER8_4LPARMODE | HID0_POWER8_2LPARMODE)@highest
61 sldi r5, r5, 48
65 and. r4, r4, r5
86 LOAD_REG_ADDR(r5, virtual_mode)
89 mtspr SPRN_SRR0,r5
/linux-4.4.14/arch/x86/crypto/
Daes-i586-asm_32.S61 #define r5 edi macro
160 save (1,r5); \
163 do_fcol(table, r2,r5,r4,r1, r0,r3, arg); /* idx=r0 */ \
164 do_col (table, r4,r1,r2,r5, r0,r3); /* idx=r4 */ \
166 do_col (table, r1,r2,r5,r4, r0,r3); /* idx=r1 */ \
168 do_col (table, r5,r4,r1,r2, r0,r3); /* idx=r5 */
175 save (1,r5); \
178 do_fcol(table, r0,r5,r4,r1, r2,r3, arg); /* idx=r2 */ \
179 do_col (table, r4,r1,r0,r5, r2,r3); /* idx=r4 */ \
181 do_col (table, r1,r0,r5,r4, r2,r3); /* idx=r1 */ \
[all …]
Daes-x86_64-asm_64.S52 #define prologue(FUNC,KEY,B128,B192,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11) \ argument
58 movl (r7),r5 ## E; \
63 xorl -48(r9),r5 ## E; \
73 #define epilogue(FUNC,r1,r2,r3,r4,r5,r6,r7,r8,r9) \ argument
76 movl r5 ## E,(r9); \
83 #define round(TAB,OFFSET,r1,r2,r3,r4,r5,r6,r7,r8,ra,rb,rc,rd) \ argument
84 movzbl r2 ## H,r5 ## E; \
86 movl TAB+1024(,r5,4),r5 ## E;\
95 xorl TAB+3072(,r7,4),r5 ## E;\
103 xorl TAB(,r7,4),r5 ## E; \
[all …]
/linux-4.4.14/arch/powerpc/kernel/vdso32/
Dgettimeofday.S55 lwz r5,CFG_TZ_DSTTIME(r9)
57 stw r5,TZONE_TZ_DSTTIME(r11)
101 lwz r5,WTOM_CLOCK_SEC(r9)
107 or r0,r6,r5
118 add r3,r3,r5
166 lis r5,CLOCK_REALTIME_RES@h
167 ori r5,r5,CLOCK_REALTIME_RES@l
169 stw r5,TSPC32_TV_NSEC(r4)
231 lwz r5,CFG_TB_ORIG_STAMP(r9)
250 subfe r0,r5,r3
[all …]
Dcacheflush.S37 addi r5,r7,-1
38 andc r6,r11,r5 /* round low to line bdy */
40 add r8,r8,r5 /* ensure we get enough */
54 addi r5,r7,-1
55 andc r6,r11,r5 /* round low to line bdy */
57 add r8,r8,r5
Dgetcpu.S32 mfspr r5,SPRN_SPRG_VDSO_READ
35 clrlwi r6,r5,16
36 rlwinm r7,r5,16,31-15,31-0
/linux-4.4.14/arch/m32r/boot/
Dsetup.S101 seth r5, #shigh(M32R_CPUID_PORTL)
102 ld r5, @(low(M32R_CPUID_PORTL), r5)
103 bnez r5, AP_loop
106 ld24 r5, #0xeff2f8 ; IPICR7
108 st r6, @r5
153 seth r5, #high(__PAGE_OFFSET)
154 or3 r5, r5, #low(__PAGE_OFFSET)
155 not r5, r5
156 and r4, r5
161 ldi r5, #0
[all …]
/linux-4.4.14/drivers/scsi/arm/
Dacornscsi-io.S32 ldmia r0!, {r3, r4, r5, r6}
35 and r4, r5, lr
37 ldmia r0!, {r5, r6, r7, ip}
38 and r5, r5, lr
39 orr r5, r5, r6, lsl #16
48 ldmia r0!, {r3, r4, r5, r6}
51 and r4, r5, lr
89 mov r5, r6, lsl #16
90 orr r5, r5, r5, lsr #16
93 stmia r0!, {r3, r4, r5, r6}
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/
Dcopyuser_64.S29 cmpldi cr1,r5,16
30 cmpdi cr6,r5,4096
37 std r5,-8(r1)
41 PPC_MTOCRF(0x01,r5)
62 srdi r0,r5,5
68 andi. r0,r5,0x10
88 andi. r5,r5,0xf
115 srdi r6,r5,3
116 addi r5,r5,-16
118 srdi r7,r5,4
[all …]
Dmemcpy_64.S16 cmpdi cr7,r5,0
30 mtctr r5
36 PPC_MTOCRF(0x01,r5)
37 cmpldi cr1,r5,16
59 srdi r7,r5,4
63 andi. r5,r5,7
95 srdi r6,r5,3
96 addi r5,r5,-16
98 srdi r7,r5,4
101 andi. r5,r5,7
[all …]
Dmemcpy_power7.S33 cmpldi r5,16
34 cmpldi cr1,r5,4096
41 cmpldi r5,16
72 3: sub r5,r5,r6
73 cmpldi r5,128
89 srdi r6,r5,7
131 clrldi r5,r5,(64-7)
145 5: srdi r6,r5,4
190 9: clrldi r5,r5,(64-4)
194 mtocrf 0x01,r5
[all …]
Dcopyuser_power7.S90 ld r5,-STACKFRAMESIZE+STK_REG(R29)(r1)
96 cmpldi r5,16
97 cmpldi cr1,r5,4096
101 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1)
106 cmpldi r5,16
110 std r5,-STACKFRAMESIZE+STK_REG(R29)(r1)
139 3: sub r5,r5,r6
140 cmpldi r5,128
156 srdi r6,r5,7
198 clrldi r5,r5,(64-7)
[all …]
/linux-4.4.14/arch/powerpc/platforms/pseries/
DhvCall.S39 std r5,STK_PARAM(R5)(r1); \
51 ld r5,STACK_FRAME_OVERHEAD+STK_PARAM(R5)(r1); \
74 li r5,0; \
78 mr r5,BUFREG; \
140 mr r4,r5
141 mr r5,r6
151 std r5, 8(r12)
167 mr r4,r5
168 mr r5,r6
178 std r5,8(r12)
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
Dg98.fuc0s154 shl b32 $r5 $r4 1
155 cmps b32 $r5 0
182 mov $r5 #ctx_dma
185 ld b32 $r7 D[$r5 + $r6 * 4]
194 mov $r5 2
195 iowr I[$r3 + 0x200] $r5
212 and $r5 $r4 0x7bf
213 cmpu b32 $r5 0
216 mov $r5 #engine_cmd_dtable - 0xc0 * 8
220 mov $r5 #common_cmd_dtable - 0x80 * 8
[all …]
/linux-4.4.14/arch/powerpc/include/asm/
Depapr_hcalls.h142 register uintptr_t r5 __asm__("r5"); in ev_int_set_config()
148 r5 = priority; in ev_int_set_config()
152 : "+r" (r11), "+r" (r3), "+r" (r4), "+r" (r5), "+r" (r6) in ev_int_set_config()
174 register uintptr_t r5 __asm__("r5"); in ev_int_get_config()
181 : "+r" (r11), "+r" (r3), "=r" (r4), "=r" (r5), "=r" (r6) in ev_int_get_config()
186 *priority = r5; in ev_int_get_config()
288 register uintptr_t r5 __asm__("r5"); in ev_byte_channel_send()
297 r5 = be32_to_cpu(p[0]); in ev_byte_channel_send()
304 "+r" (r4), "+r" (r5), "+r" (r6), "+r" (r7), "+r" (r8) in ev_byte_channel_send()
331 register uintptr_t r5 __asm__("r5"); in ev_byte_channel_receive()
[all …]
Dfsl_hcalls.h130 register uintptr_t r5 __asm__("r5"); in fh_partition_get_dtprop()
149 r5 = (uint32_t)dtpath_addr; in fh_partition_get_dtprop()
156 "+r" (r3), "+r" (r4), "+r" (r5), "+r" (r6), "+r" (r7), in fh_partition_get_dtprop()
186 register uintptr_t r5 __asm__("r5"); in fh_partition_set_dtprop()
203 r5 = (uint32_t)dtpath_addr; in fh_partition_set_dtprop()
210 "+r" (r3), "+r" (r4), "+r" (r5), "+r" (r6), "+r" (r7), in fh_partition_set_dtprop()
291 register uintptr_t r5 __asm__("r5"); in fh_partition_start()
296 r5 = load; in fh_partition_start()
299 : "+r" (r11), "+r" (r3), "+r" (r4), "+r" (r5) in fh_partition_start()
363 register uintptr_t r5 __asm__("r5"); in fh_partition_memcpy()
[all …]
Dftrace.h16 stw r5, 20(r1); \
20 mfcr r5; \
26 stw r5, 8(r1)
35 lwz r5, 20(r1); \
/linux-4.4.14/arch/m32r/lib/
Dstrlen.S24 seth r5, #high(0x01010101)
25 or3 r5, r5, #low(0x01010101)
26 sll3 r7, r5, #7
29 sub r0, r5 || and r4, r7
33 sub r1, r5 || and r4, r7
71 seth r5, #high(0x01010101)
72 or3 r5, r5, #low(0x01010101)
73 sll3 r7, r5, #7
77 sub r0, r5 ; if ((x - 0x01010101) & ~x & 0x80808080)
85 sub r1, r5 ; if ((x - 0x01010101) & ~x & 0x80808080)
Dchecksum.S92 ld r5, @r0+ ; +8
95 ld r5, @r0+ || addx r2, r5 ; +20
98 addx r2, r5 || addi r6, #-1
213 ld r5, @r0+ ; +8
216 addx r2, r5
219 ld r5, @r0+ ; +20
222 addx r2, r5
264 6: ldi r5, #0
265 addx r2, r5
/linux-4.4.14/arch/sh/kernel/cpu/sh3/
Dswsusp.S37 mov.l @(PBE_ORIG_ADDRESS, r4), r5
45 mov.l r1,@r5
46 add #4,r5
48 mov.l r1,@r5
49 add #4,r5
51 mov.l r1,@r5
52 add #4,r5
54 mov.l r1,@r5
56 add #4,r5
64 mov.l 4f, r5
[all …]
Dentry.S113 mov #0, r5
118 mov #FAULT_CODE_WRITE, r5
123 mov #FAULT_CODE_INITIAL, r5
128 mov #FAULT_CODE_PROT, r5
133 mov #(FAULT_CODE_PROT | FAULT_CODE_WRITE), r5
137 mov r5, r8
150 mov r8, r5
170 mov #0,r5 ! writeaccess = 0
175 mov #1,r5 ! writeaccess = 1
210 ! - restore r0, r1, r2, r3, r4, r5, r6, r7 from the stack
[all …]
/linux-4.4.14/arch/avr32/lib/
Dcsum_partial_copy_generic.S43 2: ld_src w, r5, r12++
44 st_dst w, r11++, r5
45 add r9, r5
58 7: mov r5, 0
62 lsl r5, 8
64 bfins r5, r6, 0, 8
68 lsl r5, r5, r4
69 add r9, r5
/linux-4.4.14/arch/sh/boot/romimage/
Dhead.S18 mov.l empty_zero_page_dst_adj, r5
19 add r5, r4
20 mov.l bytes_to_load, r5
26 mov.l empty_zero_page_dst_adj, r5
27 add r5, r4
28 mov.l loaded_code_offs, r5
29 add r5, r4
56 mov.l @(4, r0), r5
61 mov.l r5, @(4, r1)
/linux-4.4.14/arch/unicore32/lib/
Dcopy_template.S71 stm.w (r5 - r8), [sp-]
75 4: ldr8w r1, r3, r4, r5, r6, r7, r8, r10, r11, abort=20f
77 str8w r0, r3, r4, r5, r6, r7, r8, r10, r11, abort=20f
88 ldr1w r1, r5, abort=20f
99 str1w r0, r5, abort=20f
105 7: ldm.w (r5 - r8), [sp]+
142 11: stm.w (r5 - r9), [sp-]
145 ldr4w r1, r4, r5, r6, r7, abort=19f
151 or r4, r4, r5 push #\b
152 mov r5, r5 pull #\a
[all …]
/linux-4.4.14/arch/arm/boot/bootp/
Dinit.S25 ldmia r13!, {r4-r6} @ r5 = dest, r6 = length
33 ldmia r13, {r5-r9} @ get size and addr of initrd
34 @ r5 = ATAG_CORE
41 teq r10, r5 @ is it ATAG_CORE?
47 stmneia r9, {r4, r5, r10} @ Size, ATAG_CORE, terminator
59 mov r5, #4 @ Size of initrd tag (4 words)
60 stmia r9, {r5, r6, r7, r8, r10}
67 stmia r5!, {r7 - r10}
69 stmia r5!, {r7 - r10}
83 .word 0x54410001 @ r5 = ATAG_CORE
/linux-4.4.14/arch/arm/mach-tegra/
Dsleep-tegra20.S360 mov r5, #0
364 ldr r7, [r2, r5] @ r7 is the addr in the pad_address
366 ldr r1, [r4, r5]
369 add r5, r5, #4
370 cmp r6, r5
436 str r0, [r5, #CLK_RESET_SCLK_BURST]
437 str r0, [r5, #CLK_RESET_CCLK_BURST]
439 str r0, [r5, #CLK_RESET_CCLK_DIVIDER]
440 str r0, [r5, #CLK_RESET_SCLK_DIVIDER]
449 ldr r0, [r5, #CLK_RESET_PLLM_BASE]
[all …]
Dsleep-tegra30.S257 mov32 r5, TEGRA_CLK_RESET_BASE
387 adr r5, tegra_sdram_pad_save
389 ldr r4, [r5, #0x18] @ restore CLK_SOURCE_MSELECT
392 ldr r4, [r5, #0x1C] @ restore SCLK_BURST
403 ldr r1, [r5, #0x14] @ PMC_IO_DPD_STATUS
420 ldr r1, [r5, #0xC] @ restore EMC_XM2VTTGENPADCTRL
422 ldr r1, [r5, #0x10] @ restore EMC_XM2VTTGENPADCTRL2
424 ldr r1, [r5, #0x8] @ restore EMC_AUTO_CAL_INTERVAL
516 ldr r1, [r5, #0x4] @ restore EMC_ZCAL_INTERVAL
518 ldr r1, [r5, #0x0] @ restore EMC_CFG
[all …]
Dsleep.S49 stmfd sp!, {r0, r4-r5, r7, r9-r11, lr}
64 exit_smp r4, r5
66 ldmfd sp!, {r0, r4-r5, r7, r9-r11, pc}
153 mov32 r5, TEGRA_CLK_RESET_BASE
156 str r0, [r5, #CLK_RESET_CCLK_BURST]
158 str r0, [r5, #CLK_RESET_CCLK_DIVIDER]
/linux-4.4.14/arch/arm/common/
Dmcpm_head.S75 adr r5, 3f
76 ldmia r5, {r0, r6, r7, r8, r11}
77 add r0, r5, r0 @ r0 = mcpm_entry_early_pokes
78 add r6, r5, r6 @ r6 = mcpm_entry_vectors
79 ldr r7, [r5, r7] @ r7 = mcpm_power_up_setup_phys
80 add r8, r5, r8 @ r8 = mcpm_sync
81 add r11, r5, r11 @ r11 = first_man_locks
94 mov r5, #MCPM_SYNC_CPU_SIZE
95 mla r5, r9, r5, r8 @ r5 = sync cpu address
96 strb r0, [r5]
[all …]
/linux-4.4.14/arch/arm/mach-imx/
Dsuspend-imx53.S47 stmfd sp!, {r4,r5,r6,r7}
58 ldr r5, [r2], #12 /* IOMUXC register offset */
59 ldr r6, [r3, r5] /* current value */
86 ldr r5, [r2], #4 /* IOMUXC register offset */
88 ldr r7, [r3, r5]
92 str r7, [r3, r5]
113 ldr r5, [r2], #12 /* IOMUXC register offset */
115 str r6, [r3, r5]
133 ldmfd sp!, {r4,r5,r6,r7}
/linux-4.4.14/arch/sh/kernel/
Drelocate_kernel.S23 add r5, r0 /* setup new stack at end of control page */
52 mov.l r5, @-r15
67 mov.l r5, @-r15
102 mov.l @r15+, r5
116 mov.l @r15+, r5
163 mov r2,r5
194 mov.l @(0, r5), r1
195 mov.l r8, @(0, r5)
199 mov.l @(4, r5), r1
200 mov.l r8, @(4, r5)
[all …]
/linux-4.4.14/sound/oss/
Dvidc_fill.S37 and r5, r4, ip
39 orr r4, r4, r5, lsl #16
63 and r5, r4, ip
65 orr r4, r4, r5, lsl #16
77 ldr r5, [r0], #2
78 and r4, r5, ip
83 andlt r4, r5, ip, lsl #16
108 mov r5, #0
110 stmltia r2!, {r0, r1, r4, r5}
139 ldmia r8, {r0, r1, r2, r3, r4, r5}
[all …]
/linux-4.4.14/arch/s390/kernel/
Drelocate_kernel.S60 lg %r5,0(%r2) # read another word for indirection page
62 tml %r5,0x1 # is it a destination page?
64 lgr %r6,%r5 # r6 = r5
68 tml %r5,0x2 # is it a indirection page?
70 nill %r5,0xf000 # YES, mask out,
71 lgr %r2,%r5 # move it into the right register,
74 tml %r5,0x4 # is it the done indicator?
78 tml %r5,0x8 # it should be a source indicator...
80 lgr %r8,%r5 # r8 = r5
Dhead.S84 la %r5,.Lirb # r4 = address of irb
102 tsch 0(%r5)
105 ic %r0,8(%r5) # get device status
111 l %r0,4(%r5)
114 lh %r3,10(%r5) # get residual count
183 la %r5,0(%r4,%r2)
233 la %r5,.Lirb
234 stsch 0(%r5) # check if irq is pending
235 tm 30(%r5),0x0f # by verifying if any of the
237 tm 31(%r5),0xff # bits is set in the schib
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Di2c_.fuc139 */ push $r5 /*
140 */ shl b32 $r5 $r6 4 /*
141 */ sub b32 $r5 $r6 /*
142 */ not b32 $r5 /*
143 */ and $r7 $r5 /*
144 */ pop $r5 /*
235 mov $r5 0
238 shl b32 $r5 1
241 or $r5 $r3
253 xbit $r3 $r5 $r4
[all …]
Dmemx.fuc225 ld b32 $r5 D[$r1 + 0x04]
227 nv_wr32($r6, $r5)
273 // $r5 - outer loop counter
276 movw $r5 0x3
286 mulu $r8 $r5 0x101
290 push $r5
316 // $r5 - inner inner loop counter
318 movw $r5 0
340 add b32 $r5 1
341 cmp b16 $r5 0x4
[all …]
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dhvcall.S84 std r5, 0(r11); \
98 stdu r5, -24(r1); \
107 std r5, 0(r11); \
123 std r5, -24(r1); \
136 std r5, 0(r11); \
178 stdu r5, -16(r1); \
187 std r5, 0(r11); \
200 std r5, -16(r1); \
210 std r5, 0(r11); \
225 std r5, -16(r1); \
[all …]
/linux-4.4.14/arch/arm/kvm/
Dinterrupts_head.S32 VFPFMRX r5, FPINST2, ne @ vmrsne
37 stm \vfp_base, {r2-r5} @ Save FPEXC, FPSCR, FPINST, FPINST2
43 ldm \vfp_base, {r2-r5} @ Load FPEXC, FPSCR, FPINST, FPINST2
50 VFPFMXR FPINST2, r5, ne
94 mrs r5, r11_fiq
118 msr r11_fiq, r5
172 msr r11_fiq, r5
205 mrs r5, SPSR_\mode
206 stm r2, {r3, r4, r5}
222 pop {r3, r4, r5} @ r0, r1, r2
[all …]
/linux-4.4.14/arch/s390/lib/
Dmem.S73 srlg %r5,%r4,8
74 ltgr %r5,%r5
78 larl %r5,.Lmemcpy_mvc
79 ex %r4,0(%r5)
85 brctg %r5,.Lmemcpy_loop
/linux-4.4.14/kernel/bpf/
Dhelpers.c29 static u64 bpf_map_lookup_elem(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_map_lookup_elem() argument
57 static u64 bpf_map_update_elem(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_map_update_elem() argument
78 static u64 bpf_map_delete_elem(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_map_delete_elem() argument
102 static u64 bpf_get_smp_processor_id(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_get_smp_processor_id() argument
113 static u64 bpf_ktime_get_ns(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_ktime_get_ns() argument
125 static u64 bpf_get_current_pid_tgid(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_get_current_pid_tgid() argument
141 static u64 bpf_get_current_uid_gid(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_get_current_uid_gid() argument
161 static u64 bpf_get_current_comm(u64 r1, u64 size, u64 r3, u64 r4, u64 r5) in bpf_get_current_comm() argument
/linux-4.4.14/firmware/av7110/
DBoot.S66 ldmia r1!, {r5-r12}
67 stmia r3!, {r5-r12}
87 ldmia r1!, {r5-r12}
88 stmia r3!, {r5-r12}
89 ldmia r1!, {r5-r12}
90 stmia r3!, {r5-r12}
/linux-4.4.14/arch/arm/mach-sa1100/
Dsleep.S39 ldr r5, =PPCR
58 str r1, [r5]
93 ldr r5, [r2]
94 bic r5, r5, #FMsk(MSC_RT)
95 bic r5, r5, #FMsk(MSC_RT)<<16
122 str r5, [r2]
/linux-4.4.14/arch/hexagon/lib/
Dmemset.S115 r5 = r4 define
125 memd(r8++#8) = r5:4
175 r5:4=combine(r7,r7)
231 memd(r6++#8) = r5:4
237 memd(r6++#8) = r5:4
243 memd(r6++#8) = r5:4
273 memd(r6++#8) = r5:4
305 memd(r6++#8) = r5:4
308 memd(r6++#8) = r5:4
309 memd(r6++#8) = r5:4
[all …]
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dsleep.S78 mftb r5
79 stw r5,SL_TB+4(r1)
141 lis r5,grackle_wake_up@ha
142 addi r5,r5,grackle_wake_up@l
143 tophys(r5,r5)
144 stw r5,SL_PC(r1)
146 tophys(r5,r1)
147 addi r5,r5,SL_PC
150 stw r5,0(r4)
157 stw r5,0x84(r4)
[all …]
Dcache.S103 mfspr r5,SPRN_L2CR
105 oris r3,r5,L2CR_L2DO@h
139 rlwinm r5,r5,0,~L2CR_L2E
143 1: mtspr SPRN_L2CR,r5
154 oris r4,r5,L2CR_L2I@h
252 li r5,128 /* 128 lines in each way */
253 1: mtctr r5
/linux-4.4.14/arch/sh/kernel/cpu/sh5/
Dentry.S264 st.q SP, SAVED_R5, r5
275 or SP, ZERO, r5
307 st.q SP, SAVED_R5 , r5
317 gettr tr3, r5
322 st.q SP, TLB_SAVED_TR3 , r5
345 ld.q SP, TLB_SAVED_TR3, r5
351 ptabs r5, tr3
359 ld.q SP, SAVED_R5, r5
379 ld.q SP, TLB_SAVED_TR3, r5
388 ptabs/u r5, tr3
[all …]
/linux-4.4.14/arch/parisc/kernel/
Dhpmc.S117 ldw 52(%r4),%r5
118 addi 1,%r5,%r5
119 stw %r5,52(%r4)
228 load32 PA(hpmc_iodc_buf),%r5
230 bv (%r5)
293 ldo 5(%r0),%r5
294 stw %r5,48(%r4) /* CMD_RESET to IO_COMMAND offset */
/linux-4.4.14/arch/arm/mach-prima2/
Dsleep.S21 @ r5: mem controller
23 ldr r5, [r0]
43 ldr r2, [r5, #DENALI_CTL_22_OFF]
49 str r2, [r5, #DENALI_CTL_22_OFF]
52 ldr r4, [r5, #DENALI_CTL_112_OFF]
/linux-4.4.14/arch/cris/boot/compressed/
Dhead_v10.S62 basse: move.d $pc, $r5
63 and.d 0x7fffffff, $r5 ; strip any non-cache bit
64 subq 2, $r5 ; compensate for the move.d $pc instr
65 move.d $r5, $r0 ; save for later - flash address of 'basse'
66 add.d _edata, $r5
67 sub.d basse, $r5 ; $r5 = flash address of '_edata'
79 move.d $r5, [input_data] ; for the decompressor
/linux-4.4.14/arch/arm/mach-pxa/
Dsleep.S56 ldr r5, [r4]
59 orr r5, r5, #MDREFR_SLFRSH
63 orr r5, r5, r6
97 ldr r5, [r4]
100 orr r5, r5, #MDREFR_SLFRSH
166 str r5, [r4]
/linux-4.4.14/arch/unicore32/kernel/
Dsleep.S26 movc r5, p0.c1, #0 @ control reg
96 movl r5, #0x40000
97 stw r5, [r1+], #0x10
100 ldw r5, [r0+], #0x24
101 or r5, r5, #0x00000001
121 100: stw r5, [r0+], #0x24
176 movc p0.c1, r5, #0 @ control reg, turn on mmu
/linux-4.4.14/kernel/trace/
Dbpf_trace.c64 static u64 bpf_probe_read(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5) in bpf_probe_read() argument
86 static u64 bpf_trace_printk(u64 r1, u64 fmt_size, u64 r3, u64 r4, u64 r5) in bpf_trace_printk() argument
142 unsafe_addr = r5; in bpf_trace_printk()
143 r5 = (long) buf; in bpf_trace_printk()
167 mod[2] == 2 ? r5 : mod[2] == 1 ? (long) r5 : (u32) r5); in bpf_trace_printk()
189 static u64 bpf_perf_event_read(u64 r1, u64 index, u64 r3, u64 r4, u64 r5) in bpf_perf_event_read() argument
/linux-4.4.14/arch/arm/mach-ep93xx/
Dcrunch-bits.S210 stmfd sp!, {r4, r5, lr}
227 ldr r5, [r4, #0x80] @ enable access to crunch
230 orr r5, r5, #0x00800000
231 str r5, [r4, #0x80]
241 bic r5, r5, #0x00800000
242 str r5, [r4, #0x80]
243 ldr r5, [r4, #0x80] @ flush out enable (@@@)
244 mov r5, r5
247 ldmfd sp!, {r4, r5, pc}
/linux-4.4.14/arch/m32r/mm/
Dpage.S29 ld r5, @r1+
35 st r5, @+r0
40 ld r5, @r1+
48 st r5, @+r0
/linux-4.4.14/tools/testing/selftests/powerpc/switch_endian/
Dswitch_endian_test.S27 addi r5, r15, 32
28 mtlr r5
30 addi r5, r15, 5
76 li r5, 28 /* strlen(message3) */
/linux-4.4.14/tools/testing/selftests/powerpc/stringloops/
Dmemcmp_64.S32 cmpdi cr1,r5,0
39 cmpdi cr6,r5,31
46 mtctr r5
95 srdi r0,r5,5
97 andi. r5,r5,31
188 cmpdi r5,0
/linux-4.4.14/arch/score/kernel/
Dhead.S66 xor r5, r5, r5
/linux-4.4.14/arch/unicore32/boot/compressed/
Dhead.S29 ldm (r1, r2, r3, r5, r6, r7, r8), [r0]+
46 add r5, r5, r0
117 csub.a r0, r5
165 .word _start @ r5

123