Lines Matching +full:sub +full:- +full:block
15 * Fast assembler language version of the following C-program for memset
16 * which represents the `standard' for the C-library.
25 * } while (--n != 0);
35 * Then store as many 4-byte chunks, followed by trailing bytes.
39 * store 8-bytes chunks to align the address on 64 byte boundary
42 * 64-byte cache line to zero which will also clear the
49 * In the main loop, continue pre-setting the first long
56 * store remaining data in 64-byte chunks until less than
59 * Store as many 8-byte chunks, followed by trailing bytes.
61 * BIS = Block Init Store
109 .size M7clear_page,.-M7clear_page
110 .size M7clear_user_page,.-M7clear_user_page
122 .size M7bzero,.-M7bzero
146 sub %o3, 8, %o3 ! -(bytes till long word aligned)
149 ! Set -(%o3) bytes till sp1 long word aligned
161 andcc %o5, 63, %o3 ! is sp1 block aligned?
162 bz,pt %xcc, .blkwr ! now block aligned
163 sub %o3, 64, %o3 ! o3 is -(bytes till block aligned)
166 ! Store -(%o3) bytes till dst is block (64 byte) aligned.
175 ! Now sp1 is block aligned
184 ! must be > pre-cleared lines
187 ! initial cache-clearing stores
194 sub %o5, 8, %o5 ! adjust %o5 for ASI store alignment
201 stxa %o1, [%o5+8-128]%asi
203 stxa %o1, [%o5+8-64]%asi
205 sub %o5, ST_CHUNK*64, %o5 ! reset %o5
210 sub %o4, 64, %o4
217 stxa %o1, [%o5-8]%asi
241 stxa %o1, [%o5-8]%asi
256 sub %o4, 256, %o4
264 sub %g3, 192, %g3
284 membar #StoreStore ! required by use of Block Store Init
299 stx %o1, [%o5-16]
301 stx %o1, [%o5-8]
333 st %o1, [%o5] ! 4-byte writing loop
352 .size M7memset,.-M7memset