Searched refs:g1 (Results 51 - 75 of 197) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libc/sparc/threads/
H A Dtls_get_addr.s86 mov %o7, %g1
88 mov %g1, %o7
/illumos-gate/usr/src/ucbcmd/sbcp/
H A Dsbcp.s33 mov %o7, %g1; \
38 mov %g1, %o7
66 tst %g1 ! is there a handler to register?
69 mov %g1, %o0
75 ! Aside from a value in %g1, there were no arguments explicitly
99 ld [%g2+trap0], %g1
105 lduh [%o0 + A_MAGIC], %g1
106 cmp %g1, ZMAGIC ! is it a ZMAGIC executable?
118 ! %g1 syscall number
132 tst %g1
[all...]
/illumos-gate/usr/src/uts/common/io/tpm/
H A Dtpm_hcall.s61 mov %o3, %g1
64 stx %o1, [%g1]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vrsqrt.S230 lda [%i1]%asi,%g1 ! (6_1) hx = *(int*)px;
236 sra %g1,21,%o7 ! (6_1) iexp = hx >> 21;
241 sra %g1,10,%o2 ! (6_1) hx >>= 10;
242 and %g1,%i0,%i2
244 cmp %g1,_0x7ff00000 ! (6_1) hx ? 0x7ff00000
248 cmp %g1,_0x00100000 ! (6_1) hx ? 0x00100000
260 lda [%l6]%asi,%g1 ! (0_0) hx = *(int*)px;
270 sra %g1,21,%o7 ! (0_0) iexp = hx >> 21;
274 sra %g1,10,%o2 ! (0_0) hx >>= 10;
278 cmp %g1,_0x7ff0000
[all...]
/illumos-gate/usr/src/lib/libbc/sparc/inc/
H A DSYS.h41 mov SYS_/**/x, %g1; \
47 mov SYS_/**/x, %g1; \
61 mov SYS_/**/y, %g1; \
69 mov SYS_/**/x, %g1; \
/illumos-gate/usr/src/lib/brand/shared/brand/sparc/
H A Drunexe.s63 * We also have to make sure to clear %g1 since nornally ld.so.1 will
68 * copy of ld.so.1 and it will just reset %g1, but if the target
71 * to see if %g1 is set.
73 clr %g1
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drtldlib.s59 ld [%l7 + _rtld], %g1 ! manually fix pic reference to rtld
60 add %g1, %l2, %g1 ! by adding offset to GOT entry
61 jmpl %g1, %o7 ! go there
94 mov SYS_openat, %g1
97 sethi %hi(0x80000000), %g1 ! MAP_NEW
98 or %g1, %o3, %o3
100 mov SYS_mmap, %g1
104 mov SYS_munmap, %g1
108 mov SYS_read, %g1
[all...]
/illumos-gate/usr/src/boot/lib/libstand/sparc64/
H A D_setjmp.S73 mov 1, %g1
74 movrnz %o1, %o1, %g1
93 mov %g1, %o0
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.s88 PANIC_IF_INTR_DISABLED_PSTR(%o5, opl_di_l3, %g1)
122 SFMMU_CPU_CNUM(%o1, %g1, %g2) ! %g1 = sfmmu cnum on this CPU
126 or %g1, %o4, %g1 ! %g1 = primary pgsz | cnum
134 or %g1, %o1, %g1 ! %g1 = nucleus pgsz | primary pgsz | cnum
135 stxa %g1, [
[all...]
H A Dus3_common_asm.s196 PANIC_IF_INTR_DISABLED_PSTR(%o5, u3_di_label0, %g1)
230 SFMMU_CPU_CNUM(%o1, %g1, %g2) ! %g1 = sfmmu cnum on this CPU
234 or %g1, %o4, %g1 ! %g1 = primary pgsz | cnum
242 or %g1, %o1, %g1 ! %g1 = nucleus pgsz | primary pgsz | cnum
243 stxa %g1, [
[all...]
H A Dspitfire_asm.s455 PANIC_IF_INTR_DISABLED_PSTR(%o5, sfdi_label1, %g1)
488 SFMMU_CPU_CNUM(%o1, %g1, %g2) /* %g1 = sfmmu cnum on this CPU */
493 cmp %o2, %g1
496 stxa %g1, [%o4]ASI_DMMU /* wr new ctxum */
524 CPU_INDEX(%g1, %g2)
525 mulx %g1, CPU_NODE_SIZE, %g1
527 add %g1, %g2, %g1
[all...]
/illumos-gate/usr/src/uts/sun4u/ml/
H A Dwbuf.s51 FAULT_WINTRACE(%g1, %g2, %g3, TT_F32_SN0)
65 CPU_ADDR(%g4, %g1)
66 ldn [%g4 + CPU_MPCB], %g1
67 stn %sp, [%g1 + MPCB_SPBUF]
68 ldn [%g1 + MPCB_WBUF], %g2
71 st %g2, [%g1 + MPCB_WBCNT]
76 set sfmmu_tsbmiss_exception, %g1
82 set trap, %g1
122 FAULT_WINTRACE(%g5, %g6, %g1, TT_F32_SO0)
132 ldn [%g5 + CPU_MPCB], %g1
[all...]
H A Dmach_locore.s234 sethi %hi(_local_p1275cis), %g1
235 stn %o4, [%g1 + %lo(_local_p1275cis)]
253 rdpr %ver, %g1
254 and %g1, VER_MAXWIN, %g1
260 st %g1, [%g2 + %lo(nwin_minus_one)]
261 inc %g1
263 st %g1, [%g2 + %lo(nwindows)]
264 dec %g1
266 sll %g2, %g1,
[all...]
H A Dmach_xc.s71 rdpr %tnpc, %g1
72 wrpr %g1, %tpc ! PC <- TNPC[TL]
73 add %g1, 4, %g1
74 wrpr %g1, %tnpc ! nPC <- TNPC[TL] + 4
99 mov %o1, %g1
118 rdpr %pstate, %g1
119 andn %g1, PSTATE_IE | PSTATE_AM, %g2
136 stxa %g1, [%g3 + TRAP_ENT_TSTATE]%asi /* tstate = pstate */
186 wrpr %g0, %g1,
[all...]
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dmemcmp.s155 ldub [%o1], %g1 ! read a byte to align for word reads
158 sll %g1, 24, %o5
161 2: ld [%o0 + %o1], %g1
164 srl %g1, 8, %g2 ! merge with the other half
170 sll %g1, 24, %o5
178 lduh [%o1], %g1 ! read 3 bytes to word align
180 sll %g1, 8, %g2
184 3: ld [%o0 + %o1], %g1
187 srl %g1, 24, %g2 ! merge with the other half
193 sll %g1,
[all...]
H A Dascii_strcasecmp.s135 ldub [%i1], %g1 ! s2[0]
137 sub %g1, 'A', %l1 ! transform for faster uppercase check
144 add %g1, ('a' - 'A'), %g1 ! s2[0] = tolower(s2[0])
146 subcc %i0, %g1, %i0 ! tolower(s1[0]) != tolower(s2[0]) ?
149 addcc %i0, %g1, %i0 ! s1[0] == 0 ?
156 ldub [%i1], %g1 ! s2[1]
158 sub %g1, 'A', %l1 ! transform for faster uppercase check
165 add %g1, ('a' - 'A'), %g1 ! s
[all...]
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dmemcmp.s152 ldub [%o1], %g1 ! read a byte to align for word reads
155 sll %g1, 24, %o5
158 2: lduw [%o0 + %o1], %g1
161 srl %g1, 8, %g5 ! merge with the other half
167 sll %g1, 24, %o5
175 lduh [%o1], %g1 ! read 3 bytes to word align
177 sll %g1, 8, %g5
181 3: lduw [%o0 + %o1], %g1
184 srl %g1, 24, %g5 ! merge with the other half
190 sll %g1,
[all...]
H A Dascii_strcasecmp.s135 ldub [%i1], %g1 ! s2[0]
137 sub %g1, 'A', %l1 ! transform for faster uppercase check
144 add %g1, ('a' - 'A'), %g1 ! s2[0] = tolower(s2[0])
146 subcc %i0, %g1, %i0 ! tolower(s1[0]) != tolower(s2[0]) ?
149 addcc %i0, %g1, %i0 ! s1[0] == 0 ?
156 ldub [%i1], %g1 ! s2[1]
158 sub %g1, 'A', %l1 ! transform for faster uppercase check
165 add %g1, ('a' - 'A'), %g1 ! s
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/
H A Dbrk.s40 mov SYS_brk, %g1
45 ld [%o5 + .curbrk], %g1
46 st %o2, [%g1]
48 sethi %hi(.curbrk), %g1 ! save new break
49 st %o2, [%g1 + %lo(.curbrk)]
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dmach_proc_init.s84 set trap_table, %g1
85 wrpr %g1, %tba
88 mov SCRATCHPAD_CPUID, %g1
89 stxa %o0, [%g1]ASI_SCRATCHPAD
92 setx LPAD_MAGIC_VAL, %g2, %g1
94 cmp %g1, %g2
108 mulx %l2, LPAD_MAP_SIZE, %g1
109 add %l3, %g1, %g1 ! %g1
[all...]
H A Dmach_locore.s242 sethi %hi(_local_p1275cis), %g1
243 stn %o4, [%g1 + %lo(_local_p1275cis)]
261 rdpr %cwp, %g1 ! %g1 = nwin - 1
268 st %g1, [%g2 + %lo(nwin_minus_one)]
269 inc %g1
271 st %g1, [%g2 + %lo(nwindows)]
272 dec %g1
274 sll %g2, %g1, %g2
281 rdpr %tba, %g1
[all...]
H A Dwbuf.s52 FAULT_WINTRACE(%g1, %g2, %g3, TT_F32_SN0)
66 CPU_ADDR(%g4, %g1)
67 ldn [%g4 + CPU_MPCB], %g1
68 stn %sp, [%g1 + MPCB_SPBUF]
69 ldn [%g1 + MPCB_WBUF], %g2
72 st %g2, [%g1 + MPCB_WBCNT]
77 set sfmmu_tsbmiss_exception, %g1
83 set trap, %g1
124 FAULT_WINTRACE(%g5, %g6, %g1, TT_F32_SO0)
134 ldn [%g5 + CPU_MPCB], %g1
[all...]
/illumos-gate/usr/src/uts/sparc/v9/ml/
H A Dddi_v9_asm.s573 ldn [%o0 + AHI_GET8], %g1 /* hdl->ahi_get8 access hndl */
574 jmpl %g1, %g0 /* jump to access handle routine */
596 ldn [%o0 + AHI_GET16], %g1 /* hdl->ahi_get16 access hndl */
597 jmpl %g1, %g0 /* jump to access handle routine */
621 ldn [%o0 + AHI_GET32], %g1 /* hdl->ahi_get32 access handle */
622 jmpl %g1, %g0 /* jump to access handle routine */
646 ldn [%o0 + AHI_GET64], %g1 /* hdl->ahi_get64 access handle */
647 jmpl %g1, %g0 /* jump to access handle routine */
671 ldn [%o0 + AHI_PUT8], %g1 /* hdl->ahi_put8 access handle */
672 jmpl %g1,
[all...]
/illumos-gate/usr/src/common/bignum/sun4u/
H A Dmont_mulf_v8plus.s181 /* 0x0048 */ ldx [%sp+112],%g1
207 /* 0x0074 80 */ and %g1,%o1,%o0
220 /* 0x00a8 81 */ srax %g1,16,%o0
227 /* 0x00c4 79 */ ldx [%sp+96],%g1
241 /* 0x00f8 80 */ and %g1,%o1,%g3
245 /* 0x0108 81 */ srax %g1,16,%g1
252 /* 0x0124 */ add %g1,%g4,%g4
253 /* 0x0128 79 */ ldx [%sp+96],%g1
266 /* 0x0150 80 */ and %g1,
[all...]
/illumos-gate/usr/src/common/crypto/des/sun4u/
H A Ddes_crypt_asm.s2271 sethi %hi(des_enc_const), %g1
2274 or %g1, %lo(des_enc_const),%g1
2279 sethi %lm(des_enc_const),%g1
2282 or %g1,%lo(des_enc_const),%g1
2289 ldx [%o1 + %g1], %i5
2291 or %o1,%g1,%i5 ! &des_enc_const
2300 and %i1, %g3, %g1
2302 sllx %g1,
[all...]

Completed in 118 milliseconds

12345678