Home
last modified time | relevance | path

Searched refs:g2 (Results 1 – 91 of 91) sorted by relevance

/linux-4.4.14/arch/sparc/kernel/
Dsun4v_ivec.S17 mov INTRQ_CPU_MONDO_HEAD, %g2
18 ldxa [%g2] ASI_QUEUE, %g2
21 cmp %g2, %g4
40 ldxa [%g7 + %g2] ASI_PHYS_USE_EC, %g3
41 add %g2, 0x8, %g2
43 ldxa [%g7 + %g2] ASI_PHYS_USE_EC, %g1
44 add %g2, 0x8, %g2
46 ldxa [%g7 + %g2] ASI_PHYS_USE_EC, %g7
47 add %g2, 0x40 - 0x8 - 0x8, %g2
51 and %g2, %g4, %g2
[all …]
Dtrampoline_64.S100 sethi %hi(0x80000000), %g2
101 sllx %g2, 32, %g2
102 wr %g2, 0, %tick_cmpr
107 sethi %hi(prom_entry_lock), %g2
108 1: ldstub [%g2 + %lo(prom_entry_lock)], %g1
143 sethi %hi(call_method), %g2
144 or %g2, %lo(call_method), %g2
145 stx %g2, [%sp + 2047 + 128 + 0x00]
146 mov 5, %g2
147 stx %g2, [%sp + 2047 + 128 + 0x08]
[all …]
Dcherrs.S12 sethi %hi(cheetah_fast_ecc), %g2
13 jmpl %g2 + %lo(cheetah_fast_ecc), %g0
25 sethi %hi(cheetah_fast_ecc), %g2
26 jmpl %g2 + %lo(cheetah_fast_ecc), %g0
38 sethi %hi(cheetah_cee), %g2
39 jmpl %g2 + %lo(cheetah_cee), %g0
51 sethi %hi(cheetah_cee), %g2
52 jmpl %g2 + %lo(cheetah_cee), %g0
64 sethi %hi(cheetah_deferred_trap), %g2
65 jmpl %g2 + %lo(cheetah_deferred_trap), %g0
[all …]
Duna_asm_64.S18 srlx %g3, 24, %g2
28 8: stba %g2, [%o0 + 4] %asi
35 12: stba %g2, [%o0] %asi
36 srl %g3, 8, %g2
38 14: stba %g2, [%o0 + 2] %asi
41 2: srl %g3, 8, %g2
42 16: stba %g2, [%o0] %asi
75 4: lduba [%o2] %asi, %g2
77 sll %g2, 8, %g2
79 add %g2, %g3, %g2
[all …]
Duna_asm_32.S31 srl %g1, 24, %g2
33 4: stb %g2, [%o0]
34 srl %g1, 8, %g2
37 6: stb %g2, [%o0 + 2]
38 srl %g7, 24, %g2
41 8: stb %g2, [%o0 + 4]
42 srl %g7, 8, %g2
44 10: stb %g2, [%o0 + 6]
48 12: stb %g2, [%o0]
49 srl %g1, 8, %g2
[all …]
Detrap_64.S31 etrap: rdpr %pil, %g2
36 sllx %g2, 20, %g3
40 sub %sp, STACKFRAME_SZ+TRACEREG_SZ-STACK_BIAS, %g2
43 sethi %hi(TASK_REGOFF), %g2
45 or %g2, %lo(TASK_REGOFF), %g2
48 add %g6, %g2, %g2
52 stx %g1, [%g2 + STACKFRAME_SZ + PT_V9_TSTATE]
54 stx %g3, [%g2 + STACKFRAME_SZ + PT_V9_TPC]
56 stx %g1, [%g2 + STACKFRAME_SZ + PT_V9_TNPC]
58 st %g3, [%g2 + STACKFRAME_SZ + PT_V9_Y]
[all …]
Dsun4v_tlb_miss.S48 ldxa [%g0] ASI_SCRATCHPAD, %g2
54 LOAD_ITLB_INFO(%g2, %g4, %g5)
59 ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
60 cmp %g2, %g6
76 mov %o1, %g2 ! save %o1
85 mov %g2, %o1 ! restore %o1
94 ldxa [%g0] ASI_SCRATCHPAD, %g2
100 LOAD_DTLB_INFO(%g2, %g4, %g5)
105 ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
106 cmp %g2, %g6
[all …]
Drtrap_32.S30 rtrap_7win_patch3: srl %g1, 7, %g2
31 rtrap_7win_patch4: srl %g2, 6, %g2
62 ld [%curptr + TI_FLAGS], %g2
63 andcc %g2, (_TIF_NEED_RESCHED), %g0
70 ld [%curptr + TI_FLAGS], %g2
72 andcc %g2, _TIF_DO_NOTIFY_RESUME_MASK, %g0
76 mov %g2, %o2
82 ld [%curptr + TI_FLAGS], %g2
103 ld [%curptr + TI_FLAGS], %g2
140 or %t_pc, %t_npc, %g2
[all …]
Detrap_32.S37 tsetup_7win_patch2: and %g2, 0x7f, %g2
38 tsetup_7win_patch3: and %g2, 0x7f, %g2
41 tsetup_7win_patch6: and %g2, 0x7f, %g2
90 STORE_PT_ALL(t_kstack, t_psr, t_pc, t_npc, g2)
110 srl %t_wim, 0x1, %g2 ! begin computation of new %wim
113 or %t_wim, %g2, %g2
115 and %g2, 0xff, %g2 ! patched on 7 window Sparcs
120 wr %g2, 0x0, %wim
144 STORE_PT_ALL(t_kstack, t_psr, t_pc, t_npc, g2)
182 subcc %t_wim, %t_twinmask, %g2
[all …]
Dfpu_traps.S76 sethi %hi(sparc64_kern_sec_context), %g2
77 ldx [%g2 + %lo(sparc64_kern_sec_context)], %g2
79 661: stxa %g2, [%g3] ASI_DMMU
82 stxa %g2, [%g3] ASI_MMU
86 add %g6, TI_FPREGS + 0xc0, %g2
91 ldda [%g2] ASI_BLK_S, %f48
118 sethi %hi(sparc64_kern_sec_context), %g2
119 ldx [%g2 + %lo(sparc64_kern_sec_context)], %g2
121 661: stxa %g2, [%g3] ASI_DMMU
124 stxa %g2, [%g3] ASI_MMU
[all …]
Dhead_64.S323 90: ldub [%g7], %g2
325 cmp %g2, %g4
386 90: ldub [%g7], %g2
388 cmp %g2, %g4
402 90: ldub [%g7], %g2
404 cmp %g2, %g4
413 ldub [%g1 + 6], %g2
414 cmp %g2, 'T'
416 cmp %g2, 'M'
420 70: ldub [%g1 + 7], %g2
[all …]
Dhelpers.S7 clr %g2
11 add %g2, 1, %g2
12 1: sub %g2, 1, %g2
13 brnz,pt %g2, 1b
31 rdpr %canrestore, %g2
34 1: brz,pn %g2, 2f
35 sub %g2, 1, %g2
Dktlb.S34 KERN_TSB_LOOKUP_TL1(%g4, %g6, %g5, %g1, %g2, %g3, kvmap_itlb_load)
47 KERN_PGTABLE_WALK(%g4, %g5, %g2, kvmap_itlb_longpath)
49 TSB_LOCK_TAG(%g1, %g2, %g7)
94 OBP_TRANS_LOOKUP(%g4, %g5, %g2, %g3, kvmap_itlb_longpath)
96 TSB_LOCK_TAG(%g1, %g2, %g7)
104 OBP_TRANS_LOOKUP(%g4, %g5, %g2, %g3, kvmap_dtlb_longpath)
106 TSB_LOCK_TAG(%g1, %g2, %g7)
115 ldx [%g7 + %lo(kern_linear_pte_xor)], %g2
117 xor %g2, %g4, %g5
121 TSB_LOCK_TAG(%g1, %g2, %g7)
[all …]
Dtsb.S73 mov %g6, %g2
85 cmp %g6, %g2
111 USER_PGTABLE_WALK_TL1(%g4, %g7, %g5, %g2, tsb_do_fault)
124 and %g5, %g7, %g2
134 cmp %g2, %g7
151 TRAP_LOAD_TRAP_BLOCK(%g7, %g2)
186 TSB_LOCK_TAG(%g1, %g2, %g7)
328 TSB_LOCK_TAG(%o0, %g2, %g3)
345 sethi %hi(TSB_TAG_LOCK_HIGH), %g2
348 andcc %o3, %g2, %g0
[all …]
Durtt_fill.S15 rdpr %wstate, %g2
16 sll %g2, 3, %g2
17 wrpr %g2, 0x0, %wstate
21 sethi %hi(sparc64_kern_pri_context), %g2
22 ldx [%g2 + %lo(sparc64_kern_pri_context)], %g2
25 661: stxa %g2, [%g1] ASI_DMMU
28 stxa %g2, [%g1] ASI_MMU
56 LOAD_PER_CPU_BASE(%g5, %g6, %g1, %g2, %g3)
Dhead_32.S160 or %g0, (0x1e<<4), %g2 ! offset to lvl14 intr
161 or %g1, %g2, %g2
164 ldd [%g2], %g4
166 ldd [%g2 + 0x8], %g4
234 set 0x800, %g2
236 and %g2, %g3, %g3
242 andn %g3, PSR_ET, %g2
243 wr %g2, 0x0, %psr
316 lda [%g1] ASI_M_BYPASS, %g2 ! get level1 entry for 0x0
318 sta %g2, [%g3] ASI_M_BYPASS ! place at KERNBASE entry
[all …]
Divec.S24 sethi %hi(ivector_table_pa), %g2
25 ldx [%g2 + %lo(ivector_table_pa)], %g2
27 add %g2, %g3, %g3
Dhvtramp.S49 mov SCRATCHPAD_CPUID, %g2
50 stxa %g1, [%g2] ASI_SCRATCHPAD
52 ldx [%l0 + HVTRAMP_DESCR_FAULT_INFO_VA], %g2
53 stxa %g2, [%g0] ASI_SCRATCHPAD
Dhvcalls.S377 mov %o2, %g2
381 stx %o2, [%g2]
395 mov %o2, %g2
400 stx %o2, [%g2]
439 mov %o2, %g2
443 stx %o2, [%g2]
457 mov %o2, %g2
462 stx %o2, [%g2]
501 mov %o2, %g2
505 stx %o2, [%g2]
[all …]
Dsyscalls.S139 1: rdpr %pstate, %g2
140 wrpr %g2, PSTATE_IE, %pstate
146 wrpr %g2, 0x0, %pstate
267 mov %ulo(TSTATE_XCARRY | TSTATE_ICARRY), %g2
268 sllx %g2, 32, %g2
277 andn %g3, %g2, %g3
299 or %g3, %g2, %g3
Dentry.S227 or %l0, PSR_PIL, %g2
228 wr %g2, 0x0, %psr
230 wr %g2, PSR_ET, %psr
236 or %l0, PSR_PIL, %g2 ! restore PIL after handler_irq
237 wr %g2, PSR_ET, %psr ! keep ET up
246 or %l0, PSR_PIL, %g2
247 wr %g2, 0x0, %psr
249 wr %g2, PSR_ET, %psr
343 or %l0, PSR_PIL, %g2
348 wr %g2, 0x0, %psr
[all …]
Dunaligned_32.c215 unsigned long g2 = regs->u_regs [UREG_G2]; in kernel_mna_trap_fault() local
216 unsigned long fixup = search_extables_range(regs->pc, &g2); in kernel_mna_trap_fault()
236 regs->u_regs [UREG_G2] = g2; in kernel_mna_trap_fault()
Dspiterrs.S79 rdpr %tl, %g2
80 cmp %g2, 1
81 rdpr %pil, %g2
Dsys32.S68 sethi %hi(__socketcall_table_begin), %g2
69 or %g2, %lo(__socketcall_table_begin), %g2
70 jmpl %g2 + %o0, %g0
Drtrap_64.S156 ldx [%sp + PTREGS_OFF + PT_V9_G2], %g2
/linux-4.4.14/arch/sparc/lib/
Dlocks.S23 orcc %g2, 0x0, %g0
25 ldstub [%g1 + 3], %g2
27 ldub [%g1 + 3], %g2
29 andcc %g2, 0xff, %g0
31 ldstub [%g1 + 3], %g2
32 xnorcc %g2, 0x0, %o0 /* if g2 is ~0, set o0 to 0 and bugger off */
34 ld [%g1], %g2
38 orcc %g2, 0x0, %g0
40 ldstub [%g1 + 3], %g2
42 ldub [%g1 + 3], %g2
[all …]
Dcopy_user.S127 EXO2(ldub [%o1], %g2)
129 EXO2(stb %g2, [%o0])
134 EXO2(lduh [%o1], %g2)
136 EXO2(sth %g2, [%o0])
141 EXO2(lduh [%o1], %g2)
143 EXO2(sth %g2, [%o0])
178 MOVE_BIGCHUNK(o1, o0, 0x00, o2, o3, o4, o5, g2, g3, g4, g5)
179 MOVE_BIGCHUNK(o1, o0, 0x20, o2, o3, o4, o5, g2, g3, g4, g5)
180 MOVE_BIGCHUNK(o1, o0, 0x40, o2, o3, o4, o5, g2, g3, g4, g5)
181 MOVE_BIGCHUNK(o1, o0, 0x60, o2, o3, o4, o5, g2, g3, g4, g5)
[all …]
Dmemscan_32.S27 sethi %hi(HI_MAGIC), %g2
50 sethi %hi(HI_MAGIC), %g2
52 or %g2, %lo(HI_MAGIC), %o3
56 ld [%o0], %g2
58 sub %g2, %o2, %g2
60 andcc %g2, %o3, %g0
67 ld [%o0], %g2
74 sub %g2, %o2, %g2
78 ldsb [%o0 - 4], %g2
79 cmp %g2, 0
[all …]
Dmemcpy.S190 ldub [%o1], %g2
192 stb %g2, [%o0]
197 lduh [%o1], %g2
199 sth %g2, [%o0]
236 MOVE_BIGCHUNK(o1, o0, 0x00, o2, o3, o4, o5, g2, g3, g4, g5)
237 MOVE_BIGCHUNK(o1, o0, 0x20, o2, o3, o4, o5, g2, g3, g4, g5)
238 MOVE_BIGCHUNK(o1, o0, 0x40, o2, o3, o4, o5, g2, g3, g4, g5)
239 MOVE_BIGCHUNK(o1, o0, 0x60, o2, o3, o4, o5, g2, g3, g4, g5)
260 MOVE_LASTCHUNK(o1, o0, 0x60, g2, g3, g4, g5)
261 MOVE_LASTCHUNK(o1, o0, 0x50, g2, g3, g4, g5)
[all …]
Dstrncmp_32.S15 mov 0, %g2
21 ldub [%o1], %g2
29 cmp %o0, %g2
34 sub %o0, %g2, %o0
37 ldub [%o1], %g2
45 cmp %o0, %g2
50 sub %o0, %g2, %o0
53 ldub [%o1], %g2
61 cmp %o0, %g2
66 sub %o0, %g2, %o0
[all …]
Dcsum_copy.S36 .register %g2, #scratch
104 EX_LD(LOAD(lduw, %o0 + 0x08, %g2))
111 add %o4, %g2, %o4
112 EX_ST(STORE(stw, %g2, %o1 + 0x08))
113 EX_LD(LOAD(lduw, %o0 + 0x14, %g2))
120 add %o4, %g2, %o4
121 EX_ST(STORE(stw, %g2, %o1 + 0x14))
122 EX_LD(LOAD(lduw, %o0 + 0x20, %g2))
129 add %o4, %g2, %o4
130 EX_ST(STORE(stw, %g2, %o1 + 0x20))
[all …]
Dashrdi3.S14 or %g0, 32, %g2
16 sub %g2, %o2, %g2
18 tst %g2
23 sub %g0, %g2, %g2
25 sra %o0, %g2, %o5
28 sll %o0, %g2, %g3
29 srl %o1, %o2, %g2
30 or %g2, %g3, %o5
Dashldi3.S14 mov 0x20, %g2
16 sub %g2, %o2, %g2
17 cmp %g2, 0
21 neg %g2
24 sll %o1, %g2, %o4
26 srl %o1, %g2, %g2
28 or %g3, %g2, %o4
Dlshrdi3.S6 mov 0x20, %g2
8 sub %g2, %o2, %g2
9 cmp %g2, 0
14 neg %g2
16 srl %o0, %g2, %o5
18 sll %o0, %g2, %g3
19 srl %o1, %o2, %g2
20 or %g2, %g3, %o5
Dbitops.S17 and %o0, 63, %g2
18 sllx %o2, %g2, %o2
25 and %g7, %o2, %g2
27 movrne %g2, 1, %o0
38 and %o0, 63, %g2
39 sllx %o2, %g2, %o2
46 and %g7, %o2, %g2
48 movrne %g2, 1, %o0
59 and %o0, 63, %g2
60 sllx %o2, %g2, %o2
[all …]
Dchecksum_32.S44 ldd [%o0], %g2 ! load two
45 addcc %g2, %o2, %o2 ! add first word to sum
52 ld [%o0], %g2 ! load it
53 addcc %g2, %o2, %o2 ! add to sum
81 lduh [%o0 + 0x00], %g2
84 sll %g2, 16, %g2
85 addcc %g2, %o2, %o2
87 addx %g0, %g3, %g2
89 sll %g2, 16, %g3
95 ld [%o0 + 0x00], %g2
[all …]
Dmcount.S28 sethi %hi(ftrace_stub), %g2
30 or %g2, %lo(ftrace_stub), %g2
31 cmp %g1, %g2
45 cmp %g2, %g3
47 sethi %hi(ftrace_graph_entry_stub), %g2
49 or %g2, %lo(ftrace_graph_entry_stub), %g2
51 cmp %g1, %g2
54 5: mov %i7, %g2
57 mov %g2, %l0
80 mov %i7, %g2
[all …]
Dffs.S3 .register %g2,#scratch
17 srlx %o0, 32, %g2
20 movrz %g1, %g2, %o0
26 srlx %o0, 16, %g2
28 movrz %g1, %g2, %o0 /* 5 */
35 srlx %o0, 8, %g2
37 movrz %g1, %g2, %o0 /* 8 */
44 srlx %o0, 4, %g2
46 movrz %g1, %g2, %o0 /* 11 */
52 srlx %o0, 2, %g2
[all …]
Dipcsum.S7 lduw [%o0 + 0x04], %g2
9 addcc %g2, %o2, %o2
10 lduw [%o0 + 0x0c], %g2
14 addccc %g2, %o2, %o2
21 sll %o2, 16, %g2
26 2: addcc %o2, %g2, %g2
27 srl %g2, 16, %o2
Dchecksum_64.S71 lduw [%o0 + 0x08], %g2
76 add %o4, %g2, %o4
79 lduw [%o0 + 0x18], %g2
84 add %o4, %g2, %o4
87 lduw [%o0 + 0x28], %g2
92 add %o4, %g2, %o4
95 lduw [%o0 + 0x38], %g2
100 add %o4, %g2, %o4
127 andn %o4, %g1, %g2
128 add %o5, %g2, %o4
[all …]
Dmemscan_64.S53 add %o0, -5, %g2
59 add %o0, -8, %g2
63 inc %g2
68 inc %g2
72 inc %g2
76 mov %o0, %g2
80 inc %g2
85 inc %g2
89 inc %g2
94 inc %g2
[all …]
Dblockops.S54 or %g0, (PAGE_SIZE >> 8), %g2
60 subcc %g2, 1, %g2
74 MIRROR_BLOCK(%o0, %o1, 0x00, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
75 MIRROR_BLOCK(%o0, %o1, 0x20, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
76 MIRROR_BLOCK(%o0, %o1, 0x40, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
77 MIRROR_BLOCK(%o0, %o1, 0x60, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
78 MIRROR_BLOCK(%o0, %o1, 0x80, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
79 MIRROR_BLOCK(%o0, %o1, 0xa0, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
80 MIRROR_BLOCK(%o0, %o1, 0xc0, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
81 MIRROR_BLOCK(%o0, %o1, 0xe0, %o2, %o3, %o4, %o5, %g2, %g3, %g4, %g5)
DNG2patch.S11 sethi %hi(OLD), %g2; \
12 or %g2, %lo(OLD), %g2; \
13 sub %g1, %g2, %g1; \
19 stw %g3, [%g2]; \
22 stw %g3, [%g2 + 0x4]; \
23 flush %g2;
DGENpatch.S11 sethi %hi(OLD), %g2; \
12 or %g2, %lo(OLD), %g2; \
13 sub %g1, %g2, %g1; \
19 stw %g3, [%g2]; \
22 stw %g3, [%g2 + 0x4]; \
23 flush %g2;
DNGpatch.S11 sethi %hi(OLD), %g2; \
12 or %g2, %lo(OLD), %g2; \
13 sub %g1, %g2, %g1; \
19 stw %g3, [%g2]; \
22 stw %g3, [%g2 + 0x4]; \
23 flush %g2;
DU3patch.S11 sethi %hi(OLD), %g2; \
12 or %g2, %lo(OLD), %g2; \
13 sub %g1, %g2, %g1; \
19 stw %g3, [%g2]; \
22 stw %g3, [%g2 + 0x4]; \
23 flush %g2;
Dmemset.S72 sll %g3, 8, %g2
73 or %g3, %g2, %g3
74 sll %g3, 16, %g2
75 or %g3, %g2, %g3
107 mov %g3, %g2
117 ZERO_BIG_BLOCK(%o0, 0x00, %g2)
119 ZERO_BIG_BLOCK(%o0, 0x40, %g2)
137 ZERO_LAST_BLOCKS(%o0, 0x48, %g2)
138 ZERO_LAST_BLOCKS(%o0, 0x08, %g2)
184 cmp %g2, 8
[all …]
DU3memcpy.S15 clr %g1; clr %g2; clr %g3; subcc %g0, %g0, %g0;
66 .register %g2,#scratch
91 srlx %o2, 31, %g2
92 cmp %g2, 0
113 andcc %o0, 0x3f, %g2
121 sub %g2, 0x40, %g2
122 sub %g0, %g2, %g2
123 sub %o2, %g2, %o2
124 andcc %g2, 0x7, %g1
126 and %g2, 0x38, %g2
[all …]
DNG4patch.S11 sethi %hi(OLD), %g2; \
12 or %g2, %lo(OLD), %g2; \
13 sub %g1, %g2, %g1; \
19 stw %g3, [%g2]; \
22 stw %g3, [%g2 + 0x4]; \
23 flush %g2;
DNGmemcpy.S78 .register %g2,#scratch
89 srlx %i2, 31, %g2
90 cmp %g2, 0
163 EX_LD(LOAD_TWIN(%i1, %g2, %g3))
182 MIX_THREE_WORDS(%g2, %g3, %o2, %i5, GLOBAL_SPARE, %o1)
185 EX_ST(STORE_INIT(%g2, %o0 + 0x00))
188 EX_LD(LOAD_TWIN(%i1 + %o5, %g2, %g3))
189 MIX_THREE_WORDS(%o2, %o3, %g2, %i5, GLOBAL_SPARE, %o1)
195 MIX_THREE_WORDS(%g2, %g3, %o2, %i5, GLOBAL_SPARE, %o1)
197 EX_ST(STORE_INIT(%g2, %o0 + 0x20))
[all …]
DNG2memcpy.S17 clr %g1; clr %g2; clr %g3; clr %g5; subcc %g0, %g0, %g0;
178 .register %g2,#scratch
187 srlx %o2, 31, %g2
188 cmp %g2, 0
253 and %o1, (64 - 1), %g2
256 brz,pt %g2, 190f
257 cmp %g2, 32
259 cmp %g2, 16
260 cmp %g2, 48
262 cmp %g2, 40
[all …]
DNG4memcpy.S26 clr %g1; clr %g2; clr %g3; clr %g5; subcc %g0, %g0, %g0;
93 .register %g2,#scratch
105 srlx %o2, 31, %g2
106 cmp %g2, 0
115 or %o0, %o1, %g2
127 1: EX_LD(LOAD(ldub, %o1 + 0x00, %g2))
132 EX_ST(STORE(stb, %g2, %o0 - 0x01))
157 1: EX_LD(LOAD(ldx, %o1 + 0x00, %g2))
162 EX_ST(STORE(stx, %g2, %o0 - 0x08))
171 EX_LD(LOAD(ldx, %o1 - 0x38, %g2))
[all …]
DGENbzero.S50 mov 8, %g2
51 sub %g2, %g1, %g1
61 mov 64, %g2
62 sub %g2, %g1, %g1
134 sethi %hi(OLD), %g2; \
135 or %g2, %lo(OLD), %g2; \
136 sub %g1, %g2, %g1; \
142 stw %g3, [%g2]; \
145 stw %g3, [%g2 + 0x4]; \
146 flush %g2;
DVISsave.S49 rd %gsr, %g2
51 stx %g2, [%g3 + TI_GSR]
53 add %g6, %g1, %g2
54 stx %fsr, [%g2 + TI_XFSR]
58 add %g6, TI_FPREGS, %g2
64 stda %f0, [%g2 + %g1] ASI_BLK_P
71 stda %f32, [%g2 + %g1] ASI_BLK_P
Dxor.S363 ldda [%i1 + 0x20] %asi, %g2 /* %g2/%g3 = src + 0x20 */
379 xor %o4, %g2, %o4
410 ldda [%l7 + 0x00] %asi, %g2 /* %g2/%g3 = src2 + 0x00 */
414 xor %g2, %i2, %g2
416 xor %o0, %g2, %o0
421 ldda [%l7 + 0x20] %asi, %g2 /* %g2/%g3 = src2 + 0x20 */
435 xor %g2, %i2, %g2
437 xor %o0, %g2, %o0
473 ldda [%l6 + 0x00] %asi, %g2 /* %g2/%g3 = src3 + 0x00 */
478 xor %g2, %i4, %g2
[all …]
DGENpage.S55 sethi %hi(OLD), %g2; \
56 or %g2, %lo(OLD), %g2; \
57 sub %g1, %g2, %g1; \
63 stw %g3, [%g2]; \
66 stw %g3, [%g2 + 0x4]; \
67 flush %g2;
DNGbzero.S51 mov 8, %g2
52 sub %g2, %g1, %g1
62 mov 64, %g2
63 sub %g2, %g1, %g1
137 sethi %hi(OLD), %g2; \
138 or %g2, %lo(OLD), %g2; \
139 sub %g1, %g2, %g1; \
145 stw %g3, [%g2]; \
148 stw %g3, [%g2 + 0x4]; \
149 flush %g2;
DU1memcpy.S17 clr %g1; clr %g2; clr %g3; subcc %g0, %g0, %g0;
124 .register %g2,#scratch
133 srlx %o2, 31, %g2
134 cmp %g2, 0
153 andcc %o0, 0x3f, %g2
161 sub %g2, 0x40, %g2
162 sub %g0, %g2, %g2
163 sub %o2, %g2, %o2
164 andcc %g2, 0x7, %g1
166 and %g2, 0x38, %g2
[all …]
Dcopy_page.S49 sethi %hi(PAGE_OFFSET), %g2
52 ldx [%g2 + %lo(PAGE_OFFSET)], %g2
56 sub %o0, %g2, %g1 ! dest paddr
58 sub %o1, %g2, %g2 ! src paddr
63 or %g2, %g3, %g2 ! src TTE data
83 stxa %g2, [%g0] ASI_DTLB_DATA_IN
232 sethi %hi(DCACHE_SIZE), %g2
233 stxa %g0, [%g1 + %g2] ASI_DMMU_DEMAP
DNGpage.S115 sethi %hi(OLD), %g2; \
116 or %g2, %lo(OLD), %g2; \
117 sub %g1, %g2, %g1; \
123 stw %g3, [%g2]; \
126 stw %g3, [%g2 + 0x4]; \
127 flush %g2;
DGENmemcpy.S44 .register %g2,#scratch
53 srlx %o2, 31, %g2
54 cmp %g2, 0
85 EX_LD(LOAD(ldx, %o1, %g2))
86 EX_ST(STORE(stx, %g2, %o0))
Dclear_page.S40 sethi %hi(PAGE_OFFSET), %g2
43 ldx [%g2 + %lo(PAGE_OFFSET)], %g2
47 sub %o0, %g2, %g1 ! paddr
DNG4memset.S8 .register %g2, #scratch
57 mov 0x20, %g2
60 stxa %o4, [%o0 + %g2] ASI_BLK_INIT_QUAD_LDD_P
94 stxa %o4, [%o0 + %g2] ASI_BLK_INIT_QUAD_LDD_P
99 stxa %o4, [%o0 + %g2] ASI_BLK_INIT_QUAD_LDD_P
Dmuldi3.S26 sra %i3, 0x1f, %g2
27 and %i1, %g2, %g2
62 add %g1, %g2, %l2
DNG4copy_page.S12 .register %g2, #scratch
35 ldx [%o1 + 0x28], %g2
47 stxa %g2, [%o0] ASI_ST_BLKINIT_MRU_P
Dudivdi3.S203 sra %o3,31,%g2 ! Do not move this insn
204 and %o1,%g2,%g2 ! Do not move this insn
239 add %g1,%g2,%o0
Ddivdi3.S215 sra %o4,31,%g2 ! Do not move this insn
216 and %o1,%g2,%g2 ! Do not move this insn
251 add %g1,%g2,%o0
Dcopy_in_user.S19 .register %g2,#scratch
/linux-4.4.14/arch/sparc/mm/
Dultra.S35 ldxa [%o1] ASI_DMMU, %g2
36 cmp %g2, %o0
60 andn %g7, PSTATE_IE, %g2
61 wrpr %g2, %pstate
63 ldxa [%o4] ASI_DMMU, %g2
72 stxa %g2, [%o4] ASI_DMMU
88 andn %g7, PSTATE_IE, %g2
89 wrpr %g2, %pstate
91 ldxa [%o4] ASI_DMMU, %g2
104 stxa %g2, [%o4] ASI_DMMU
[all …]
Dviking.S37 sethi %hi(PAGE_OFFSET), %g2
38 sub %o0, %g2, %g3
55 ldda [%g5] ASI_M_DATAC_TAG, %g2
60 andcc %g2, %o5, %g0 ! ptag VALID?
62 add %g4, %o3, %g2 ! (PAGE_OFFSET + PAGE_SIZE) | (set << 5)
63 ld [%g2], %g3
64 ld [%g2 + %g7], %g3
65 add %g2, %o0, %g2
66 ld [%g2], %g3
67 ld [%g2 + %g7], %g3
[all …]
Dhypersparc.S30 ld [%g1 + %lo(vac_line_size)], %g2
32 subcc %g5, %g2, %g5 ! hyper_flush_unconditional_combined
49 sethi %hi(vac_cache_size), %g2
50 ld [%g2 + %lo(vac_cache_size)], %o0
52 add %o1, %g1, %g2
53 add %o1, %g2, %g3
65 sta %g0, [%o0 + %g2] ASI_M_FLUSH_USER
87 sethi %hi(vac_cache_size), %g2
88 ld [%g2 + %lo(vac_cache_size)], %o3
97 add %o4, %g1, %g2
[all …]
Dswift.S55 ld [%o0 + AOFF_mm_context], %g2
56 cmp %g2, -1
66 sta %g2, [%g7] ASI_M_MMUREGS
82 add %o5, 2048, %g2
83 add %g2, 2048, %g3
90 sta %g0, [%o0 + %g2] ASI_M_FLUSH_CTX
121 ld [%o0 + AOFF_mm_context], %g2
122 cmp %g2, -1
132 sta %g2, [%g7] ASI_M_MMUREGS
224 ld [%o0 + AOFF_mm_context], %g2
[all …]
Dfault_32.c61 unsigned long g2; in lookup_fault() local
65 i = search_extables_range(ret_pc, &g2); in lookup_fault()
174 unsigned long g2; in do_sparc_fault() local
301 g2 = regs->u_regs[UREG_G2]; in do_sparc_fault()
303 fixup = search_extables_range(regs->pc, &g2); in do_sparc_fault()
315 regs->pc, fixup, g2); in do_sparc_fault()
324 regs->u_regs[UREG_G2] = g2; in do_sparc_fault()
Dsrmmu_access.S37 mov SRMMU_CTXTBL_PTR, %g2
38 LEON_PI(sta %g1, [%g2] ASI_LEON_MMUREGS)
39 SUN_PI_(sta %g1, [%g2] ASI_M_MMUREGS)
Dtsunami.S29 ld [%o0 + AOFF_mm_context], %g2
30 cmp %g2, -1
51 ld [%o0 + AOFF_mm_context], %g2
52 cmp %g2, -1
Dextable.c90 unsigned long search_extables_range(unsigned long addr, unsigned long *g2) in search_extables_range() argument
100 *g2 = (addr - entry->insn) / 4; in search_extables_range()
/linux-4.4.14/arch/sparc/power/
Dhibernate_asm.S21 rdpr %cwp, %g2
22 stx %g2, [%g3 + SC_REG_CWP]
23 rdpr %wstate, %g2
24 stx %g2, [%g3 + SC_REG_WSTATE]
28 rdpr %tick, %g2
29 stx %g2, [%g3 + SC_REG_TICK]
30 rdpr %pstate, %g2
31 stx %g2, [%g3 + SC_REG_PSTATE]
83 ldxa [%l1 + %l3] ASI_PHYS_USE_EC, %g2
84 stxa %g2, [%l2 + %l3] ASI_PHYS_USE_EC
[all …]
/linux-4.4.14/arch/sparc/crypto/
Dcamellia_asm.S92 ROTL128(%o4, %o5, %g2, %g3, 15)
95 ROTL128(%o4, %o5, %g2, %g3, 15)
98 ROTL128(%o4, %o5, %g2, %g3, 15)
100 ROTL128(%o4, %o5, %g2, %g3, 15)
103 ROTL128(%o4, %o5, %g2, %g3, 34)
106 ROTL128(%o4, %o5, %g2, %g3, 17)
112 ROTL128(%o4, %o5, %g2, %g3, 15)
115 ROTL128(%o4, %o5, %g2, %g3, 30)
118 ROTL128(%o4, %o5, %g2, %g3, 15)
120 ROTL128(%o4, %o5, %g2, %g3, 17)
[all …]
Daes_asm.S917 ldx [%o0 + 0x08], %g2
923 xor %g2, %g7, %g7
927 xor %g2, %o5, %g7
944 xor %g2, %g7, %g7
960 ldx [%o0 + 0x08], %g2
966 xor %g2, %g7, %g7
970 xor %g2, %o5, %g7
987 xor %g2, %g7, %g7
1003 ldx [%o0 + 0x08], %g2
1009 xor %g2, %g7, %g7
[all …]
/linux-4.4.14/arch/sparc/include/asm/
Dttable.h94 rdpr %pil, %g2; \
126 rdpr %pil, %g2; \
146 rdpr %pil, %g2; \
158 rdpr %pil, %g2; \
196 ldxa [%g0] ASI_SCRATCHPAD, %g2; \
197 ldx [%g2 + HV_FAULT_I_ADDR_OFFSET], %g4; \
198 ldx [%g2 + HV_FAULT_I_CTX_OFFSET], %g5; \
206 ldxa [%g0] ASI_SCRATCHPAD, %g2; \
207 ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g4; \
208 ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g5; \
[all …]
Dwinmacro.h45 ldd [%base_reg + STACKFRAME_SZ + PT_G2], %g2; \
72 std %g2, [%base_reg + STACKFRAME_SZ + PT_G2]; \
Duaccess_32.h81 unsigned long search_extables_range(unsigned long addr, unsigned long *g2);
/linux-4.4.14/crypto/
Dpoly1305_generic.c219 u32 g0, g1, g2, g3, g4; in crypto_poly1305_final() local
249 g2 = h2 + (g1 >> 26); g1 &= 0x3ffffff; in crypto_poly1305_final()
250 g3 = h3 + (g2 >> 26); g2 &= 0x3ffffff; in crypto_poly1305_final()
257 g2 &= mask; in crypto_poly1305_final()
263 h2 = (h2 & mask) | g2; in crypto_poly1305_final()
/linux-4.4.14/drivers/crypto/
Dn2_asm.S30 mov %o2, %g2
35 stx %o2, [%g2]
/linux-4.4.14/arch/sh/drivers/dma/
DMakefile7 obj-$(CONFIG_G2_DMA) += dma-g2.o
/linux-4.4.14/arch/sparc/net/
Dbpf_jit.h64 #define r_TMP2 %g2
/linux-4.4.14/arch/x86/crypto/sha-mb/
Dsha1_x8_avx2.S78 # r6 = {g7 g6 g5 g4 g3 g2 g1 g0}
84 # r2 = {h2 g2 f2 e2 d2 c2 b2 a2}
108 vshufps $0xEE, \r7, \r6, \r6 # r6 = {h7 h6 g7 g6 h3 h2 g3 g2}
110 vshufps $0x88, \r6, \r4, \r5 # r5 = {h6 g6 f6 e6 h2 g2 f2 e2}
/linux-4.4.14/drivers/media/dvb-frontends/
Dcx24110.c185 static const int g2[FEC_AUTO] = {-1, 0x01, 0x03, 0x06, 0x1a, 0x7a, -1}; in cx24110_set_fec() local
218 cx24110_writereg(state, 0x1b, g2[fec]); in cx24110_set_fec()
/linux-4.4.14/include/linux/
Dhyperv.h1010 #define VMBUS_DEVICE(g0, g1, g2, g3, g4, g5, g6, g7, \ argument
1012 .guid = { g0, g1, g2, g3, g4, g5, g6, g7, \
/linux-4.4.14/drivers/usb/serial/
Diuu_phoenix.c344 static void iuu_rgbf_fill_buffer(u8 *buf, u8 r1, u8 r2, u8 g1, u8 g2, u8 b1, in iuu_rgbf_fill_buffer() argument
351 *buf++ = g2; in iuu_rgbf_fill_buffer()
/linux-4.4.14/fs/nfsd/
Dnfs4state.c1907 static bool groups_equal(struct group_info *g1, struct group_info *g2) in groups_equal() argument
1911 if (g1->ngroups != g2->ngroups) in groups_equal()
1914 if (!gid_eq(GROUP_AT(g1, i), GROUP_AT(g2, i))) in groups_equal()