Home
last modified time | relevance | path

Searched refs:ncc (Results 1 – 25 of 38) sorted by relevance

12

/titanic_41/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_copy.s710 bleu,pt %ncc, .kcopy_small ! go to larger cases
713 bz,pt %ncc, .kcopy_8 ! check for longword alignment
716 bz,pt %ncc, .kcopy_2 ! check for half-word
723 bleu,pt %ncc, .kcopy_small ! go to small copy
725 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
729 bz,pt %ncc, .kcopy_4 ! check for word alignment
736 bleu,pt %ncc, .kcopy_small ! go to small copy
738 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
747 bleu,pt %ncc, .kcopy_small ! go to small copy
749 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
[all …]
H A Dcheetah_copy.s755 bleu,pt %ncc, .kcopy_small ! go to larger cases
758 bz,pt %ncc, .kcopy_8 ! check for longword alignment
761 bz,pt %ncc, .kcopy_2 ! check for half-word
768 bleu,pt %ncc, .kcopy_small ! go to small copy
770 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
774 bz,pt %ncc, .kcopy_4 ! check for word alignment
781 bleu,pt %ncc, .kcopy_small ! go to small copy
783 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
792 bleu,pt %ncc, .kcopy_small ! go to small copy
794 ba,pt %ncc, .kcopy_more ! otherwise go to large copy
[all …]
H A Dspitfire_copy.s508 ba,pt %ncc, .do_copy ! common code
547 ba,pt %ncc, 2f
556 bnz,pt %ncc, 1f
561 bnz,pn %ncc, 1f
568 bnz,a,pt %ncc, 1f ! Need to call kpreempt?
594 bnz,pn %ncc, 3f
652 bz,pt %ncc, .do_copy
660 blu %ncc, .bytecp ! just copy bytes
664 blu,pt %ncc, .bcb_punt
677 bneg,a,pn %ncc, 1f
[all …]
/titanic_41/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemcpy.s60 bgeu %ncc, forcpy ! else use backward if ...
63 bleu %ncc, forcpy ! if size is bigger, do overlapped copy
76 bgeu,pn %ncc, .dbalign
82 blu,pn %ncc, exit ! loop until done
91 bz %ncc, .dbbck
125 bgeu,pt %ncc, 2b
141 bgu,a %ncc, .alignsrc
147 bleu,a,pn %ncc, exit
154 bgu %ncc, 1b
162 bz %ncc, .bigcpy ! src already double aligned
[all …]
H A Dmemcmp.s58 be %ncc, .cmpeq
62 bleu,a %ncc, .bytcmp
72 ba %ncc, .bytcmp
81 bne %ncc, .noteq
84 bgeu,a %ncc, 1b
89 bgu,a %ncc, .blkchk ! we should already be dbl aligned
134 bgu,pt %ncc, 4b
144 bne %ncc, .dnoteq
147 bgeu,a %ncc, 5b
170 bz,pn %ncc, .blalign ! now block aligned
H A Dmemset.s62 bgeu,pn %ncc, .wrbig
68 bgeu,a,pt %ncc, .wrchar
/titanic_41/usr/src/lib/libc/sparcv9/gen/
H A Dstrncpy.s70 bz,pn %ncc, .done ! n == 0, done
73 bz,pn %ncc, .dwordaligned ! yup
81 bz,pn %ncc, .done ! n == 0, done
83 bz,a %ncc, .bytepad ! yes, at least one byte to pad here
86 bnz,a %ncc, .alignsrc ! no, copy another byte
102 be,pn %ncc, .storebyte1421 ! store 1, 4, 2, 1 bytes
104 be,pn %ncc, .storehalfword ! yup, store half-word wise
106 bnz,pn %ncc, .storeword2 ! yup, store word wise
112 bcs,pn %ncc,.lastword ! if counter wraps, last word
116 bz,a,pt %ncc, .storedword ! no zero byte if magic expression == 0
[all …]
H A Dstrcpy.s66 bz,pn %ncc, .srcaligned ! yup
71 bz,pn %ncc, .chkhalfword ! nope, maybe halfword
76 bz,pn %ncc, .done ! yup, done
81 bz,pn %ncc, .chkword ! nope, maybe word
86 bz,pn %ncc, .done ! yup, done
90 bz,pn %ncc, .done ! yup, 2nd byte zero, done
95 bz,pn %ncc, .srcaligned ! nope
100 bz,pn %ncc, .done ! yup, done
104 bz,pn %ncc, .done ! yup, done
108 bz,pn %ncc, .done ! yup, done
[all …]
H A Dstrlcpy.s63 bz,pn %ncc, .getstrlen ! n == 0, must determine strlen
66 bz,pn %ncc, .dwordaligned ! yup
74 bz,a %ncc, .done ! yes, done
77 bz,pn %ncc, .forcenullunalign ! n == 0, force null byte, compute len
79 bnz,a %ncc, .alignsrc ! no, copy another byte
94 be,pn %ncc, .storebyte1421 ! store 1, 4, 2, 1 bytes
96 be,pn %ncc, .storehalfword ! yup, store half-word wise
98 bnz,pn %ncc, .storeword2 ! yup, store word wise
105 bcs,pn %ncc, .lastword ! if counter wraps, last word
109 bz,a,pt %ncc, .storedword ! no zero byte if magic expression == 0
[all …]
H A Dmemchr.s60 bz %ncc, .notfound ! yup, c not found, return null ptr
64 bz %ncc, .prepword ! yup, prepare for word-wise search
69 be %ncc, .done ! yup, done
72 bz %ncc, .notfound ! c not found in first n bytes
74 bz %ncc, .prepword2 ! yup, prepare for word-wise search
78 be %ncc, .done ! yup, done
81 bz %ncc, .notfound ! c not found in first n bytes
83 bz %ncc, .prepword3 ! yup, prepare for word-wise search
H A Dstrchr.s179 bz,pn %ncc, .done2 ! yup, done
181 bz,a,pn %ncc, .done2 ! yup, done
196 bz,a,pt %ncc, .searchword ! no zero byte if magic expression == 0
202 bz,pn %ncc, .done2 ! yup, done
206 bz,pn %ncc, .done2 ! yup, done
210 bnz,a %ncc, .done2 ! nope, increment in delay slot
H A Dascii_strcasecmp.s129 bz,pn %ncc, .stringsequal ! yup, done, strings equal
131 bz,pn %ncc, .s1aligned1 ! yup
168 bne,pn %ncc, .done ! yup, done
171 bz,pn %ncc, .done ! yup, done, strings equal
173 bz %ncc, .s1aligned3 ! yup
234 bz,a,pt %ncc, .doload ! null byte in previous aligned s2 word
262 bz,pt %ncc, .cmp ! no null-byte in s1 yet
316 bnz,pn %ncc, .done ! bytes differ, return difference
319 bz,pn %ncc, .done ! yup
325 bnz,pn %ncc, .done ! bytes differ, return difference
[all …]
/titanic_41/usr/src/lib/libc/capabilities/sun4u-opl/common/
H A Dmemcpy.s80 bgeu %ncc, .forcpy ! else use backward if ...
83 bleu %ncc, .forcpy ! if size is bigger, do overlapped copy
95 bgeu,pn %ncc, .dbalign
98 blt,pn %ncc, .byte
111 bgu,pt %ncc, .byte4loop
115 bz,pt %ncc, .exit
121 bgu,pt %ncc, .byteloop ! loop until done
132 bz,pt %ncc, .dbmed
139 bgu,pt %ncc, .dbalign1 ! loop until done
145 bnz,pn %ncc, .dbbck
[all …]
/titanic_41/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcpy.s75 bgeu %ncc, .forcpy ! else use backward if ...
78 bleu %ncc, .forcpy ! if size is bigger, do overlapped copy
90 bgeu,pn %ncc, .dbalign
93 blt,pn %ncc, .byte
106 bgu,pt %ncc, .byte4loop
110 bz,pt %ncc, .exit
116 bgu,pt %ncc, .byteloop ! loop until done
125 bz,pt %ncc, .dbmed
132 bgu,pt %ncc, .dbalign1 ! loop until done
138 bnz,pn %ncc, .dbbck
[all …]
H A Dmemcmp.s60 be %ncc, .cmpeq
66 bleu,a %ncc, .bytcmp
79 ba %ncc, .bytcmp
87 bne %ncc, .noteq
90 bgeu,a %ncc, 1b
95 bgu %ncc, .dwcmp ! we should already be dbl aligned
138 bgu,pt %ncc, 4b
148 bne %ncc, .dnoteq
151 bgeu,a %ncc, 5b
H A Dmemset.s63 bgeu,pn %ncc, .wrbig
69 bgeu,a,pt %ncc, .wrchar
/titanic_41/usr/src/lib/libc/capabilities/sun4v/common/
H A Dmemset.s78 blu,pn %ncc, .wrchar
86 blu,pn %ncc, .wdalign
94 bz,pt %ncc, .blkalign ! already double aligned
101 bl,pt %ncc, 1b
109 blu,pn %ncc, 5f
113 bz,pt %ncc, .blkwr ! now block aligned
123 bl,pt %ncc, 1b
132 blu,pn %ncc, 3f
174 bgu,pt %ncc, 2b
179 blu %ncc, 5f
[all …]
H A Dmemcpy.s209 bgeu,pn %ncc, .forcpy ! else use backward if ...
212 bleu,pn %ncc, .forcpy ! if size is bigger, do overlapped copy
220 blu,pt %ncc, 2f ! else continue
226 bz,a,pn %ncc, .dbbck ! if dst is not 8 byte aligned: align it
233 bgu,pt %ncc, 1b ! if not done keep copying
236 bz,pn %ncc, 2f ! if size < 8, move to byte copy
241 bz,a,pn %ncc, .dbcopybc ! if src is aligned to fast mem move
259 bg,pt %ncc, 1b ! if size > 0 continue
273 bgu,pt %ncc, 1b ! if size is bigger 0 continue
283 bgeu,a,pt %ncc, 1b ! if size is >= 0 continue
[all …]
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dniagara_copy.s428 bgt,pt %ncc, .kcopy_more !
469 bnz,pn %ncc, 3f
613 bgt,pt %ncc, .bcopy_more !
627 ble,pt %ncc, .bc_smallest
629 bnz,pn %ncc, .bc_align
644 ble,pt %ncc, .bc_medl31
657 bgu,pt %ncc, .bc_medl32 ! repeat if at least 32 bytes left
661 ble,pt %ncc, .bc_medl7 ! skip if 7 or fewer bytes left
668 bgu,pt %ncc, .bc_medl8
672 bnz,pt %ncc, .bc_small4 ! do final bytes if not finished
[all …]
H A Dgeneric_copy.s126 blu %ncc, .bytecp ! just copy bytes
193 bgu %ncc, .more_needed ! need more to fill than we have
207 bz %ncc, .unalign_out
248 bz %ncc, .unalign_out ! check if done
254 bz %ncc, .cpdone
261 bz %ncc, .cpdone ! done?
264 bnz %ncc, 1b ! we have leftover bytes
288 blu,a %ncc, .alwordcp ! longer to align doubles than words
302 bgu %ncc, 5b
305 blu %ncc, .dbytecp ! if 3 or less bytes use bytecp
[all …]
H A Dniagara2_asm.s146 bgu,pt %ncc, 1b
/titanic_41/usr/src/uts/sun4/ml/
H A Dcopy.s74 bg,a %ncc, 1f
80 bz %ncc, .cs_out ! maxlength = 0
97 ba,pt %ncc, .cs_out ! last byte in string
101 bgeu,a %ncc, 0b
108 bz %ncc, 2f
160 ba,pt %ncc, .copyinstr_out ! last byte in string
164 bgeu,a %ncc, 0b
168 ba,pt %ncc, .copyinstr_out
189 bz %ncc, 2f
/titanic_41/usr/src/uts/sun4u/ml/
H A Dmach_copy.s85 bz,pt %ncc, .do_zero
89 ba,pt %ncc, .do_zero
102 ba,pt %ncc, .do_zero
122 bz,pt %ncc, 1f ! skip if not used
133 bne,pn %ncc, 3f
357 bz,pt %ncc, 1f
392 ba,pt %ncc, .bzero_nobuf
433 bgeu,a %ncc, .bzero_blk
437 bleu %ncc, .byteclr ! too small go zero bytes
452 bgeu,a %ncc, 3b
/titanic_41/usr/src/lib/brand/shared/brand/sparc/
H A Dhandler.s160 bl,pt %ncc, args_copied
164 bl,pt %ncc, args_copied
169 bl,pt %ncc, args_copied
175 bl,pt %ncc, args_copied
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c130 ncc++; \
244 static int ncc; variable
1673 if (ncc || bytes) { in encrypt_start()
1678 "ncc=%d bytes = %d\n", ncc, bytes); in encrypt_start()
1679 bytes += ncc; in encrypt_start()
1690 ncc = 0; in encrypt_start()
2422 ncc = read(net, netibuf, netibufsize); in ttloop()
2423 if (ncc < 0) { in ttloop()
2428 } else if (ncc == 0) { in ttloop()
2435 if (ncc > 0) { in ttloop()
[all …]

12