/picolibc-latest/newlib/libm/machine/spu/headers/ |
D | fefpscr.h | 45 static __inline vec_uint4 __unpack_fpscr(fenv_t word) in __unpack_fpscr() argument 52 fpscr = spu_promote (word, 0); in __unpack_fpscr() 70 vec_uint4 word; in __pack_fpscr() local 72 word = spu_and (fpscr, mask); in __pack_fpscr() 73 word = spu_shuffle (word, word, pat); in __pack_fpscr() 74 word = (vec_uint4) spu_sl ((vec_short8) word, shl); in __pack_fpscr() 75 word = spu_orx (word); in __pack_fpscr() 76 return spu_extract (word, 0); in __pack_fpscr()
|
/picolibc-latest/newlib/libc/machine/aarch64/ |
D | asmdefs.h | 28 .word 4; \ 29 .word 12; \ 30 .word 5; \ 32 .word type; \ 33 .word 4; \ 34 .word value; \ 40 .word 4; \ 41 .word 16; \ 42 .word 5; \ 44 .word type; \ [all …]
|
/picolibc-latest/newlib/libc/machine/i960/ |
D | strcpy_ca.S | 124 notand g0,3,g4 # extract word addr of start of dest 127 ld (g4),MSW # fetch word containing at least first byte 128 shlo 3,LSW,g14 # get shift count for making mask for first word 131 shro g14,LSW,LSW # get mask for bytes needed from first word 134 shlo g14,LSW,LSW # get mask for bytes needed from first word 140 lda 4(g4),g4 # post-increment dest word pointer 141 mov MSW,LSW # keep a copy of current word 142 ld (g4),MSW # fetch next word of dest 145 cmpo 0,g14 # branch if null is first byte of word 146 subo 4,g4,g4 # move dest word ptr back to word with null [all …]
|
D | strlen_ca.S | 92 notand g0,3,g2 # extract word addr of start of src 95 ld (g2),g5 # fetch word containing at least first byte 96 shlo 3,g7,g7 # get shift count for making mask for first word 97 lda 4(g2),g2 # post-increment src word pointer 99 chkbit 2,g2 # are we on an even word boundary or an odd one? 101 shro g7,g3,g3 # get mask for bytes needed from first word 105 shlo g7,g3,g3 # get mask for bytes needed from first word 109 bno.f Lodd_word # branch if first word is odd 110 mov g7,g4 # move first word to copy thereof 111 ld (g2),g5 # load odd word [all …]
|
D | strcpy.S | 123 addo 8,g0,g2 # post-increment src word pointer 128 mov g5,g7 # copy second word 131 ldl (g2),g4 # fetch next pair of word of src 132 addo 8,g2,g2 # post-increment src word pointer 136 mov g7,g4 # move word with null to search word 143 shro 8,g4,g4 # shift word to position next byte 156 ld (g1), g2 # fetch first word of source 159 Lwloop: # word copying loop 161 scanbyte 0, g2 # does source word contain null byte? 162 mov g2, g4 # save a copy of the source word [all …]
|
D | memcpy_ca.S | 123 notand g1,3,g3 # extract word addr of start of src 126 ld (g3),LSW # fetch word containing at least first byte 127 notand g0,3,g4 # extract word addr of start of dest 128 lda 4(g3),g3 # advance src word addr 129 bne.f Lcase_245 # branch if src is NOT word aligned 134 be.t Lcase_1 # branch if dest word aligned 136 Lcase_3: # src is word aligned; dest is not 137 addo 8,g4,g4 # move dest word ptr to first word boundary 139 mov LSW,MSW # make copy of first word of src 156 cmpobne.t g1,g4,Lcase_3_cloop_at_start # branch if reached word boundary [all …]
|
D | strcmp_ca.S | 116 notand g0,3,g2 # extract word addr of start of src1 121 ld (g2),LSW # fetch word with at least first byte of src1 122 notand g1,3,g3 # extract word addr of start of src2 123 ld 4(g2),MSW # fetch second word of src1 127 ld (g3),SRC2 # fetch word with at least first byte of src2 128 mov LSW,SRC1 # extract word of src1 129 lda 8(g2),g2 # advance src1 word addr 130 bne.f Lsrc2_unaligned # branch if src2 is NOT word aligned 134 Lwloop2: # word comparing loop 142 scanbyte 0,SRC1 # check for null byte in src1 word [all …]
|
D | strncpy_ca.S | 113 notand g1,3,g3 # extract word addr of start of src 117 ld (g3),LSW # fetch word containing at least first byte 118 notand g0,3,g4 # extract word addr of start of dest 119 lda 4(g3),g3 # advance src word addr 120 bne.f Lcase_245 # branch if src is NOT word aligned 126 bne.f Lcase_3 # branch if dest not word aligned 128 Lcase_1: # src and dest are word aligned 129 Lcase_1_wloop: # word copying loop 131 lda (LSW),g1 # keep a copy of the src word 134 scanbyte 0,g1 # check for null byte in src word [all …]
|
D | memccpy_ca.S | 94 notand g1,3,g5 # extract word addr of start of src 98 ld (g5),LSW # fetch word containing at least first byte 99 notand g0,3,g4 # extract word addr of start of dest 100 lda 4(g5),g5 # advance src word addr 102 bne.f Lcase_245 # branch if src is NOT word aligned 105 cmpobe.t g0,g4,Lcase_1_setup # branch if dest word aligned 107 Lcase_3: # src is word aligned; dest is not 108 mov LSW,MSW # make copy of first word of src 109 addo 4,g4,g1 # move dest word ptr to first word boundary 132 cmpobne.t g1,g0,Lcase_3_cloop_at_start # branch if reached word boundary [all …]
|
D | strncat_ca.S | 113 notand g0,3,g4 # extract word addr of start of dest 117 ld (g4),MSW # fetch word containing at least first byte 118 shlo 3,LSW,g14 # get shift count for making mask for first word 121 shro g14,LSW,LSW # get mask for bytes needed from first word 123 shlo g14,LSW,LSW # get mask for bytes needed from first word 129 lda 4(g4),g4 # post-increment dest word pointer 130 mov MSW,LSW # keep a copy of current word 131 ld (g4),MSW # fetch next word of dest 138 cmpo 0,g14 # branch if null is first byte of word 139 subo 4,g4,g4 # move dest word ptr to word with null [all …]
|
D | strchr_ca.S | 100 notand g0,3,g5 # extract word addr of start of src 103 ld (g5),g4 # fetch word containing at least first byte 104 shlo 3,g6,g6 # get shift count for making mask for first word 105 lda 4(g5),g0 # post-increment src word pointer 108 shro g6,g5,g5 # get mask for bytes needed from first word 110 shlo g6,g5,g5 # get mask for bytes needed from first word 117 lda (g4),g5 # copy word 118 ld (g0),g4 # fetch next word of src 121 lda 4(g0),g0 # post-increment src word pointer 135 rotate 8,g5,g5 # shift word to position next byte [all …]
|
D | strncmp_ca.S | 115 notand g0,3,SRC1 # extract word addr of start of src1 122 ld (SRC1),LSW # fetch word with at least first byte of src1 123 notand g1,3,g3 # extract word addr of start of src2 124 ld 4(SRC1),MSW # fetch second word of src1 128 ld (g3),SRC2 # fetch word with at least first byte of src2 131 lda 8(SRC1),SRC1 # advance src1 word addr 132 bne.f Lsrc2_unaligned # branch if src2 is NOT word aligned 138 Lwloop2: # word comparing loop 146 scanbyte 0,g0 # check for null byte in src1 word 147 ld (g3),SRC2 # pre-fetch next word of src2 [all …]
|
D | memchr_ca.S | 100 notand g0,3,g0 # extract word addr of start of src 102 ld (g0),g4 # fetch word containing at least first byte 107 shlo 3,g6,g6 # get shift count for making mask for first word 110 shro g6,g5,g5 # get mask for bytes needed from first word 112 shlo g6,g5,g5 # get mask for bytes needed from first word 119 lda 4(g0),g0 # pre-increment src word pointer 120 mov g4,g5 # keep a copy of word 121 ld (g0),g4 # fetch next word of src 137 rotate 8,g5,g5 # shift word to position next byte 143 shro 8,g5,g5 # shift word to position next byte [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 122 notand g1,3,g3 # extract word addr of start of src2 123 ld (SRC1),LSW # fetch word with at least first byte of src1 125 ld 4(SRC1),MSW # fetch second word of src1 130 ld (g3),SRC2 # fetch word with at least first byte of src2 131 eshro g14,g4,LSW # extract word of src1 132 lda 8(SRC1),SRC1 # advance src1 word addr 133 bne.f Lsrc2_unaligned # branch if src2 is NOT word aligned 135 mov LSW,g0 # at least src2 is word aligned [all …]
|
D | memccpy.S | 100 ld (g1), g7 # fetch first word of source 106 or g6,g4,g6 # word of char 110 ld (g1), g7 # fetch ahead next word of source 111 st g4, (g0) # store word to dest 113 Lwloop_b: # word copying loop 116 mov g7, g4 # keep a copy of the current word 117 bl Lcloop_setup # quit word loop if less than 4 bytes 119 bno Lwloop_a # continue word loop if char not found.
|
D | strlen.S | 89 addo 8,g0,g2 # post-increment src word pointer 95 mov g5,g7 # copy second word 98 ldl (g2),g4 # fetch next pair of word of src 99 addo 8,g2,g2 # post-increment src word pointer 103 mov g7,g4 # move word with null to search word 110 shro 8,g4,g4 # shift word to position next byte
|
D | memcpy.S | 118 ld (g1), g7 # fetch first word of source 123 ld (g1), g7 # fetch ahead next word of source 124 st g4, (g5) # store word to dest 126 Lwloop_b: # word copying loop 129 mov g7, g4 # keep a copy of the current word 147 st g7, (g6) # store word to dest 148 Lbackwards: # word copying loop 151 ld (g3), g7 # fetch ahead next word of source
|
D | memchr.S | 100 addo 4,g0,g6 # post-increment src word pointer 102 ld (g0),g4 # fetch first word 109 mov g4,g5 # keep a copy of word 111 ld (g6),g4 # fetch next word of src 113 addo 4,g6,g6 # post-increment src word pointer 127 shro 8,g5,g5 # shift word to position next byte
|
D | strrchr.S | 93 ld (g0),g4 # fetch first word 106 mov g4,g5 # copy word 108 ld (g2),g4 # fetch next word of src 113 mov g5,g6 # save word that has char in it (at least once) 114 subo 4,g2,g0 # save addr of byte after word with char 118 subo 4,g2,g2 # move src pointer back to word with null 126 mov g3,g6 # save word of all char to short circuit search
|
D | strcmp.S | 89 ld (g0), g5 # fetch first word of source_1 95 ld (g1), g3 # fetch word of source_2 96 scanbyte 0,g5 # does word have a null byte? 97 mov g5,g2 # save a copy of the source_1 word 101 ld (g0), g5 # fetch ahead next word of source_1
|
D | strncat.S | 100 ld (g5), g7 # fetch word of dest string 107 and g7, g3, g14 # extract byte of last word of dest string 113 ld (g1), g7 # fetch first word of source string 114 Lwloop: # word copying loop 119 mov g7, g4 # keep a copy of the source word 121 ld (g1), g7 # pre-fetch next word of source 123 st g4, (g5) # store current word
|
D | strncpy.S | 103 ld (g1), g7 # fetch the first word of the source 108 Lwloop: # word copying loop 111 mov g7, g4 # keep a copy of source word 114 ld (g1), g7 # pre-fetch next word of the source 116 st g4, (g5) # store current word 124 shro 8, g4, g4 # position word to extract next byte
|
D | strchr.S | 87 ld (g0),g4 # fetch first word 99 mov g4,g5 # copy word 101 ld (g0),g4 # fetch next word of src 120 shro 8,g5,g5 # shift word to position next byte
|
/picolibc-latest/newlib/libc/machine/m68k/ |
D | memset.S | 31 | - make sure the destination pointer (the write pointer) is long word 34 | - we fill long word wise if possible 53 move.b d0,d2 | distribute low byte to all byte in word 66 lsr.l #1,d2 | word align needed? 72 move.w d0,(a0)+ | fill word
|
/picolibc-latest/newlib/libc/iconv/ccs/ |
D | cp775.c | 17 # define W(word) (word) & 0xFF, (word) >> 8 argument 19 # define W(word) (word) >> 8, (word) & 0xFF argument
|