Home
last modified time | relevance | path

Searched refs:o2 (Results 1 – 25 of 214) sorted by relevance

123456789

/titanic_50/usr/src/lib/libc/sparc/crt/
H A Dhwmuldiv.s38 sra %o0, 31, %o2
40 cmp %o1, %o2 ! return with Z set if %y == (%o0 >> 31)
51 sra %o0, 31, %o2
52 wr %g0, %o2, %y
77 sdivcc %o0, %o1, %o2
79 xnor %o2, %g0, %o2 ! Corbett Correction Factor
80 1: smul %o2, %o1, %o2
82 sub %o0, %o2, %o0
90 udiv %o0, %o1, %o2
91 umul %o2, %o1, %o2
[all …]
/titanic_50/usr/src/uts/sun4u/opl/ml/
H A Ddrmach_asm.s105 stb %o3, [%o2]
135 stb %o3, [%o2]
189 add %o0, SAVE_LOCAL, %o2
190 stx %l0, [%o2+8*0]
191 stx %l1, [%o2+8*1]
192 stx %l2, [%o2+8*2]
193 stx %l3, [%o2+8*3]
194 stx %l4, [%o2+8*4]
195 stx %l5, [%o2+8*5]
196 stx %l6, [%o2+8*6]
[all …]
/titanic_50/usr/src/common/atomic/sparc/
H A Datomic.s99 ld [%o0], %o2 ! read old value
101 add %o2, %o1, %o5 ! add value to the old value
103 andn %o2, %o3, %o4 ! clear target bits
105 cas [%o0], %o2, %o5
106 cmp %o2, %o5
108 mov %o5, %o2 ! %o2 = old value
109 add %o2, %o1, %o5
173 ld [%o0], %o2 ! read old value
175 add %o1, %o2, %o5 ! add value to the old value
177 andn %o2, %o3, %o4 ! clear target bits
[all …]
/titanic_50/usr/src/common/atomic/sparcv9/
H A Datomic.s220 ld [%o0], %o2 ! read old value
222 add %o2, %o1, %o5 ! add value to the old value
224 andn %o2, %o3, %o4 ! clear target bits
226 cas [%o0], %o2, %o5
227 cmp %o2, %o5
229 mov %o5, %o2 ! %o2 = old value
230 add %o2, %o1, %o5
294 ld [%o0], %o2 ! read old value
296 add %o1, %o2, %o5 ! add value to the old value
298 andn %o2, %o3, %o4 ! clear target bits
[all …]
/titanic_50/usr/src/common/crypto/arcfour/sun4u/
H A Darcfour_crypt_asm.s82 add %g2, %o3, %o2
84 add %o2, %g3, %g2
85 and %o2, 255, %o2
88 ldub [%i5 + %o2], %o4
90 stb %o3, [%i5+%o2]
91 subcc %o2, %g1, %g0
118 add %g2, %o3, %o2
121 add %o2, %g3, %g2
122 and %o2, 255, %o2
125 ldub [%i5 + %o2], %o4
[all …]
/titanic_50/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
300 ld [%o2 + %lo(hv_use_non0_tsb)], %o2
[all …]
/titanic_50/usr/src/lib/libc/sparcv9/threads/
H A Dsparcv9.il56 cas [%o0], %o1, %o2
57 mov %o2, %o0
61 ld [%o0], %o2
64 cas [%o0], %o2, %o3
65 cmp %o2, %o3
67 mov %o3, %o2
72 ld [%o0], %o2
74 add %o2, 1, %o3
75 cas [%o0], %o2, %o3
76 cmp %o2, %o3
[all …]
/titanic_50/usr/src/uts/sun4v/cpu/
H A Dniagara2_asm.s121 set TSBTAG_INVALID, %o2
122 sllx %o2, 32, %o2 ! INV bit in upper 32 bits of the tag
124 stxa %o2, [%o0+0x0]%asi
125 stxa %o2, [%o0+0x40]%asi
126 stxa %o2, [%o0+0x80]%asi
127 stxa %o2, [%o0+0xc0]%asi
129 stxa %o2, [%o0+0x10]%asi
130 stxa %o2, [%o0+0x20]%asi
131 stxa %o2, [%o0+0x30]%asi
133 stxa %o2, [%o0+0x50]%asi
[all …]
H A Dniagara_asm.s111 set TSBTAG_INVALID, %o2
112 sllx %o2, 32, %o2 ! INV bit in upper 32 bits of the tag
114 stxa %o2, [%o0+0x0]%asi
115 stxa %o2, [%o0+0x40]%asi
116 stxa %o2, [%o0+0x80]%asi
117 stxa %o2, [%o0+0xc0]%asi
119 stxa %o2, [%o0+0x10]%asi
120 stxa %o2, [%o0+0x20]%asi
121 stxa %o2, [%o0+0x30]%asi
123 stxa %o2, [%o0+0x50]%asi
[all …]
/titanic_50/usr/src/lib/libc/sparcv9/gen/
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 + %o3], %o5 ! load src word
101 stb %o4, [%o2] ! store first byte
[all …]
H A Dstrlen.s65 mov %o0, %o2
69 lduh [%o2], %o1
71 ldub [%o2], %o1
77 inc 1, %o2
79 lduh [%o2], %o1
88 inc 1, %o2
90 inc 1, %o2
93 ld [%o2], %o1
105 ld [%o2+4], %o1
106 inc 4, %o2
[all …]
/titanic_50/usr/src/lib/libc/sparc/threads/
H A Dsparc.il59 .word 0xd5e21009 ! cas [%o0], %o1, %o2
60 mov %o2, %o0
64 ld [%o0], %o2
67 .word 0xd7e2100a ! cas [%o0], %o2, %o3
68 cmp %o2, %o3
70 mov %o3, %o2
75 ld [%o0], %o2
77 add %o2, 1, %o3
78 .word 0xd7e2100a ! cas [%o0], %o2, %o3
79 cmp %o2, %o3
[all …]
/titanic_50/usr/src/cmd/sgs/rtld.4.x/
H A Ddiv.s184 mov 1,%o2
187 sll %o2,1,%o2
193 inc %o2
196 dec %o2
218 sll %o2,4,%o2
240 add %o2, (7*2+1), %o2
245 add %o2, (7*2-1), %o2
258 add %o2, (5*2+1), %o2
263 add %o2, (5*2-1), %o2
284 add %o2, (3*2+1), %o2
[all …]
H A Drem.s183 mov 1,%o2
186 sll %o2,1,%o2
192 inc %o2
195 dec %o2
217 sll %o2,4,%o2
239 add %o2, (7*2+1), %o2
244 add %o2, (7*2-1), %o2
257 add %o2, (5*2+1), %o2
262 add %o2, (5*2-1), %o2
283 add %o2, (3*2+1), %o2
[all …]
/titanic_50/usr/src/lib/libm/sparc/src/
H A Dlocallibm.il131 ld [%o2+4],%f1 ! f1 = b->imag
134 ld [%o2],%f3 ! f3 = b->real
152 ld [%o2+4],%o3
156 ld [%o2],%f6 ! f6 gets reb
160 ld [%o2],%f1
173 ld [%o2+4],%f10 ! f10 gets imb
200 sra %o0,31,%o2
201 cmp %o1,%o2
246 sdiv %o0,%o1,%o2 ! o2 contains quotient a/b
248 smul %o2,%o1,%o4 ! o4 contains q*b
[all …]
/titanic_50/usr/src/lib/libc/sparc/gen/
H A Dstrcpy.s68 mov %o0, %o2 ! save dst
72 ldub [%o2 + %o3], %o1 ! src[0]
74 stb %o1, [%o2] ! store first byte
78 inc %o2 ! src++, dst++
81 lduh [%o2 + %o3], %o1 ! src[]
85 stb %o4, [%o2] ! store first byte
88 stb %o1, [%o2 + 1] ! store second byte
89 add %o2, 2, %o2 ! src += 2, dst += 2
95 andcc %o2, 3, %o1 ! destination word aligned?
100 lduw [%o2 + %o3], %o1 ! src word
[all …]
H A Dstrlen.s65 mov %o0, %o2
69 lduh [%o2], %o1
71 ldub [%o2], %o1
77 inc 1, %o2
79 lduh [%o2], %o1
88 inc 1, %o2
90 inc 1, %o2
93 ld [%o2], %o1
105 ld [%o2+4], %o1
106 inc 4, %o2
[all …]
/titanic_50/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, 3, %o2
120 deccc %o2 ! decrement count
133 sub %o2, %o5, %o2 ! update count
[all …]
/titanic_50/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, 3, %o2
115 deccc %o2 ! decrement count
126 sub %o2, %o5, %o2 ! update count
[all …]
/titanic_50/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
143 stb %o2,[%fp-2]
[all …]
/titanic_50/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_4.s61 brz,pn %o2, .done ! Skip out if no bytes to copy.
73 subcc %o2, 4, %o2 ! then both will be aligned.
85 cmp %o2, 16
87 cmp %o2, 8
89 sub %o2, 12, %o2
93 subcc %o2, 16, %o2
100 addcc %o2, 12, %o2
102 cmp %o2, 8
114 subcc %o2, 8, %o2
134 add %o1, %o2, %g5 ! Ending address of source.
[all …]
/titanic_50/usr/src/uts/sun4u/starfire/ml/
H A Ddrmach.il.cpp76 ldxa [%o0]ASI_MEM, %o2
84 stxa %o2, [%o1]ASI_MEM
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
148 wrpr %g0, %o2, %pstate /* restore the PSTATE */
157 rdpr %pstate, %o2 /* read PSTATE reg */
158 andn %o2, PSTATE_IE | PSTATE_AM, %o3
162 wrpr %g0, %o2, %pstate /* restore pstate */
[all …]
/titanic_50/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,%o5,%o2
237 add %o2,%o3,%o2 ! add, propagating carry
238 cmp %o2,%o3
[all …]
/titanic_50/usr/src/lib/libc/capabilities/sun4v/common/
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, %o3, %o2 ! Residue bytes in %o2
245 sub %o2, 8, %o2 ! set size one loop ahead
258 subcc %o2, 8, %o2 ! subtract 8 byte from size
[all …]
/titanic_50/usr/src/lib/libc/sparc/sys/
H A Dgettimeofday.s66 sethi %hi(0x10624DD3), %o2
67 or %o2, %lo(0x10624DD3), %o2
68 mulx %o1, %o2, %o2
69 srlx %o2, 38, %o2
70 stn %o2, [%o5 + CLONGSIZE]

123456789