Searched refs:o2 (Results 1 - 25 of 78) sorted by relevance

1234

/osnet-11/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]
H A Dpipe.s45 mov %o0, %o2 /* save ptr to array */
48 st %o0, [%o2]
49 st %o1, [%o2 + 4]
H A D_lwp_mutex_unlock.s35 ld [%o1], %o2
38 cas [%o1], %o2, %o3 ! atomically
39 cmp %o2, %o3
41 mov %o3, %o2
/osnet-11/usr/src/grub/grub2/grub-core/kern/sparc64/ieee1275/
H A Dcrt0.S39 sethi %hi(__bss_start), %o2
40 or %o2, %lo(__bss_start), %o2
46 add %o2, %o4, %o2
58 sub %o2, 4, %o2
60 1: lduw [%o2], %o5
63 sub %o2, 4, %o2
[all...]
/osnet-11/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,
[all...]
H A Dtls_get_addr.s71 ldn [%g7 + UL_TLSENT], %o2
79 ldn [%o1 + %o2], %o2
80 cmp %o2, 0
84 add %o1, %o2, %o0
/osnet-11/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,
[all...]
/osnet-11/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,
[all...]
/osnet-11/usr/src/lib/libc/sparc/gen/
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...]
H A D_stack_grow.s65 ldn [%g7 + UL_USTACK + SS_SIZE], %o2
69 cmp %o2, %o4
71 tst %o2
88 cmp %o2, %o4
H A Dmemset.s57 cmp %o2, 7 ! if small counts, just write bytes
63 andn %o2, 3, %o3 ! create word sized count in %o3
64 dec %o2 ! decrement count
79 and %o2, 3, %o2 ! leftover count, if any
80 .wrchar:deccc %o2 ! byte clearing loop
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,
[all...]
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 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...]
/osnet-11/usr/src/lib/libc/sparcv9/gen/
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...]
H A Dmemset.s66 * o2: number of bytes to be set
79 cmp %o2, 7
86 cmp %o2, 15
96 andn %o2, 7, %o3 ! o3 has 8-byte multiple
98 dec %o2
111 and %o2, 7, %o2 ! leftover count, if any
116 andn %o2, 3, %o3 ! create word sized count in %o3
118 dec %o2 ! decrement count
129 and %o2,
[all...]
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
/osnet-11/usr/src/lib/udapl/udapl_tavor/sparc/
H A Ddapl_tavor_atomic_copy.s44 std %o0, [%o2]
/osnet-11/usr/src/lib/libc/sparcv9/crt/
H A D__align_cpy_4.s36 * o2 number of bytes to copy (must be a multiple of 4)
61 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
[all...]
/osnet-11/usr/src/lib/libc/capabilities/sun4u-opl/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, 64
92 cmp %o2, 4
94 sub %o2, 3, %o2
104 subcc %o2, 4, %o2
109 addcc %o2,
[all...]
/osnet-11/usr/src/lib/libc/capabilities/sun4v-fjathena/common/
H A Dmemcpy.s94 cmp %o2, %o4 ! compare size and difference of addresses
96 add %o1, %o2, %o5 ! get to end of source space
102 cmp %o2, 8 ! less than 8 byte do byte copy
107 add %o0, %o2, %g1 ! get to end of dest space
110 andn %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
111 sub %o2, %o3, %o2 ! update o2 with new count
118 andncc %o2, 7, %o3 ! %o3 count is multiple of 8 bytes size
125 sub %o2,
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/boot/sparc64/ieee1275/
H A Ddiskboot.S48 /* %o2: message string
58 * %o2: input arg 2
76 stx %o2, [%l1 + 0x20]
86 GET_ABS(notification_string, %o2)
101 clr %o2
109 mov %l3, %o2
113 GET_ABS(notification_step, %o2)
127 GET_ABS(notification_done, %o2)
130 sethi %hi(GRUB_BOOT_SPARC64_IEEE1275_IMAGE_ADDRESS), %o2
131 jmpl %o2
[all...]
/osnet-11/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...]

Completed in 100 milliseconds

1234