Home
last modified time | relevance | path

Searched refs:word (Results 1 – 25 of 79) sorted by relevance

1234

/picolibc-3.5.0-3.4.0/newlib/libm/machine/spu/headers/
Dfefpscr.h45 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-3.5.0-3.4.0/newlib/libc/machine/i960/
Dstrcpy_ca.S122 notand g0,3,g4 # extract word addr of start of dest
125 ld (g4),MSW # fetch word containing at least first byte
126 shlo 3,LSW,g14 # get shift count for making mask for first word
129 shro g14,LSW,LSW # get mask for bytes needed from first word
132 shlo g14,LSW,LSW # get mask for bytes needed from first word
138 lda 4(g4),g4 # post-increment dest word pointer
139 mov MSW,LSW # keep a copy of current word
140 ld (g4),MSW # fetch next word of dest
143 cmpo 0,g14 # branch if null is first byte of word
144 subo 4,g4,g4 # move dest word ptr back to word with null
[all …]
Dstrlen_ca.S90 notand g0,3,g2 # extract word addr of start of src
93 ld (g2),g5 # fetch word containing at least first byte
94 shlo 3,g7,g7 # get shift count for making mask for first word
95 lda 4(g2),g2 # post-increment src word pointer
97 chkbit 2,g2 # are we on an even word boundary or an odd one?
99 shro g7,g3,g3 # get mask for bytes needed from first word
103 shlo g7,g3,g3 # get mask for bytes needed from first word
107 bno.f Lodd_word # branch if first word is odd
108 mov g7,g4 # move first word to copy thereof
109 ld (g2),g5 # load odd word
[all …]
Dstrcpy.S121 addo 8,g0,g2 # post-increment src word pointer
126 mov g5,g7 # copy second word
129 ldl (g2),g4 # fetch next pair of word of src
130 addo 8,g2,g2 # post-increment src word pointer
134 mov g7,g4 # move word with null to search word
141 shro 8,g4,g4 # shift word to position next byte
154 ld (g1), g2 # fetch first word of source
157 Lwloop: # word copying loop
159 scanbyte 0, g2 # does source word contain null byte?
160 mov g2, g4 # save a copy of the source word
[all …]
Dmemcpy_ca.S121 notand g1,3,g3 # extract word addr of start of src
124 ld (g3),LSW # fetch word containing at least first byte
125 notand g0,3,g4 # extract word addr of start of dest
126 lda 4(g3),g3 # advance src word addr
127 bne.f Lcase_245 # branch if src is NOT word aligned
132 be.t Lcase_1 # branch if dest word aligned
134 Lcase_3: # src is word aligned; dest is not
135 addo 8,g4,g4 # move dest word ptr to first word boundary
137 mov LSW,MSW # make copy of first word of src
154 cmpobne.t g1,g4,Lcase_3_cloop_at_start # branch if reached word boundary
[all …]
Dstrcmp_ca.S114 notand g0,3,g2 # extract word addr of start of src1
119 ld (g2),LSW # fetch word with at least first byte of src1
120 notand g1,3,g3 # extract word addr of start of src2
121 ld 4(g2),MSW # fetch second word of src1
125 ld (g3),SRC2 # fetch word with at least first byte of src2
126 mov LSW,SRC1 # extract word of src1
127 lda 8(g2),g2 # advance src1 word addr
128 bne.f Lsrc2_unaligned # branch if src2 is NOT word aligned
132 Lwloop2: # word comparing loop
140 scanbyte 0,SRC1 # check for null byte in src1 word
[all …]
Dstrncpy_ca.S111 notand g1,3,g3 # extract word addr of start of src
115 ld (g3),LSW # fetch word containing at least first byte
116 notand g0,3,g4 # extract word addr of start of dest
117 lda 4(g3),g3 # advance src word addr
118 bne.f Lcase_245 # branch if src is NOT word aligned
124 bne.f Lcase_3 # branch if dest not word aligned
126 Lcase_1: # src and dest are word aligned
127 Lcase_1_wloop: # word copying loop
129 lda (LSW),g1 # keep a copy of the src word
132 scanbyte 0,g1 # check for null byte in src word
[all …]
Dmemccpy_ca.S92 notand g1,3,g5 # extract word addr of start of src
96 ld (g5),LSW # fetch word containing at least first byte
97 notand g0,3,g4 # extract word addr of start of dest
98 lda 4(g5),g5 # advance src word addr
100 bne.f Lcase_245 # branch if src is NOT word aligned
103 cmpobe.t g0,g4,Lcase_1_setup # branch if dest word aligned
105 Lcase_3: # src is word aligned; dest is not
106 mov LSW,MSW # make copy of first word of src
107 addo 4,g4,g1 # move dest word ptr to first word boundary
130 cmpobne.t g1,g0,Lcase_3_cloop_at_start # branch if reached word boundary
[all …]
Dstrncat_ca.S111 notand g0,3,g4 # extract word addr of start of dest
115 ld (g4),MSW # fetch word containing at least first byte
116 shlo 3,LSW,g14 # get shift count for making mask for first word
119 shro g14,LSW,LSW # get mask for bytes needed from first word
121 shlo g14,LSW,LSW # get mask for bytes needed from first word
127 lda 4(g4),g4 # post-increment dest word pointer
128 mov MSW,LSW # keep a copy of current word
129 ld (g4),MSW # fetch next word of dest
136 cmpo 0,g14 # branch if null is first byte of word
137 subo 4,g4,g4 # move dest word ptr to word with null
[all …]
Dstrchr_ca.S98 notand g0,3,g5 # extract word addr of start of src
101 ld (g5),g4 # fetch word containing at least first byte
102 shlo 3,g6,g6 # get shift count for making mask for first word
103 lda 4(g5),g0 # post-increment src word pointer
106 shro g6,g5,g5 # get mask for bytes needed from first word
108 shlo g6,g5,g5 # get mask for bytes needed from first word
115 lda (g4),g5 # copy word
116 ld (g0),g4 # fetch next word of src
119 lda 4(g0),g0 # post-increment src word pointer
133 rotate 8,g5,g5 # shift word to position next byte
[all …]
Dstrncmp_ca.S113 notand g0,3,SRC1 # extract word addr of start of src1
120 ld (SRC1),LSW # fetch word with at least first byte of src1
121 notand g1,3,g3 # extract word addr of start of src2
122 ld 4(SRC1),MSW # fetch second word of src1
126 ld (g3),SRC2 # fetch word with at least first byte of src2
129 lda 8(SRC1),SRC1 # advance src1 word addr
130 bne.f Lsrc2_unaligned # branch if src2 is NOT word aligned
136 Lwloop2: # word comparing loop
144 scanbyte 0,g0 # check for null byte in src1 word
145 ld (g3),SRC2 # pre-fetch next word of src2
[all …]
Dmemchr_ca.S98 notand g0,3,g0 # extract word addr of start of src
100 ld (g0),g4 # fetch word containing at least first byte
105 shlo 3,g6,g6 # get shift count for making mask for first word
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 4(g0),g0 # pre-increment src word pointer
118 mov g4,g5 # keep a copy of word
119 ld (g0),g4 # fetch next word of src
135 rotate 8,g5,g5 # shift word to position next byte
141 shro 8,g5,g5 # shift word to position next byte
[all …]
Dmemccpy.S98 ld (g1), g7 # fetch first word of source
104 or g6,g4,g6 # word of char
108 ld (g1), g7 # fetch ahead next word of source
109 st g4, (g0) # store word to dest
111 Lwloop_b: # word copying loop
114 mov g7, g4 # keep a copy of the current word
115 bl Lcloop_setup # quit word loop if less than 4 bytes
117 bno Lwloop_a # continue word loop if char not found.
Dmemcmp_ca.S114 notand SRC1,3,SRC1 # extract word addr of start of src1
116 notand g0,3,SRC1 # extract word addr of start of src1
120 notand g1,3,g3 # extract word addr of start of src2
121 ld (SRC1),LSW # fetch word with at least first byte of src1
123 ld 4(SRC1),MSW # fetch second word of src1
128 ld (g3),SRC2 # fetch word with at least first byte of src2
129 eshro g14,g4,LSW # extract word of src1
130 lda 8(SRC1),SRC1 # advance src1 word addr
131 bne.f Lsrc2_unaligned # branch if src2 is NOT word aligned
133 mov LSW,g0 # at least src2 is word aligned
[all …]
Dstrlen.S87 addo 8,g0,g2 # post-increment src word pointer
93 mov g5,g7 # copy second word
96 ldl (g2),g4 # fetch next pair of word of src
97 addo 8,g2,g2 # post-increment src word pointer
101 mov g7,g4 # move word with null to search word
108 shro 8,g4,g4 # shift word to position next byte
Dmemcpy.S116 ld (g1), g7 # fetch first word of source
121 ld (g1), g7 # fetch ahead next word of source
122 st g4, (g5) # store word to dest
124 Lwloop_b: # word copying loop
127 mov g7, g4 # keep a copy of the current word
145 st g7, (g6) # store word to dest
146 Lbackwards: # word copying loop
149 ld (g3), g7 # fetch ahead next word of source
Dmemchr.S98 addo 4,g0,g6 # post-increment src word pointer
100 ld (g0),g4 # fetch first word
107 mov g4,g5 # keep a copy of word
109 ld (g6),g4 # fetch next word of src
111 addo 4,g6,g6 # post-increment src word pointer
125 shro 8,g5,g5 # shift word to position next byte
Dstrrchr.S91 ld (g0),g4 # fetch first word
104 mov g4,g5 # copy word
106 ld (g2),g4 # fetch next word of src
111 mov g5,g6 # save word that has char in it (at least once)
112 subo 4,g2,g0 # save addr of byte after word with char
116 subo 4,g2,g2 # move src pointer back to word with null
124 mov g3,g6 # save word of all char to short circuit search
Dstrcmp.S87 ld (g0), g5 # fetch first word of source_1
93 ld (g1), g3 # fetch word of source_2
94 scanbyte 0,g5 # does word have a null byte?
95 mov g5,g2 # save a copy of the source_1 word
99 ld (g0), g5 # fetch ahead next word of source_1
Dstrncat.S98 ld (g5), g7 # fetch word of dest string
105 and g7, g3, g14 # extract byte of last word of dest string
111 ld (g1), g7 # fetch first word of source string
112 Lwloop: # word copying loop
117 mov g7, g4 # keep a copy of the source word
119 ld (g1), g7 # pre-fetch next word of source
121 st g4, (g5) # store current word
Dstrncpy.S101 ld (g1), g7 # fetch the first word of the source
106 Lwloop: # word copying loop
109 mov g7, g4 # keep a copy of source word
112 ld (g1), g7 # pre-fetch next word of the source
114 st g4, (g5) # store current word
122 shro 8, g4, g4 # position word to extract next byte
Dstrchr.S85 ld (g0),g4 # fetch first word
97 mov g4,g5 # copy word
99 ld (g0),g4 # fetch next word of src
118 shro 8,g5,g5 # shift word to position next byte
/picolibc-3.5.0-3.4.0/newlib/libc/machine/m68k/
Dmemset.S29 | - make sure the destination pointer (the write pointer) is long word
32 | - we fill long word wise if possible
51 move.b d0,d2 | distribute low byte to all byte in word
64 lsr.l #1,d2 | word align needed?
70 move.w d0,(a0)+ | fill word
/picolibc-3.5.0-3.4.0/newlib/libc/iconv/ccs/
Dcp775.c18 # define W(word) (word) & 0xFF, (word) >> 8 argument
20 # define W(word) (word) >> 8, (word) & 0xFF argument
Dcp850.c18 # define W(word) (word) & 0xFF, (word) >> 8 argument
20 # define W(word) (word) >> 8, (word) & 0xFF argument

1234