Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 24 of 24) sorted by relevance

/picolibc-latest/newlib/libc/machine/arm/
Dstrcmp-armv6.S53 #define tmp1 r4 macro
62 #define syndrome_a tmp1
80 clz tmp1, \synd
81 lsl r1, \d2, tmp1
87 lsl \d1, \d1, tmp1
99 clz tmp1, \synd
100 bic tmp1, tmp1, #7
101 lsr r1, \d2, tmp1
108 lsr \d1, \d1, tmp1
142 orr tmp1, src1, src2
[all …]
Dstrcmp-armv7.S58 #define tmp1 r4 macro
67 #define syndrome_a tmp1
85 clz tmp1, \synd
86 lsl r1, \d2, tmp1
92 lsl \d1, \d1, tmp1
105 clz tmp1, \synd
106 bic tmp1, tmp1, #7
107 lsr r1, \d2, tmp1
114 lsr \d1, \d1, tmp1
146 orr tmp1, src1, src2
[all …]
Dmemcpy-armv7a.S91 #define tmp1 r3 macro
172 and tmp1, count, #0x38
173 rsb tmp1, tmp1, #(56 - PC_OFFSET + INSN_SIZE)
174 add pc, pc, tmp1
191 ldrne tmp1, [src], #4
192 strne tmp1, [dst], #4
196 and tmp1, count, #0x3c
197 add dst, dst, tmp1
198 add src, src, tmp1
199 rsb tmp1, tmp1, #(60 - PC_OFFSET/2 + INSN_SIZE/2)
[all …]
Dstrcmp-armv4.S45 #define tmp1 r12 macro
64 eor tmp1, src1, src2
65 tst tmp1, #3
68 ands tmp1, src1, #3
79 eor tmp1, tmp1, #3
81 lsl tmp1, tmp1, #3
82 S2LO tmp1, data2, tmp1
84 orr data1, data1, tmp1
85 orr data2, data2, tmp1
Dstrcmp-armv7m.S45 #define tmp1 r12 macro
55 eor tmp1, src1, src2
56 tst tmp1, #3
59 ands tmp1, src1, #3
71 eor tmp1, tmp1, #3
73 lsl tmp1, tmp1, #3
74 S2LO tmp1, data2, tmp1
76 orr data1, data1, tmp1
77 orr data2, data2, tmp1
Dstrlen-armv7.S105 #define tmp1 r4 /* Overlaps const_0 */ macro
116 ands tmp1, srcin, #7 /* (8 - bytes) to alignment. */
178 and tmp2, tmp1, #3
179 rsb result, tmp1, #0
181 tst tmp1, #4
/picolibc-latest/newlib/libc/machine/hppa/
Dmemcpy.S29 #define tmp1 r19 macro
41 extru s_addr,31,2,tmp1 /* Extract the low two bits of the source address. */
44 comb,<> tmp2,tmp1,not_aligned /* see if s1 is aligned w.r.t. s2. */
56 ldwm 16(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 16 */
61 …stbys,b,m tmp1,4(0,d_addr) /* tmp1 = 1st word stored d_addr += 16 also take care of front porc…
71 ldws,ma 4(s_addr),tmp1 /* tmp1 = *s_addr++ */
73 stbys,b,m tmp1,4(d_addr) /* *d_addr++ = tmp1 */
78 ldws 0(s_addr),tmp1 /* load up the back_porch */
81 stbys,e tmp1,0(d_addr) /* kerplunk! whew ! */
85 …sub,>= tmp2,tmp1,tmp3 /* compute the shift quantity again and skip the load if tmp2 > tm…
[all …]
Dstrncpy.S31 #define tmp1 r19 macro
45 extru s_addr,31,2,tmp1 /* Extract the low two bits of the source address.*/
48 comb,<> tmp5,tmp1,not_aligned /* branch if tmp5<>tmp1. */
52 ldwm 4(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 4 (DELAY SLOT)*/
57 or save,tmp1,tmp1 /* or mask with data*/
60 ldwm 4(0,s_addr),tmp1 /* get a word*/
63 uxor,nbz tmp1,r0,save /* check for null*/
66 stbys,b,m tmp1,4(0,d_addr) /* store word (delay slot)*/
70 ldws 0(s_addr),tmp1 /* load up the back_porch*/
76 or tmp1,save,tmp1 /*and insert data*/
[all …]
Dstrlen.S23 #define tmp1 arg1 macro
32 ldws,ma 4(end),tmp1
34 uxor,nbz 0,tmp1,0
56 vdepi -1,32,tmp1
57 uxor,nbz 0,tmp1,0
60 ldws,ma 4(end),tmp1
62 uxor,nbz 0,tmp1,0
65 extru,<> tmp1,7,8,0
67 extru,<> tmp1,15,8,0
69 extru,<> tmp1,23,8,0
Dstrncat.S26 #define tmp1 r19 macro
43 extru d_addr,31,2,tmp1 /* Extract the low two bits of the dest address. */
44 combt,= tmp1,r0,dont_mask
47 sh3add tmp1,r0,save /* build mask based on tmp1 */
81 ldwm 4(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 4 (DELAY SLOT)*/
85 or save,tmp1,tmp1 /* or mask with data*/
86 uxor,nbz tmp1,r0,save /* check for null*/
89 stbys,b,m tmp1,4(0,d_addr) /* store word (delay slot)*/
92 ldwm 4(0,s_addr),tmp1 /* get a word*/
95 uxor,nbz tmp1,r0,save /* check for null*/
[all …]
Dstrcpy.S39 #define tmp1 r19 macro
133 ldbs,ma 1(s_addr),tmp1
143 ldhs,ma 2(s_addr),tmp1
152 ldbs,ma 1(s_addr),tmp1 /* 11 11 */
153 comiclr,<> r0,tmp1,r0
155 stbs,ma tmp1,1(d_addr) /* store a byte to dst string */
160 comiclr,<> r0,tmp1,r0 /* nullify next if tmp1 <> 0 */
162 stbs,ma tmp1,1(d_addr) /* store a byte to dst string */
163 ldhs,ma 2(s_addr),tmp1 /* load next halfword */
165 extru,<> tmp1,23,8,tmp6 /* look at left byte of halfword */
[all …]
Dstrcat.S30 #define tmp1 r19 macro
45 extru d_addr,31,2,tmp1 /* Extract the low two bits of the dest address. */
46 combt,= tmp1,r0,dont_mask
49 sh3add tmp1,r0,save /* build mask based on tmp1 */
73 extru s_addr,31,2,tmp1 /* Extract the low two bits of the source address. */
75 … sub,= tmp6,tmp1,tmp3 /* Compute the shift quantity and don't branch if tmp6=tmp1. */
81 ldwm 4(0,s_addr),tmp1 /* tmp1 = *s_addr s_addr += 4 (DELAY SLOT) */
85 or save,tmp1,tmp1
86 uxor,nbz tmp1,r0,save
94 stbys,b,m tmp1,4(d_addr)
[all …]
Dmemcmp.S32 #define tmp1 19 macro
60 extru s2,31,2,tmp1 /* Extract the low two bits of the s2. */
62 sub,= tmp5,tmp1,tmp3 /* Are s1 & s2 aligned with each other? */
125 masks2: sh3add tmp1,r0,save /* save now has number of bits to mask */
129 subi 4,tmp1,tmp1 /* tmp1 now has the number of byte that */
132 more: combt,<=,n count,tmp1,chunk1 /* Can we do the vshd? */
154 combt,=,n r0,tmp1,masks1 /*Do we need to mask beginning of s2 */
155 add tmp1,count,count /*bump count by the number of bytes */
157 sh3add tmp1,r0,save /*save now has number of bits to mask */
Dstrcmp.S38 #define tmp1 19 macro
52 extru,<> s1,31,2,tmp1
54 dep,= s2,29,2,tmp1
113 blr tmp1,r0
186 extru s1,31,2,tmp1
192 combt,=,n r0,tmp1,masks2 /* Do we need to mask beginning of s1 */
193 sh3add tmp1,r0,save /* save now has number of bits to mask */
236 extru s1,31,2,tmp1
248 sh3add tmp1,r0,save /* save now has number of bits to mask */
Dstrncmp.S28 #define tmp1 19 macro
56 extru s2,31,2,tmp1 /* Extract the low two bits of the s2. */
58 sub,= tmp5,tmp1,tmp3 /* Are s1 & s2 aligned with each other? */
130 masks2: sh3add tmp1,r0,save /* save now has number of bits to mask */
159 combt,=,n r0,tmp1,masks1 /* Do we need to mask beginning of s2 */
160 add tmp1,count,count /* bump count by the number of bytes */
162 sh3add tmp1,r0,save /* save now has number of bits to mask */
/picolibc-latest/newlib/libc/machine/aarch64/
Dstrchrnul.S50 #define tmp1 x3 macro
85 ands tmp1, srcin, #31
93 neg tmp1, tmp1
100 lsl tmp1, tmp1, #1
104 lsr tmp1, tmp3, tmp1
107 bic tmp1, tmp3, tmp1 // Mask padding bits.
108 cbnz tmp1, L(tail)
119 mov tmp1, vend1.d[0]
120 cbz tmp1, L(loop)
129 mov tmp1, vend1.d[0]
[all …]
Dstrchr.S50 #define tmp1 x3 macro
90 ands tmp1, srcin, #31
99 neg tmp1, tmp1
108 lsl tmp1, tmp1, #1
112 lsr tmp1, tmp3, tmp1
115 bic tmp1, tmp3, tmp1 // Mask padding bits.
116 cbnz tmp1, L(tail)
127 mov tmp1, vend1.d[0]
128 cbz tmp1, L(loop)
138 mov tmp1, vend1.d[0]
[all …]
Dstrlen.S48 #define tmp1 x4 macro
103 and tmp1, srcin, MIN_PAGE_SIZE - 1
104 cmp tmp1, MIN_PAGE_SIZE - 32
119 sub tmp1, data1, zeroones
123 bics has_nul1, tmp1, tmp2
134 clz tmp1, has_nul1
135 add len, len, tmp1, lsr 3
145 sub tmp1, data1, zeroones
149 bics has_nul1, tmp1, tmp2
160 clz tmp1, has_nul1
[all …]
Dstrncmp.S58 #define tmp1 x8 macro
87 eor tmp1, src1, src2
89 tst tmp1, #7
103 sub tmp1, data1, zeroones
107 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
135 add tmp1, limit, 8
138 lsl limit, tmp1, #3 /* Bits -> bytes. */
162 sub tmp1, tmp3, zeroones
164 bic has_nul, tmp1, tmp2
262 ldp tmp1, tmp2, [src2], #16
[all …]
Dmemcpy.S46 #define tmp1 x14 macro
104 lsr tmp1, count, 1
107 ldrb B_lw, [src, tmp1]
109 strb B_lw, [dstin, tmp1]
153 sub tmp1, dstin, src
154 cbz tmp1, L(copy0)
155 cmp tmp1, count
161 and tmp1, dstin, 15
163 sub src, src, tmp1
164 add count, count, tmp1 /* Count is now 16 too large. */
[all …]
Dstrrchr.S51 #define tmp1 x3 macro
96 ands tmp1, srcin, #31
105 neg tmp1, tmp1
118 lsl tmp1, tmp1, #1
120 lsr tmp3, const_m1, tmp1
/picolibc-latest/newlib/testsuite/newlib.string/
Dtstring.c77 char *tmp1, *tmp2, *tmp3, *tmp4, *tmp5, *tmp6, *tmp7; in main() local
91 tmp1 = target; in main()
270 tmp1 = target + x; in main()
279 memset (tmp1, first_char, i); in main()
280 mycopy (tmp2, tmp1, i); in main()
282 if (memcpy (tmp1 + z, tmp2 + z, i - z - 1) != tmp1 + z) in main()
288 tmp1[i] = '\0'; in main()
305 if (strncpy (tmp5, tmp1, i+1) != tmp5 || in main()
306 strcat (tmp5, tmp1) != tmp5) in main()
311 mycopy (tmp6, tmp1, i); in main()
[all …]
/picolibc-latest/newlib/libm/complex/
Dcacos.c93 double complex tmp0, tmp1; in cacos() local
96 tmp1 = M_PI_2 - creal(tmp0); in cacos()
97 w = tmp1 - (cimag(tmp0) * (double complex) (double complex) I); in cacos()
/picolibc-latest/newlib/libc/search/
Dhash_page.c460 int tmp1, tmp2; in __add_ovflpage() local
473 tmp1 = bufp->addr; in __add_ovflpage()
481 tmp1, tmp2, bufp->ovfl->addr); in __add_ovflpage()
661 int tmp1, tmp2; in overflow_page() local
770 tmp1 = bit; in overflow_page()
790 addr, tmp1, tmp2); in overflow_page()