Home
last modified time | relevance | path

Searched refs:a2 (Results 1 – 25 of 36) sorted by relevance

12

/picolibc-latest/newlib/libc/machine/xtensa/
Dsetjmp.S77 mov a4, a2 // save a2 (jmp_buf)
78 movi a2, SYS_nop
80 mov a2, a4 // restore a2
86 s32i a3, a2, 0
87 s32i a4, a2, 4
90 s32i a3, a2, 8
91 s32i a4, a2, 12
99 addi a6, a2, 16
118 s32i a3, a2, 48
119 s32i a4, a2, 52
[all …]
Dstrcmp.S49 l8ui a8, a2, 0 // byte 0 from s1
54 or a11, a2, a3
57 xor a11, a2, a3 // compare low two bits of s1 and s2
61 addi a2, a2, 1 // advance s1
64 bnone a2, a10, .Laligned // if s1/s2 now aligned
65 l8ui a8, a2, 0 // byte 1 from s1
67 addi a2, a2, 1 // advance s1
71 bnone a2, a10, .Laligned // if s1/s2 now aligned
72 l8ui a8, a2, 0 // byte 2 from s1
74 addi a2, a2, 1 // advance s1
[all …]
Dstrlen.S38 addi a3, a2, -4 // because we overincrement at the end
43 bbsi.l a2, 0, .L1mod2
44 bbsi.l a2, 1, .L2mod4
61 sub a2, a3, a2 // subtract to get length
102 sub a2, a3, a2 // subtract to get length
107 sub a2, a3, a2 // subtract to get length
112 sub a2, a3, a2 // subtract to get length
Dmemset.S125 mov a5, a2 // copy dst so that a2 is return value
128 _bbsi.l a2, 0, .Ldst1mod2
129 _bbsi.l a2, 1, .Ldst2mod4
/picolibc-latest/newlib/libc/machine/riscv/
Dmemset.S20 beqz a2, 2f
24 add a2, a2, -1
26 bnez a2, 1b
34 bleu a2, t1, .Ltiny
42 and a3, a2, ~15
43 and a2, a2, 15
58 bnez a2, .Ltiny
62 sub a3, t1, a2
111 add a2, a2, a5
112 bleu a2, t1, .Ltiny
Dstrcmp.S22 lbu a2, 0(a0)
26 bne a2, a3, 2f
27 bnez a2, 1b
30 sub a0, a2, a3
49 REG_L a2, \i*SZREG(a0)
52 orc.b t0, a2
54 and t0, a2, a5
55 or t1, a2, a5
61 bne a2, a3, .Lmismatch
65 beq a2, a3, .Lloop
[all …]
Dmemmove.S19 beqz a2, 2f
26 addi a4, a2 , -1
33 add a2, a2, -1
36 bnez a2, 1b
Dmemcpy-asm.S20 beqz a2, 2f
25 add a2, a2, -1
28 bnez a2, 1b
/picolibc-latest/newlib/libc/string/
Dmemcmp.c84 unsigned long *a2; in memcmp()
94 a2 = (unsigned long*) s2; in memcmp()
97 if (*a1 != *a2) in memcmp()
100 a2++; in memcmp()
107 s2 = (unsigned char*)a2; in memcmp()
Dstrcmp.c86 unsigned long *a2; in strcmp()
93 a2 = (unsigned long*)s2; in strcmp()
94 while (*a1 == *a2) in strcmp()
102 a2++; in strcmp()
107 s2 = (char*)a2; in strcmp()
Dstrncmp.c92 unsigned long *a2; in strncmp()
102 a2 = (unsigned long*)s2; in strncmp()
103 while (n >= sizeof (long) && *a1 == *a2) in strncmp()
113 a2++; in strncmp()
118 s2 = (char*)a2; in strncmp()
/picolibc-latest/newlib/libc/machine/microblaze/
Dstrcmp.c102 unsigned long *a2; in strcmp()
109 a2 = (unsigned long*)s2; in strcmp()
110 while (*a1 == *a2) in strcmp()
118 a2++; in strcmp()
123 s2 = (char*)a2; in strcmp()
/picolibc-latest/newlib/libc/machine/mn10300/
Dmemcmp.S25 movm [d2,d3,a2,a3],(sp)
29 mov (28,sp),a2
31 cmp 3,a2
44 add -4,a2
45 cmp 3,a2
49 cmp 0,a2
62 sub 1,a2
67 ret [d2,d3,a2,a3],16
Dmemchr.S25 movm [d2,d3,a2,a3],(sp)
36 mov a0,a2
50 mov (a2),d0
59 mov a2,a0
71 inc4 a2
75 mov a2,a0
90 ret [d2,d3,a2,a3],16
Dstrcpy.S25 movm [d2,d3,a2,a3],(sp)
36 mov -16843009,a2
37 mov a2,d1
50 mov a2,d1
67 ret [d2,d3,a2,a3],16
Dstrlen.S25 movm [d2,d3,a2,a3],(sp)
28 mov a0,a2
58 sub a2,a0
61 ret [d2,d3,a2,a3],16
Dstrchr.S25 movm [d2,d3,a2,a3],(sp)
35 mov sp,a2
37 add d3,a2
38 mov a2,a0
103 ret [d2,d3,a2,a3],28
Dsetjmp.S37 mov a2,(12,a0)
76 mov (12,a0),a2
/picolibc-latest/newlib/libc/machine/mips/
Dmemset.S219 slti t2,a2,(2 * NSIZE)
263 PTR_SUBU a2,a2,t2
299 PTR_SUBU a2,a2,t2
312 PTR_SUBU a2,a2,t2
323 andi t8,a2,NSIZEDMASK /* any whole 64-byte/128-byte chunks? */
324 beq a2,t8,L(chkw) /* if a2==t8, no 64-byte/128-byte chunks */
325 PTR_SUBU a3,a2,t8 /* subtract from a2 the reminder */
335 PTR_ADDU t0,a0,a2 /* t0 is the "past the end" address */
378 move a2,t8
384 andi t8,a2,NSIZEMASK /* is there a 32-byte/64-byte chunk. */
[all …]
Dmemcpy.S298 sltu t2,t0,a2
309 slti t2,a2,(2 * NSIZE)
332 PTR_SUBU a2,a2,a3 /* a2 is the remining bytes count */
383 PTR_SUBU a2,a2,t8
415 andi t8,a2,NSIZEDMASK /* any whole 64-byte/128-byte chunks? */
416 beq a2,t8,L(chkw) /* if a2==t8, no 64-byte/128-byte chunks */
417 PTR_SUBU a3,a2,t8 /* subtract from a2 the reminder */
427 PTR_ADDU t0,a0,a2 /* t0 is the "past the end" address */
519 move a2,t8
529 andi t8,a2,NSIZEMASK /* Is there a 32-byte/64-byte chunk. */
[all …]
/picolibc-latest/newlib/libm/test/
Dconvert.c247 int a2,a3; in test_ecvt_r() local
250 r = ecvt_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r()
254 test_iok(pdd->e2,a2); in test_ecvt_r()
258 r = ecvtf_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r()
262 test_iok(pdd->e2,a2); in test_ecvt_r()
270 int a2,a3; in test_ecvt() local
272 s = check_null(ecvt(pdd->value, pdd->e1, &a2, &a3)); in test_ecvt()
275 test_iok(pdd->e2,a2); in test_ecvt()
279 s = check_null(ecvtf(pdd->value, pdd->e1, &a2, &a3)); in test_ecvt()
282 test_iok(pdd->e2,a2); in test_ecvt()
[all …]
/picolibc-latest/newlib/libc/machine/m68k/
Dsetjmp.S30 moveml d2-d7/a2-a6,a0@(20)
41 moveml a0@(20),d2-d7/a2-a6
57 moveml d2-d7/a2-a6,a0@(20)
70 moveml a0@(20),d2-d7/a2-a6
Dm68kasm.h35 #define a2 REG (a2) macro
/picolibc-latest/newlib/libc/machine/mn10200/
Dsetjmp.S29 mov a2,(12,a0)
42 mov (12,a0),a2
/picolibc-latest/newlib/libc/ctype/
Djp2uc.h132 static unsigned short a2[] = { variable

12