/picolibc-latest/newlib/libc/machine/i960/ |
D | strcmp_ca.S | 116 notand g0,3,g2 # extract word addr of start of src1 119 cmpo g0,g2 # check alignment of src1 121 ld (g2),LSW # fetch word with at least first byte of src1 123 ld 4(g2),MSW # fetch second word of src1 125 bne Lsrc1_unaligned # branch if src1 is unaligned 128 mov LSW,SRC1 # extract word of src1 129 lda 8(g2),g2 # advance src1 word addr 135 cmpo SRC2,SRC1 # compare src1 and src2 words 137 mov MSW,LSW # move msw of src1 to lsw 138 ld (g2),MSW # pre-fetch next msw of src1 [all …]
|
D | strncmp_ca.S | 115 notand g0,3,SRC1 # extract word addr of start of src1 120 cmpo g0,SRC1 # check alignment of src1 122 ld (SRC1),LSW # fetch word with at least first byte of src1 124 ld 4(SRC1),MSW # fetch second word of src1 126 bne Lsrc1_unaligned # branch if src1 is unaligned 129 shlo 3,g0,g14 # compute shift count for src1 131 lda 8(SRC1),SRC1 # advance src1 word addr 139 cmpo SRC2,g0 # compare src1 and src2 words 141 mov MSW,LSW # move msw of src1 to lsw 142 ld (SRC1),MSW # pre-fetch next msw of src1 [all …]
|
D | memcmp_ca.S | 116 notand SRC1,3,SRC1 # extract word addr of start of src1 118 notand g0,3,SRC1 # extract word addr of start of src1 123 ld (SRC1),LSW # fetch word with at least first byte of src1 125 ld 4(SRC1),MSW # fetch second word of src1 126 shlo 3,g0,g14 # compute shift count for src1 131 eshro g14,g4,LSW # extract word of src1 132 lda 8(SRC1),SRC1 # advance src1 word addr 140 cmpo SRC2,g0 # compare src1 and src2 words 142 mov MSW,LSW # move msw of src1 to lsw 143 ld (SRC1),MSW # pre-fetch next msw of src1 [all …]
|
D | memcmp.S | 95 addo g0,g2,g2 # calculate byte addr of byte after last in src1 107 subo 4,g0,g0 # back up src1 pointer
|
/picolibc-latest/newlib/libc/machine/aarch64/ |
D | strcmp.S | 25 #define src1 x0 macro 61 sub off2, src2, src1 63 and tmp, src1, 7 71 ldr data2, [src1, off2] 72 ldr data1, [src1], 8 115 bic src1, src1, 7 116 ldr data2, [src1, off2] 117 ldr data1, [src1], 8 130 ldrb data1w, [src1], 1 135 tst src1, 7 [all …]
|
D | memcmp.S | 20 #define src1 x0 macro 45 ldp data1, data3, [src1] 51 add src1end, src1, limit 61 ldp data1, data3, [src1, 16] 69 ldp data1, data3, [src1, 32] 74 add src1, src1, 32 102 add src1end, src1, limit 105 ldr data1, [src1] 114 ldr data1w, [src1] 122 ldrh data1w, [src1] [all …]
|
D | strncmp.S | 45 #define src1 x0 macro 87 eor tmp1, src1, src2 90 and count, src1, #7 99 ldr data1, [src1], #8 188 bic src1, src1, #7 190 ldr data1, [src1], #8 210 ldrb data1w, [src1], #1 229 ldrb data1w, [src1], #1 261 ldr data1, [src1], #8 282 ldr data1, [src1], #8 [all …]
|
/picolibc-latest/newlib/libc/machine/arm/ |
D | strcmp-armv6.S | 48 #define src1 r0 macro 130 ldrb r2, [src1] 142 orr tmp1, src1, src2 151 eor tmp1, src1, src2 157 and tmp1, src1, #7 158 bic src1, src1, #7 162 ldrd data1a, data1b, [src1], #16 182 ldrd data1a, data1b, [src1], #16 194 ldrd data1a, data1b, [src1, #-8] 220 ands tmp1, src1, #3 [all …]
|
D | strcmp-armv7.S | 53 #define src1 r0 macro 135 ldrb r2, [src1] 146 orr tmp1, src1, src2 155 eor tmp1, src1, src2 161 and tmp1, src1, #7 162 bic src1, src1, #7 166 ldrd data1a, data1b, [src1], #16 186 ldrd data1a, data1b, [src1], #16 198 ldrd data1a, data1b, [src1, #-8] 224 ands tmp1, src1, #3 [all …]
|
D | strcmp-armv4.S | 36 #define src1 r0 macro 64 eor tmp1, src1, src2 68 ands tmp1, src1, #3 69 bic src1, src1, #3 71 ldr data1, [src1], #4 101 ldreq data1, [src1], #4 144 data1 = *src1++; \ 175 data1 = *src1++; \ 178 const unsigned* src1; 194 src1 = (unsigned*) (((unsigned)s1) & ~3); [all …]
|
D | strcmp-armv7m.S | 37 #define src1 r0 macro 55 eor tmp1, src1, src2 59 ands tmp1, src1, #3 60 bic src1, src1, #3 62 ldr data1, [src1], #4 87 ldreq data1, [src1], #4 131 data1 = *src1++; \ 162 data1 = *src1++; \ 165 const unsigned* src1; 181 src1 = (unsigned*) (((unsigned)s1) & ~3); [all …]
|
/picolibc-latest/newlib/libc/machine/crx/sys/ |
D | asm.h | 80 #define _cmpb_(src1, src2) __asm__("cmpb %0,%1" : /* no output */ : \ argument 81 "ri" ((unsigned char)src1) , "r" (src2) : "cc") 82 #define _cmpw_(src1,src2) __asm__("cmpw %0,%1" : /* no output */ \ argument 83 : "ri" ((unsigned short)src1) , "r" (src2) : "cc") 84 #define _cmpd_(src1,src2) __asm__("cmpd %0,%1" : /* no output */ \ argument 85 : "ri" ((unsigned int)src1) , "r" (src2) : "cc") 144 #define _macsb_(hi, lo, src1, src2) __asm__("macsb %1,%0" \ argument 146 : "r" ((char)src1) , "r" (src2)) 147 #define _macsw_(hi, lo, src1, src2) __asm__("macsw %1,%0" \ argument 149 : "r" ((short)src1) , "r" (src2)) [all …]
|
/picolibc-latest/newlib/libc/machine/cr16/sys/ |
D | asm.h | 64 #define _cmpb_(src1, src2) __asm__("cmpb %0,%1" : /* no output */ : \ argument 65 "ri" ((unsigned char)src1) , "r" (src2) : "cc") 66 #define _cmpw_(src1, src2) __asm__("cmpw %0,%1" : /* no output */ : \ argument 67 "ri" ((unsigned short)src1) , "r" (src2) : "cc") 68 #define _cmpd_(src1, src2) __asm__("cmpd %0,%1" : /* no output */ : \ argument 69 "ri" ((unsigned long)src1) , "r" (src2) : "cc") 115 #define _macsw_(hi, lo, src1, src2) __asm__("macsw %1,%0" \ argument 117 : "r" ((short)src1) , "r" (src2)) 118 #define _macuw_(hi, lo, src1, src2) __asm__("macuw %1,%0" \ argument 120 : "r" ((unsigned short)src1) , "r" (src2)) [all …]
|