Home
last modified time | relevance | path

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

12

/picolibc-3.7.0-3.6.0/newlib/libc/machine/xtensa/
Dsetjmp.S75 mov a4, a2 // save a2 (jmp_buf)
76 movi a2, SYS_nop
78 mov a2, a4 // restore a2
84 s32i a3, a2, 0
85 s32i a4, a2, 4
88 s32i a3, a2, 8
89 s32i a4, a2, 12
97 addi a6, a2, 16
116 s32i a3, a2, 48
117 s32i a4, a2, 52
[all …]
Dstrcmp.S47 l8ui a8, a2, 0 // byte 0 from s1
52 or a11, a2, a3
55 xor a11, a2, a3 // compare low two bits of s1 and s2
59 addi a2, a2, 1 // advance s1
62 bnone a2, a10, .Laligned // if s1/s2 now aligned
63 l8ui a8, a2, 0 // byte 1 from s1
65 addi a2, a2, 1 // advance s1
69 bnone a2, a10, .Laligned // if s1/s2 now aligned
70 l8ui a8, a2, 0 // byte 2 from s1
72 addi a2, a2, 1 // advance s1
[all …]
Dstrlen.S36 addi a3, a2, -4 // because we overincrement at the end
41 bbsi.l a2, 0, .L1mod2
42 bbsi.l a2, 1, .L2mod4
59 sub a2, a3, a2 // subtract to get length
100 sub a2, a3, a2 // subtract to get length
105 sub a2, a3, a2 // subtract to get length
110 sub a2, a3, a2 // subtract to get length
Dmemset.S123 mov a5, a2 // copy dst so that a2 is return value
126 _bbsi.l a2, 0, .Ldst1mod2
127 _bbsi.l a2, 1, .Ldst2mod4
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/
Dmemset.S18 beqz a2, 2f
22 add a2, a2, -1
24 bnez a2, 1b
32 bleu a2, t1, .Ltiny
40 and a3, a2, ~15
41 and a2, a2, 15
56 bnez a2, .Ltiny
60 sub a3, t1, a2
109 add a2, a2, a5
110 bleu a2, t1, .Ltiny
Dstrcmp.S20 lbu a2, 0(a0)
24 bne a2, a3, 2f
25 bnez a2, 1b
28 sub a0, a2, a3
45 REG_L a2, \i*SZREG(a0)
48 and t0, a2, a5
49 or t1, a2, a5
55 bne a2, a3, .Lmismatch
59 beq a2, a3, .Lloop
72 bne a2, a3, .Lmisaligned
Dmemmove.S17 beqz a2, 2f
24 addi a4, a2 , -1
31 add a2, a2, -1
34 bnez a2, 1b
Dmemcpy-asm.S18 beqz a2, 2f
23 add a2, a2, -1
26 bnez a2, 1b
/picolibc-3.7.0-3.6.0/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-3.7.0-3.6.0/newlib/libc/machine/microblaze/
Dstrcmp.c100 unsigned long *a2; in strcmp()
107 a2 = (unsigned long*)s2; in strcmp()
108 while (*a1 == *a2) in strcmp()
116 a2++; in strcmp()
121 s2 = (char*)a2; in strcmp()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mn10300/
Dmemcmp.S23 movm [d2,d3,a2,a3],(sp)
27 mov (28,sp),a2
29 cmp 3,a2
42 add -4,a2
43 cmp 3,a2
47 cmp 0,a2
60 sub 1,a2
65 ret [d2,d3,a2,a3],16
Dmemchr.S23 movm [d2,d3,a2,a3],(sp)
34 mov a0,a2
48 mov (a2),d0
57 mov a2,a0
69 inc4 a2
73 mov a2,a0
88 ret [d2,d3,a2,a3],16
Dstrcpy.S23 movm [d2,d3,a2,a3],(sp)
34 mov -16843009,a2
35 mov a2,d1
48 mov a2,d1
65 ret [d2,d3,a2,a3],16
Dstrlen.S23 movm [d2,d3,a2,a3],(sp)
26 mov a0,a2
56 sub a2,a0
59 ret [d2,d3,a2,a3],16
Dstrchr.S23 movm [d2,d3,a2,a3],(sp)
33 mov sp,a2
35 add d3,a2
36 mov a2,a0
101 ret [d2,d3,a2,a3],28
Dsetjmp.S35 mov a2,(12,a0)
74 mov (12,a0),a2
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mips/
Dmemset.S217 slti t2,a2,(2 * NSIZE)
261 PTR_SUBU a2,a2,t2
297 PTR_SUBU a2,a2,t2
310 PTR_SUBU a2,a2,t2
321 andi t8,a2,NSIZEDMASK /* any whole 64-byte/128-byte chunks? */
322 beq a2,t8,L(chkw) /* if a2==t8, no 64-byte/128-byte chunks */
323 PTR_SUBU a3,a2,t8 /* subtract from a2 the reminder */
333 PTR_ADDU t0,a0,a2 /* t0 is the "past the end" address */
376 move a2,t8
382 andi t8,a2,NSIZEMASK /* is there a 32-byte/64-byte chunk. */
[all …]
Dmemcpy.S296 sltu t2,t0,a2
307 slti t2,a2,(2 * NSIZE)
330 PTR_SUBU a2,a2,a3 /* a2 is the remining bytes count */
381 PTR_SUBU a2,a2,t8
413 andi t8,a2,NSIZEDMASK /* any whole 64-byte/128-byte chunks? */
414 beq a2,t8,L(chkw) /* if a2==t8, no 64-byte/128-byte chunks */
415 PTR_SUBU a3,a2,t8 /* subtract from a2 the reminder */
425 PTR_ADDU t0,a0,a2 /* t0 is the "past the end" address */
517 move a2,t8
527 andi t8,a2,NSIZEMASK /* Is there a 32-byte/64-byte chunk. */
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/test/
Dconvert.c249 int a2,a3; in test_ecvt_r() local
252 r = ecvt_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r()
256 test_iok(pdd->e2,a2); in test_ecvt_r()
260 r = ecvtf_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r()
264 test_iok(pdd->e2,a2); in test_ecvt_r()
272 int a2,a3; in test_ecvt() local
274 s = check_null(ecvt(pdd->value, pdd->e1, &a2, &a3)); in test_ecvt()
277 test_iok(pdd->e2,a2); in test_ecvt()
281 s = check_null(ecvtf(pdd->value, pdd->e1, &a2, &a3)); in test_ecvt()
284 test_iok(pdd->e2,a2); in test_ecvt()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/m68k/
Dsetjmp.S28 moveml d2-d7/a2-a6,a0@(20)
39 moveml a0@(20),d2-d7/a2-a6
55 moveml d2-d7/a2-a6,a0@(20)
68 moveml a0@(20),d2-d7/a2-a6
Dm68kasm.h35 #define a2 REG (a2) macro
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mn10200/
Dsetjmp.S27 mov a2,(12,a0)
40 mov (12,a0),a2
/picolibc-3.7.0-3.6.0/newlib/libc/ctype/
Djp2uc.h132 static unsigned short a2[] = { variable

12