Home
last modified time | relevance | path

Searched refs:g1 (Results 1 – 25 of 69) sorted by relevance

123

/linux-2.4.37.9/arch/sparc/lib/
Dmuldi3.S28 andcc %g0, 0, %g1
29 mulscc %g1, %i3, %g1
30 mulscc %g1, %i3, %g1
31 mulscc %g1, %i3, %g1
32 mulscc %g1, %i3, %g1
33 mulscc %g1, %i3, %g1
34 mulscc %g1, %i3, %g1
35 mulscc %g1, %i3, %g1
36 mulscc %g1, %i3, %g1
37 mulscc %g1, %i3, %g1
[all …]
Dudivdi3.S33 mov 32,%g1
39 subcc %g1,1,%g1
49 subcc %g1,1,%g1
70 mov 32,%g1
76 subcc %g1,1,%g1
86 subcc %g1,1,%g1
96 mov 32,%g1
102 subcc %g1,1,%g1
112 subcc %g1,1,%g1
175 mov 32,%g1
[all …]
Ddivdi3.S71 mov 32,%g1
77 subcc %g1,1,%g1
87 subcc %g1,1,%g1
106 mov 32,%g1
112 subcc %g1,1,%g1
122 subcc %g1,1,%g1
130 mov 32,%g1
136 subcc %g1,1,%g1
146 subcc %g1,1,%g1
205 mov 32,%g1
[all …]
Drwsem.S26 1: ldstub [%g1 + 4], %g7
29 ld [%g1], %g7
31 st %g7, [%g1]
32 stb %g0, [%g1 + 4]
34 ld [%g1], %g7
36 st %g7, [%g1]
48 mov %g1, %l1
54 mov %l1, %g1
60 mov %l1, %g1
77 1: ldstub [%g1 + 4], %g7
[all …]
Dlocks.S26 ldstub [%g1 + 3], %g2
28 ldub [%g1 + 3], %g2
32 ldstub [%g1 + 3], %g2
34 ldub [%g1 + 3], %g2
38 ldstub [%g1 + 3], %g2
40 ld [%g1], %g2
46 ldub [%g1 + 3], %g2
47 ld [%g1], %g2
49 st %g2, [%g1]
57 ldub [%g1 + 3], %g2
[all …]
Dmemcpy.S251 mov %o2, %g1
254 sub %g1, 4, %g1
259 andcc %g1, 0xffffff80, %g7
274 andcc %g1, 0x70, %g7
276 andcc %g1, 8, %g0
298 andcc %g1, 4, %g0
309 andcc %g1, 2, %g0
317 andcc %g1, 1, %g0
343 andcc %g1, 0x70, %g7
345 andcc %g1, 8, %g0
[all …]
Datomic.S28 ld [%g1], %g7
30 st %g2, [%g1]
40 swap [%g1], %g2
56 1: ldstub [%g1 + 3], %g7 ! Spin on the byte lock for SMP.
59 ld [%g1], %g7 ! Load locked atomic_t
63 st %g7, [%g1] ! Clever: This releases the lock as well.
65 ld [%g1], %g7 ! Load locked atomic_t
67 st %g2, [%g1] ! Store it back
82 1: ldstub [%g1 + 3], %g7 ! Spin on the byte lock for SMP.
85 ld [%g1], %g7 ! Load locked atomic_t
[all …]
Dchecksum.S114 andcc %o1, 0x70, %g1 ! clears carry flag too
123 andcc %o1, 0x70, %g1 ! clears carry flag too
126 srl %g1, 1, %o4 ! compute offset
127 sub %g7, %g1, %g7 ! adjust jmp ptr
130 add %o0, %g1, %o0 ! advance buf ptr
293 cmp %g1, 6
295 andcc %g1, 0xf, %o3
301 EX(lduh [%o0 + 0x00], %g4, add %g1, 0)
302 sub %g1, 2, %g1
316 andcc %g1, 0xffffff80, %g0
[all …]
Dcopy_user.S164 mov %o2, %g1
167 sub %g1, 4, %g1
172 andcc %g1, 0xffffff80, %g7
189 andcc %g1, 0x70, %g7
191 andcc %g1, 8, %g0
212 andcc %g1, 4, %g0
214 EX(ldd [%o1], %g2, and %g1, 0xf)
217 EX(st %g2, [%o0 - 0x08], and %g1, 0xf)
218 EX2(st %g3, [%o0 - 0x04], and %g1, 0xf, %g1, sub %g1, 4)
221 andcc %g1, 2, %g0
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dhead.S91 BRANCH_IF_CHEETAH_BASE(g1,g5,cheetah_boot)
92 BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(g1,g5,cheetah_plus_boot)
102 mov DCR_BPE | DCR_RPE | DCR_SI | DCR_IFPOE | DCR_MS, %g1
103 wr %g1, %asr18
153 1: ldxa [%l0] ASI_ITLB_TAG_READ, %g1
155 andn %g1, %l2, %g1
156 cmp %g1, %g2
159 and %l0, (127 << 3), %g1
160 cmp %g1, (127 << 3)
169 1: ldxa [%l0] ASI_ITLB_TAG_READ, %g1
[all …]
Dsys32.S19 sethi %hi(sys_mmap), %g1
20 jmpl %g1 + %lo(sys_mmap), %g0
28 sethi %hi(sys_lseek), %g1
29 jmpl %g1 + %lo(sys_lseek), %g0
33 sethi %hi(sys_chmod), %g1
35 jmpl %g1 + %lo(sys_chmod), %g0
39 sethi %hi(sys_mknod), %g1
41 jmpl %g1 + %lo(sys_mknod), %g0
47 sethi %hi(sys_sendto), %g1
48 jmpl %g1 + %lo(sys_sendto), %g0
[all …]
Dwinfixup.S32 rdpr %tstate, %g1
33 andcc %g1, TSTATE_PRIV, %g0
36 and %g1, TSTATE_CWP, %g1
59 wrpr %g1, %cwp ! Get into the right window.
65 mov PRIMARY_CONTEXT, %g1 ! Change contexts...
66 stxa %g0, [%g1] ASI_DMMU ! Back into the nucleus.
97 ldub [%g6 + AOFF_task_thread + AOFF_thread_flags], %g1
98 andcc %g1, SPARC_FLAG_32BIT, %g0
99 ldub [%g6 + AOFF_task_thread + AOFF_thread_w_saved], %g1
101 sll %g1, 3, %g3
[all …]
Ddtlb_backend.S41 ldxa [%g1 + %g1] ASI_DMMU, %g4 ! Get TAG_ACCESS
52 mov TSB_REG, %g1 ! Grab TSB reg
53 ldxa [%g1] ASI_DMMU, %g5 ! Doing PGD caching?
54 srlx %g6, (TLB_PMD_SHIFT - 1), %g1 ! Position PMD offset
56 and %g1, TLB_PMD_MASK, %g1 ! Mask PMD offset bits
58 add %g1, %g1, %g1 ! Position PMD offset some more
68 lduwa [%g5 + %g1] ASI_PHYS_USE_EC, %g5! Load PMD
73 FILL_VALID_SZ_BITS1(%g1) ! Put _PAGE_VALID into %g1
74 FILL_VALID_SZ_BITS2(%g1) ! Put _PAGE_VALID into %g1
76 or %g5, %g1, %g5 ! ...
[all …]
Dentry.S61 add %g1, %g1, %g1 ! Finish PMD offset adjustment
64 mov TLB_SFSR, %g1 ! Restore %g1 value
65 stxa %g4, [%g1 + %g1] ASI_DMMU ! Restore previous TAG_ACCESS
78 mov TLB_SFSR, %g1 ! Restore %g1 value
79 stxa %g4, [%g1 + %g1] ASI_IMMU ! Restore previous TAG_ACCESS
199 add %g6, AOFF_task_fpregs + 0x80, %g1
208 ldda [%g1] ASI_BLK_S, %f32 ! grrr, where is ASI_BLK_NUCLEUS 8-(
228 add %g6, AOFF_task_fpregs, %g1
234 ldda [%g1] ASI_BLK_S, %f0 ! grrr, where is ASI_BLK_NUCLEUS 8-(
251 add %g6, AOFF_task_fpregs, %g1
[all …]
Dtrampoline.S36 BRANCH_IF_CHEETAH_BASE(g1,g5,cheetah_startup)
37 BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(g1,g5,cheetah_plus_startup)
48 mov DCR_BPE | DCR_RPE | DCR_SI | DCR_IFPOE | DCR_MS, %g1
49 wr %g1, %asr18
82 mov (LSU_CONTROL_IC | LSU_CONTROL_DC | LSU_CONTROL_IM | LSU_CONTROL_DM), %g1
83 stxa %g1, [%g0] ASI_LSU_CONTROL
99 1: ldstub [%g2 + %lo(prom_entry_lock)], %g1
100 brnz,pn %g1, 1b
130 BRANCH_IF_ANY_CHEETAH(g1,g5,1f)
164 sethi %hi(0x400000), %g1
[all …]
/linux-2.4.37.9/include/asm-sparc64/
Dttable.h104 mov num, %g1; \
108 ldx [%g6 + AOFF_task_thread + AOFF_thread_utraps], %g1; \
110 brz,pn %g1, utrap; \
113 109: ldx [%g1 + handler*8], %g1; \
212 add %sp, STACK_BIAS + 0x00, %g1; \
213 stxa %l0, [%g1 + %g0] ASI; \
215 stxa %l1, [%g1 + %g3] ASI; \
216 add %g1, 0x10, %g1; \
217 stxa %l2, [%g1 + %g0] ASI; \
218 stxa %l3, [%g1 + %g3] ASI; \
[all …]
/linux-2.4.37.9/arch/sparc64/lib/
DVISsave.S22 ldub [%g6 + AOFF_task_thread + AOFF_thread_fpdepth], %g1
23 brnz,a,pn %g1, 1f
24 cmp %g1, 1
31 srl %g1, 1, %g1
37 clr %g1
41 2: add %g6, %g1, %g3
44 sll %g1, 3, %g1
47 add %g6, %g1, %g3
50 add %g6, %g1, %g2
52 sll %g1, 5, %g1
[all …]
Dbitops.S32 srlx %o0, 6, %g1
34 sllx %g1, 3, %g3
39 or %g7, %g5, %g1
40 casx [%o1], %g7, %g1
41 cmp %g7, %g1
54 srlx %o0, 6, %g1
56 sllx %g1, 3, %g3
61 andn %g7, %g5, %g1
62 casx [%o1], %g7, %g1
63 cmp %g7, %g1
[all …]
DU3patch.S9 sethi %hi(NEW), %g1; \
10 or %g1, %lo(NEW), %g1; \
13 sub %g1, %g2, %g1; \
15 srl %g1, 2, %g1; \
17 or %g3, %g1, %g3; \
DU3memcpy.S14 clr %g1; clr %g2; clr %g3; subcc %g0, %g0, %g0;
112 andcc %g2, 0x7, %g1
116 1: subcc %g1, 0x1, %g1
125 and %o1, 0x7, %g1
223 cmp %g1, 0
246 cmp %g1, 0
273 add %o1, %g1, %o1
278 andcc %g1, 0x7, %g0
318 EX_LD(LOAD(ldx, %o1 + 0x08, %g1))
321 EX_ST(STORE(stx, %g1, %o1 + %o3))
[all …]
/linux-2.4.37.9/arch/sparc/kernel/
Drtrap.S30 rtrap_7win_patch3: srl %g1, 7, %g2
32 rtrap_7win_patch5: and %g1, 0x7f, %g1
148 LOAD_PT_YREG(sp, g1)
175 mov 2, %g1
176 sll %g1, %t_psr, %g1
177 rtrap_patch3: srl %g1, 8, %g2
178 or %g1, %g2, %g1
180 andcc %g2, %g1, %g0
182 sll %g2, 0x1, %g1
186 or %g1, %g2, %g1
[all …]
Dtrampoline.S47 set (PSR_PIL | PSR_S | PSR_PS), %g1
48 wr %g1, 0x0, %psr ! traps off though
52 mov 2, %g1
53 wr %g1, 0x0, %wim
71 rd %psr, %g1
72 wr %g1, PSR_ET, %psr ! traps on
102 mov %g1, %o7
107 mov %g1, %o7
117 set (PSR_PIL | PSR_S | PSR_PS), %g1
118 wr %g1, 0x0, %psr ! traps off though
[all …]
/linux-2.4.37.9/arch/sparc/mm/
Dviking.S41 srl %g3, 12, %g1 ! ppage >> 12
58 cmp %g3, %g1 ! ptag == ppage?
117 ld [%o0 + AOFF_mm_context], %g1
118 cmp %g1, -1
130 mov 0x400, %g1
132 sta %g0, [%g1] ASI_M_FLUSH_PROBE
135 mov SRMMU_CTX_REG, %g1
137 lda [%g1] ASI_M_MMUREGS, %g5
143 sta %o1, [%g1] ASI_M_MMUREGS
146 sta %g5, [%g1] ASI_M_MMUREGS
[all …]
Dhypersparc.S29 sethi %hi(vac_line_size), %g1
30 ld [%g1 + %lo(vac_line_size)], %g2
41 ld [%o0 + AOFF_mm_context], %g1
42 cmp %g1, -1
47 sethi %hi(vac_line_size), %g1
48 ld [%g1 + %lo(vac_line_size)], %o1
51 add %o1, %o1, %g1
52 add %o1, %g1, %g2
64 sta %g0, [%o0 + %g1] ASI_M_FLUSH_USER
78 ld [%o0 + AOFF_mm_context], %g1
[all …]
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dgeo_op.c182 geo_cmp(geoid_t g0, geoid_t g1) in geo_cmp() argument
187 rv = MODULE_CMP(geo_module(g0), geo_module(g1)); in geo_cmp()
191 rv = geo_slab(g0) - geo_slab(g1); in geo_cmp()
196 rv = geo_type(g0) - geo_type(g1); in geo_cmp()
202 rv = g0.cpu.slice - g1.cpu.slice; in geo_cmp()
206 rv = g0.pcicard.bus - g1.pcicard.bus; in geo_cmp()
209 SLOTNUM_GETSLOT(g1.pcicard.slot); in geo_cmp()
213 rv = g0.mem.membus - g1.mem.membus; in geo_cmp()
215 rv = g0.mem.memslot - g1.mem.memslot; in geo_cmp()

123