Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/glibc-2.36/sysdeps/s390/
Dmemmem-arch13.S35 llgfr %r2,%r2
54 vll %v16,%r0,0(%r2) /* Load haystack. */
69 la %r2,0(%r1,%r2)
72 lghi %r2,0
76 vl %v16,0(%r2)
78 lay %r4,-16(%r3,%r2) /* Boundary for loading with vl. */
79 lay %r0,-64(%r3,%r2) /* Boundary for loading with 4xvl. */
84 la %r3,0(%r3,%r2)
88 la %r2,16(%r2)
92 clgrjh %r2,%r4,.Lhaystack_too_small
[all …]
Dstrstr-arch13.S67 lcbb %r1,0(%r2),6
69 vl %v16,0(%r2) /* Load next part of haystack. */
74 lcbb %r1,16(%r2),6 /* Next part of haystack. */
76 vl %v16,16(%r2)
79 lcbb %r1,32(%r2),6 /* Next part of haystack. */
81 vl %v16,32(%r2)
84 lcbb %r1,48(%r2),6 /* Next part of haystack. */
86 vl %v16,48(%r2)
89 la %r2,64(%r2)
93 la %r2,16(%r2)
[all …]
Dmemcmp-z900.S66 ipm %r2
68 sllg %r2,%r2,34
69 srag %r2,%r2,62
71 sll %r2,2
72 sra %r2,30
76 clc 0(256,%r3),0(%r2)
79 la %r2,256(%r2)
83 clc 0(1,%r3),0(%r2)
105 ipm %r2
106 sllg %r2,%r2,34
[all …]
Dwcsncat-vx.S55 vlbb %v16,0(%r2),6 /* Load s until next 4k-byte boundary. */
56 lcbb %r1,0(%r2),6 /* Get bytes to 4k-byte boundary or 16. */
59 tmll %r2,3 /* Test if s is 4-byte aligned? */
64 lgr %r0,%r2 /* Save destination pointer for return. */
77 risbgn %r1,%r2,60,128+63,0 /* %r3 = bits 60-63 of %r2 'and' 15. */
83 vl %v16,0(%r5,%r2) /* Load s. */
86 vl %v16,16(%r5,%r2)
89 vl %v16,32(%r5,%r2)
92 vl %v16,48(%r5,%r2)
117 la %r2,0(%r5,%r2) /* strcpy at end of dst-string. */
[all …]
Dwmemset-vx.S50 vlvgg %v31,%r2,0 /* Save destination pointer for return. */
68 risbg %r0,%r2,60,128+63,0 /* Test if s is aligned and
71 tmll %r2,3 /* Test if s is 4-byte aligned? */
78 vstl %v16,%r5,0(%r2) /* Store remaining bytes. */
81 la %r2,0(%r1,%r2)
93 vstm %v16,%v19,0(%r2)
94 vstm %v16,%v19,64(%r2)
95 vstm %v16,%v19,128(%r2)
96 vstm %v16,%v19,192(%r2)
97 la %r2,256(%r2)
[all …]
Dstrncpy-vx.S53 lgr %r0,%r2 /* Save destination pointer for return. */
77 vstl %v16,%r5,0(%r2) /* Copy loaded characters - no zero. */
98 vst %v16,0(%r5,%r2) /* Store previous part without zero to dst. */
105 vst %v18,0(%r5,%r2)
112 vst %v16,0(%r5,%r2)
123 la %r2,0(%r5,%r2) /* vstl has no index register. */
129 vstl %v16,%r7,0(%r2) /* Store remaining bytes without null
135 lgr %r2,%r0 /* Load saved dest-ptr. */
152 la %r2,0(%r5,%r2) /* vstl has no support for index-register. */
154 vstl %v16,%r1,0(%r2) /* Copy characters including zero. */
[all …]
Dwcpncpy-vx.S75 la %r0,0(%r4,%r2) /* Save destination pointer + n for return. */
93 vstl %v16,%r5,0(%r2) /* Copy loaded characters - no zero. */
114 vst %v16,0(%r5,%r2) /* Store previous part without zero to dst. */
121 vst %v18,0(%r5,%r2)
128 vst %v16,0(%r5,%r2)
139 la %r2,0(%r5,%r2) /* vstl has no index register. */
144 vstl %v16,%r7,0(%r2) /* Store remaining bytes without null
150 lgr %r2,%r0 /* Load saved dest-ptr. */
166 la %r2,0(%r5,%r2) /* vstl has no support for index-register. */
169 vstl %v16,%r1,0(%r2) /* Copy characters including zero. */
[all …]
Dstpncpy-vx.S54 la %r0,0(%r4,%r2) /* Save destination pointer + n for return. */
78 vstl %v16,%r5,0(%r2) /* Copy loaded characters - no zero. */
99 vst %v16,0(%r5,%r2) /* Save previous part without zero to dst. */
106 vst %v18,0(%r5,%r2)
113 vst %v16,0(%r5,%r2)
124 la %r2,0(%r5,%r2) /* vstl has no index register. */
128 vstl %v16,%r7,0(%r2) /* Store remaining bytes without null
134 lgr %r2,%r0 /* Load saved dest-ptr. */
150 la %r2,0(%r5,%r2) /* vstl has no support for index-register. */
152 vstl %v16,%r1,0(%r2) /* Copy characters including zero. */
[all …]
Dstrncat-vx.S54 lgr %r0,%r2 /* Save destination pointer for return. */
62 vlbb %v16,0(%r2),6 /* Load s until next 4k-byte boundary. */
63 lcbb %r1,0(%r2),6 /* Get bytes to 4k-byte boundary or 16. */
70 risbgn %r1,%r2,60,128+63,0 /* %r3 = bits 60-63 of %r2 'and' 15. */
76 vl %v16,0(%r5,%r2) /* Load s. */
79 vl %v16,16(%r5,%r2)
82 vl %v16,32(%r5,%r2)
85 vl %v16,48(%r5,%r2)
110 la %r2,0(%r5,%r2) /* strcpy at end of dst-string. */
133 vstl %v16,%r5,0(%r2) /* Copy loaded characters - no zero. */
[all …]
Dwcscat-vx.S45 vlbb %v16,0(%r2),6 /* Load s until next 4k-byte boundary. */
46 lcbb %r1,0(%r2),6 /* Get bytes to 4k-byte boundary or 16. */
51 tmll %r2,3 /* Test if s is 4-byte aligned? */
56 lgr %r0,%r2 /* Save destination pointer for return. */
69 risbgn %r1,%r2,60,128+63,0 /* %r3 = bits 60-63 of %r2 'and' 15. */
75 vl %v16,0(%r5,%r2) /* Load s. */
78 vl %v16,16(%r5,%r2)
81 vl %v16,32(%r5,%r2)
84 vl %v16,48(%r5,%r2)
108 la %r2,0(%r5,%r2) /* strcpy at end of dst-string. */
[all …]
Dstrcat-vx.S45 lgr %r0,%r2 /* Save destination pointer for return. */
52 vlbb %v16,0(%r2),6 /* Load s until next 4k-byte boundary. */
53 lcbb %r1,0(%r2),6 /* Get bytes to 4k-byte boundary or 16. */
60 risbgn %r1,%r2,60,128+63,0 /* %r3 = bits 60-63 of %r2 'and' 15. */
66 vl %v16,0(%r5,%r2) /* Load s. */
69 vl %v16,16(%r5,%r2)
72 vl %v16,32(%r5,%r2)
75 vl %v16,48(%r5,%r2)
99 la %r2,0(%r5,%r2) /* strcpy at end of dst-string. */
114 vstl %v16,%r5,0(%r2) /* Copy loaded characters - no zero. */
[all …]
Dwcsncpy-vx.S61 lgr %r0,%r2 /* Save destination pointer for return. */
95 vstl %v16,%r5,0(%r2) /* Copy loaded characters - no zero. */
116 vst %v16,0(%r5,%r2) /* Store previous part without zero to dst. */
123 vst %v18,0(%r5,%r2)
130 vst %v16,0(%r5,%r2)
141 la %r2,0(%r5,%r2) /* vstl has no index register. */
148 vstl %v16,%r7,0(%r2) /* Store remaining bytes without null
154 lgr %r2,%r0 /* Load saved dest-ptr. */
170 la %r2,0(%r5,%r2) /* vstl has no support for index-register. */
173 vstl %v16,%r1,0(%r2) /* Copy characters including zero. */
[all …]
Dmemcpy-z900.S52 LGR %r1,%r2 # Use as dest
53 la %r2,0(%r4,%r2) # Return dest + n
63 LGR %r1,%r2 # r1: Use as dest ; r2: Return dest
106 LGR %r0,%r2 # backup return dest [ + n ]
110 LGR %r2,%r1 # destination address
113 mvcle %r2,%r4,0 # thats it, MVCLE is your friend
115 LGR %r2,%r0 # return destination address
129 lgr %r1,%r2 # Use as dest
130 la %r2,0(%r4,%r2) # Return dest + n
137 lgr %r1,%r2 # r1: Use as dest ; r2: Return dest
[all …]
/glibc-2.36/sysdeps/nios2/
Dstart.S77 mov r2, sp
84 stw r2, 8(sp)
91 1: movhi r2, %hiadj(_gp_got - 1b)
92 addi r2, r2, %lo(_gp_got - 1b)
93 add r22, r22, r2
120 movhi r2, %call_hiadj(__libc_start_main)
121 addi r2, r2, %call_lo(__libc_start_main)
122 add r2, r2, r22
123 ldw r2, 0(r2)
124 callr r2
[all …]
Dcrti.S72 movhi r2, %got_hiadj(PREINIT_FUNCTION)
73 addi r2, r2, %got_lo(PREINIT_FUNCTION)
74 add r2, r2, r22
75 ldw r2, 0(r2)
76 beq r2, zero, .L5
78 movhi r2, %call_hiadj(PREINIT_FUNCTION)
79 addi r2, r2, %call_lo(PREINIT_FUNCTION)
80 add r2, r2, r22
81 ldw r2, 0(r2)
82 callr r2
/glibc-2.36/sysdeps/arm/
Dmemset.S29 cmp r2, #8
35 subne r2, r2, #1
44 subs r2, r2, #8
46 subscs r2, r2, #8
48 subscs r2, r2, #8
50 subscs r2, r2, #8
54 and r2, r2, #7
56 subs r2, r2, #1 @ store up to 4 bytes per loop iteration
58 subscs r2, r2, #1
60 subscs r2, r2, #1
[all …]
Dstrlen.S32 ldr r2, [r1], $4 @ get the first word
38 orr r2, r2, $0xff000000 @ set this byte to non-zero
40 orrgt r2, r2, $0x00ff0000 @ if so, set this byte
42 orrgt r2, r2, $0x0000ff00 @ then set.
44 orr r2, r2, $0x000000ff @ set this byte to non-zero
46 orrgt r2, r2, $0x0000ff00 @ if so, set this byte
48 orrgt r2, r2, $0x00ff0000 @ then set.
50 Laligned: @ here, we have a word in r2. Does it
51 tst r2, $0x000000ff @ contain any zeroes?
52 tstne r2, $0x0000ff00 @
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/arc/
Dgetcontext.S29 add r2, r0, UCONTEXT_MCONTEXT
30 STR (r13, r2, 37)
31 STR (r14, r2, 36)
32 STR (r15, r2, 35)
33 STR (r16, r2, 34)
34 STR (r17, r2, 33)
35 STR (r18, r2, 32)
36 STR (r19, r2, 31)
37 STR (r20, r2, 30)
38 STR (r21, r2, 29)
[all …]
Dswapcontext.S27 add r2, r0, UCONTEXT_MCONTEXT
28 STR (r13, r2, 37)
29 STR (r14, r2, 36)
30 STR (r15, r2, 35)
31 STR (r16, r2, 34)
32 STR (r17, r2, 33)
33 STR (r18, r2, 32)
34 STR (r19, r2, 31)
35 STR (r20, r2, 30)
36 STR (r21, r2, 29)
[all …]
/glibc-2.36/sysdeps/ia64/
Ddl-trampoline.S41 adds r2 = -(RESOLVE_FRAME_SIZE - 16), r12
59 stf.spill [r2] = f8, 32
65 stf.spill [r2] = f10, 32
71 stf.spill [r2] = f12, 32
78 stf.spill [r2] = f14
84 adds r2 = 16, r12
90 ldf.fill f8 = [r2], 32
96 ldf.fill f10 = [r2], 32
102 ldf.fill f12 = [r2], 32
108 ldf.fill f14 = [r2], 32
[all …]
/glibc-2.36/elf/
Ddo-rel.h72 const ElfW(Rel) *r2 = NULL;
87 if (r2 == NULL)
88 r2 = r;
96 if (r2 != NULL)
97 for (; r2 <= end2; ++r2)
98 if (ELFW(R_TYPE) (r2->r_info) == ELF_MACHINE_IRELATIVE)
99 elf_machine_lazy_rel (map, scope, l_addr, r2, skip_ifunc);
140 if (r2 == NULL)
141 r2 = r;
163 if (r2 != NULL)
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/
D__longjmp.S50 add r2=0x98,in0 // r2 <- &jmpbuf.orig_jmp_buf_addr
52 ld8 r8=[r2],-16 // r8 <- orig_jmp_buf_addr
57 ld8 r23=[r2],8 // r23 <- jmpbuf.ar_bsp
60 ld8 r25=[r2] // r25 <- jmpbuf.ar_unat
64 mov r2=in0
76 ld8.fill.nta r28=[r2],16 // r28 <- jmpbuf.sp
86 ld8.nta r16=[r2],16 // caller's unat
89 ld8.fill.nta r4=[r2],16 // r4
93 ld8.fill.nta r6=[r2],16 // r6
99 ld8.nta r16=[r2],16 // b0
[all …]
D__ia64_longjmp.S43 add r2=0x98,in0 // r2 <- &jmpbuf.orig_jmp_buf_addr
46 ld8 r8=[r2] // r8 <- orig_jmp_buf_addr
48 mov r2=in0
76 ld8.fill.nta sp=[r2],16 // r12 (sp)
80 ld8.nta r16=[r2],16 // caller's unat
83 ld8.fill.nta r4=[r2],16 // r4
86 ld8.fill.nta r6=[r2],16 // r6
92 ld8.nta r16=[r2],16 // b0
96 ld8.nta r18=[r2],16 // b2
101 ld8.nta r20=[r2],16 // b4
[all …]
Dgetcontext.S53 add r2 = SC_GR+1*8, r32
63 .mem.offset 0,0; st8.spill [r2] = r1, (5*8 - 1*8)
67 .mem.offset 0,0; st8.spill [r2] = r5, 16
71 .mem.offset 0,0; st8.spill [r2] = r7, (SC_FR+2*16-(SC_GR+7*8))
85 stf.spill [r2] = f2, 32
89 stf.spill [r2] = f4, (16*16-4*16)
93 stf.spill [r2] = f16, 32
97 stf.spill [r2] = f18, 32
101 stf.spill [r2] = f20, 32
105 stf.spill [r2] = f22, 32
[all …]
Dsetcontext.S48 add r2 = SC_NAT, r32
53 ld8 rNAT = [r2], (SC_BSP-SC_NAT)
56 ld8 rBSP = [r2], (SC_UNAT-SC_BSP)
63 ld8 rUNAT = [r2], (SC_PFS-SC_UNAT)
67 ld8 rPFS = [r2], (SC_PR-SC_PFS)
71 ld8 rPR = [r2], (SC_BR+1*8-SC_PR)
75 ld8 rB1 = [r2], 16
81 ld8 rB3 = [r2], 16
84 ld8 rB5 = [r2], (SC_GR+4*8-(SC_BR+5*8))
87 ld8.fill r4 = [r2], 16
[all …]

12345678910>>...12