Searched refs:o2 (Results 26 - 50 of 189) sorted by relevance

12345678

/opensolaris-onvv-gate/usr/src/lib/libc/sparcv9/gen/
H A Dmemchr.s59 tst %o2 ! n == 0 ?
62 add %o0, %o2, %o0 ! s + n
63 sub %g0, %o2, %o2 ! n = -n
67 ldub [%o0 + %o2], %o3 ! s[0]
71 addcc %o2, 1, %o2 ! n++, s++
76 ldub [%o0 + %o2], %o3 ! s[1]
80 addcc %o2, 1, %o2 !
[all...]
H A Dstrcpy.s67 mov %o0, %o2 ! save dst
73 ldub [%o2 + %o3], %o5 ! src[0]
75 stb %o5, [%o2] ! dst[0] = src[0]
77 inc %o2 ! src++, dst++
83 lduh [%o2 + %o3], %o5 ! load src halfword
87 stb %o4, [%o2] ! store first byte
89 stb %o5, [%o2 + 1] ! store second byte
91 add %o2, 2, %o2 ! src += 2
97 lduw [%o2
[all...]
H A Dsync_instruction_memory.s50 add %o0, %o1, %o2
53 cmp %o0, %o2
59 cmp %o0, %o2
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drem.s86 * %o2 -- current quotient
90 * %o3', %o2', %o5', cc'
130 mov 0,%o2
183 mov 1,%o2
186 sll %o2,1,%o2
192 inc %o2
195 dec %o2
217 sll %o2,4,%o2
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu_asm.s145 mov %o2, %g6
150 mov MAP_ITLB | MAP_DTLB, %o2
160 mov %g6, %o2
261 set ktsb_phys, %o2
263 st %o1, [%o2]
294 CPU_TSBMISS_AREA(%o2, %o3) ! %o2 = tsbmiss area
295 stx %o0, [%o2 + TSBMISS_UHATID]
296 stx %g0, [%o2 + TSBMISS_SHARED_UHATID]
299 sethi %hi(hv_use_non0_tsb), %o2
[all...]
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/crt/sparc/
H A Dmisalign.s58 ldub [%o0+3],%o3 ! slow case: load 4 bytes in <o0,o1,o2,o3>
59 ldub [%o0+2],%o2
62 sll %o2,8,%o2
66 or %o2,%o0,%o0
93 ldub [%i0+2],%o2
97 stb %o2,[%fp-2]
131 ldub [%i0+2],%o2
135 stb %o2,[%fp-6]
139 ldub [%i0+6],%o2
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/sparc/gen/
H A Dlshiftl.s53 ld [%o0+0],%o2 ! fetch op.dl_hop
65 sll %o3,%o5,%o2 ! R.h = R.l << (cnt - 32)
72 sll %o2,%o1,%o2 ! R.h = R.h << cnt
74 or %o2,%o5,%o2 ! R.h = R.h | temp
81 srl %o2,%o5,%o3 ! R.l = R.h >> (cnt - 32)
83 or %g0,%g0,%o2 ! R.h = 0
86 sll %o2,%o1,%o5 ! temp = R.h << (31 - cnt)
88 srl %o2,
[all...]
H A Dladd.s56 ld [%o0+0],%o2 ! fetch lop.dl_hop
61 addxcc %o2,%o4,%o2 ! lop.dl_hop + rop.dl_hop + <carry>
63 st %o2,[%o0+0] ! store result, dl_hop
H A Dlsub.s55 ld [%o0+0],%o2 ! fetch lop.dl_hop
60 subxcc %o2,%o4,%o2 ! lop.dl_hop - rop.dl_hop - <carry>
62 st %o2,[%o0] ! store result.dl_hop
/opensolaris-onvv-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/
H A Dmemcpy.s77 cmp %o2, %o4 ! compare size and difference of addresses
86 add %o1, %o2, %o1 ! get to end of source space
87 add %o0, %o2, %o0 ! get to end of destination space
89 cmp %o2, 24
92 cmp %o2, 4
94 sub %o2, 3, %o2
104 subcc %o2, 4, %o2
109 addcc %o2,
[all...]
H A Dmemset.s62 cmp %o2, 12 ! if small counts, just write bytes
67 deccc %o2 ! byte clearing loop
80 add %o2, %o3, %o2 ! update o2 with new count
97 cmp %o2, 4095 ! if large count use Block ld/st
105 and %o2, 24, %o3 ! o3 is {0, 8, 16, 24}
112 andncc %o2, 31, %o4 ! o4 has 32 byte aligned count
124 and %o2, 7, %o2 ! o
[all...]
H A Dmemcmp.s65 cmp %o2, 48
67 mov %o2, %o3 ! o3 <= 48
77 mov 8, %o3 ! o2 > 48; o3 = 8
85 dec %o2
94 cmp %o2, 0 ! is o2 > 0
118 andn %o2, 7, %o4 ! o4 has 8 byte aligned cnt
139 sub %o2, 8, %o2
150 deccc %o2
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemset.s61 cmp %o2, 12 ! if small counts, just write bytes
66 deccc %o2 ! byte clearing loop
79 add %o2, %o3, %o2 ! update o2 with new count
96 cmp %o2, 4095 ! if large count use Block ld/st
104 and %o2, 24, %o3 ! o3 is {0, 8, 16, 24}
111 andncc %o2, 31, %o4 ! o4 has 32 byte aligned count
123 and %o2, 7, %o2 ! o
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/serengeti/ml/
H A Dsbdp.il.cpp79 ldxa [%o0]ASI_MEM, %o2
87 stxa %o2, [%o1]ASI_MEM variable
129 ECACHE_FLUSHALL(%o1, %o2, %o0, %o4)
158 rdpr %pstate, %o2 /* read PSTATE reg */
159 andn %o2, PSTATE_IE | PSTATE_AM, %o3 variable
163 wrpr %g0, %o2, %pstate /* restore the PSTATE */ variable
172 rdpr %pstate, %o2 /* read PSTATE reg */
173 andn %o2, PSTATE_IE | PSTATE_AM, %o3 variable
177 wrpr %g0, %o2, %pstate /* restore pstate */ variable
232 mov %o0, %o2
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/capabilities/sun4u-opl/common/
H A Dmemcpy.s82 cmp %o2, %o4 ! compare size and difference of addresses
91 add %o1, %o2, %o1 ! get to end of source space
92 add %o0, %o2, %o0 ! get to end of destination space
94 cmp %o2, 64
97 cmp %o2, 4
99 sub %o2, 3, %o2
109 subcc %o2, 4, %o2
114 addcc %o2,
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/starfire/ml/
H A Ddrmach.il.cpp76 ldxa [%o0]ASI_MEM, %o2
84 stxa %o2, [%o1]ASI_MEM variable
109 srl %o2, 0, %o2 ! clear upper 32 bits
118 subcc %o1, %o2, %o1
143 rdpr %pstate, %o2 /* read PSTATE reg */
144 andn %o2, PSTATE_IE | PSTATE_AM, %o3 variable
148 wrpr %g0, %o2, %pstate /* restore the PSTATE */ variable
157 rdpr %pstate, %o2 /* read PSTATE reg */
158 andn %o2, PSTATE_I variable
162 wrpr %g0, %o2, %pstate /* restore pstate */ variable
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/sparcv9/fp/
H A D__quad_mag64.s211 ldx [%i1+8],%o2 ! o2 = frac
212 sllx %o2,1,%o7 ! lop off high order bit
213 srlx %o2,63,%l6
214 mov %o1,%o2
224 and %o3,%o2,%o3
227 srlx %o2,%l2,%o4
229 srlx %o2,%l1,%o2
233 or %o2,
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/capabilities/sun4v/common/
H A Dmemset.s77 cmp %o2, 7 ! if small counts, just write bytes
85 cmp %o2, 0x20
96 add %o2, %o3, %o2 ! update o2 with new count
108 cmp %o2, 0x40 ! check if there are 64 bytes to set
110 mov %o2, %o3
115 add %o2, %o3, %o2 ! o2 i
[all...]
H A Dmemcpy.s211 cmp %o2, %o4 ! compare size and difference of addresses
213 add %o1, %o2, %o5 ! get to end of source space
219 cmp %o2, 8 ! less than 8 byte do byte copy
224 add %o0, %o2, %g1 ! get to end of dest space
227 andn %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
228 sub %o2, %o3, %o2 ! update o2 with new count
235 andncc %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
242 sub %o2,
[all...]
/opensolaris-onvv-gate/usr/src/lib/libc/sparc/fp/
H A D__quad.s61 std %f8,[%o2]
63 std %f10,[%o2+8]
72 std %f8,[%o2]
74 std %f10,[%o2+8]
83 std %f8,[%o2]
85 std %f10,[%o2+8]
94 std %f8,[%o2]
96 std %f10,[%o2+8]
115 st %fsr,[%o2]
125 st %fsr,[%o2]
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/cpu/
H A Dcheetah_copy.s754 cmp %o2, VIS_COPY_THRESHOLD ! check for leaf rtn case
767 cmp %o2, %o3 ! if length <= limit
780 cmp %o2, %o3 ! if length <= limit
791 cmp %o2, %o3 ! if length <= limit
801 cmp %o2, %o3 ! if length <= limit
837 ldx [%fp + STACK_BIAS - SAVED_GSR_OFFSET], %o2 ! restore gsr
838 wr %o2, 0, %gsr
845 BLD_FPQ1Q3_FROMSTACK(%o2)
938 cmp %o2, VIS_COPY_THRESHOLD ! check for leaf rtn case
951 cmp %o2,
[all...]
H A Dopl_olympus_copy.s709 cmp %o2, VIS_COPY_THRESHOLD ! check for leaf rtn case
722 cmp %o2, %o3 ! if length <= limit
735 cmp %o2, %o3 ! if length <= limit
746 cmp %o2, %o3 ! if length <= limit
756 cmp %o2, %o3 ! if length <= limit
792 ldx [%fp + STACK_BIAS - SAVED_GSR_OFFSET], %o2 ! restore gsr
793 wr %o2, 0, %gsr
800 BLD_FPQ1Q3_FROMSTACK(%o2)
893 cmp %o2, VIS_COPY_THRESHOLD ! check for leaf rtn case
906 cmp %o2,
[all...]
/opensolaris-onvv-gate/usr/src/uts/sparc/ml/
H A Dip_ocsum.s39 * %o0 address; %o1 count; %o2 sum accumulator; %o4 temp
70 add %o2, %g2, %o2 ! add to accumulator, don't need carry yet
85 addcc %o2, %g2, %o2 ! add to accumulator
86 addxcc %o2, %g3, %o2 ! add to accumulator with carry
88 addxcc %o2, %o4, %o2 ! add to accumulator with carry
89 addxcc %o2,
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/sunfire/ml/
H A Dac_asm.s82 add %fp, STACK_BIAS - 81, %o2
83 and %o2, -64, %o2
84 stda %d0, [%o2]ASI_BLK_P
110 add %fp, STACK_BIAS - 81, %o2
111 and %o2, -64, %o2
112 ldda [%o2]ASI_BLK_P, %d0
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dboot_a.out.s118 srl %o1, 10, %o2 ! Get high part of function address
120 or %o3, %o2, %o3 ! Add sethi and function address
125 and %o1, 0x3ff, %o2 ! Lower part of function address
126 or %o3, %o2, %o3 ! is or'ed into instruction

Completed in 347 milliseconds

12345678