Home
last modified time | relevance | path

Searched full:a0 (Results 1 – 25 of 958) sorted by relevance

12345678910>>...39

/Linux-v6.6/arch/riscv/kvm/
Dvcpu_switch.S19 /* Save Host GPRs (except A0 and T0-T6) */
20 REG_S ra, (KVM_ARCH_HOST_RA)(a0)
21 REG_S sp, (KVM_ARCH_HOST_SP)(a0)
22 REG_S gp, (KVM_ARCH_HOST_GP)(a0)
23 REG_S tp, (KVM_ARCH_HOST_TP)(a0)
24 REG_S s0, (KVM_ARCH_HOST_S0)(a0)
25 REG_S s1, (KVM_ARCH_HOST_S1)(a0)
26 REG_S a1, (KVM_ARCH_HOST_A1)(a0)
27 REG_S a2, (KVM_ARCH_HOST_A2)(a0)
28 REG_S a3, (KVM_ARCH_HOST_A3)(a0)
[all …]
/Linux-v6.6/arch/mips/kvm/
Dmsa.S20 st_d 0, VCPU_FPR0, a0
21 st_d 1, VCPU_FPR1, a0
22 st_d 2, VCPU_FPR2, a0
23 st_d 3, VCPU_FPR3, a0
24 st_d 4, VCPU_FPR4, a0
25 st_d 5, VCPU_FPR5, a0
26 st_d 6, VCPU_FPR6, a0
27 st_d 7, VCPU_FPR7, a0
28 st_d 8, VCPU_FPR8, a0
29 st_d 9, VCPU_FPR9, a0
[all …]
Dfpu.S31 sdc1 $f1, VCPU_FPR1(a0)
32 sdc1 $f3, VCPU_FPR3(a0)
33 sdc1 $f5, VCPU_FPR5(a0)
34 sdc1 $f7, VCPU_FPR7(a0)
35 sdc1 $f9, VCPU_FPR9(a0)
36 sdc1 $f11, VCPU_FPR11(a0)
37 sdc1 $f13, VCPU_FPR13(a0)
38 sdc1 $f15, VCPU_FPR15(a0)
39 sdc1 $f17, VCPU_FPR17(a0)
40 sdc1 $f19, VCPU_FPR19(a0)
[all …]
/Linux-v6.6/arch/riscv/kernel/
Dfpu.S24 add a0, a0, a2
28 fsd f0, TASK_THREAD_F0_F0(a0)
29 fsd f1, TASK_THREAD_F1_F0(a0)
30 fsd f2, TASK_THREAD_F2_F0(a0)
31 fsd f3, TASK_THREAD_F3_F0(a0)
32 fsd f4, TASK_THREAD_F4_F0(a0)
33 fsd f5, TASK_THREAD_F5_F0(a0)
34 fsd f6, TASK_THREAD_F6_F0(a0)
35 fsd f7, TASK_THREAD_F7_F0(a0)
36 fsd f8, TASK_THREAD_F8_F0(a0)
[all …]
Dsuspend_entry.S20 /* Save registers (except A0 and T0-T6) */
21 REG_S ra, (SUSPEND_CONTEXT_REGS + PT_RA)(a0)
22 REG_S sp, (SUSPEND_CONTEXT_REGS + PT_SP)(a0)
23 REG_S gp, (SUSPEND_CONTEXT_REGS + PT_GP)(a0)
24 REG_S tp, (SUSPEND_CONTEXT_REGS + PT_TP)(a0)
25 REG_S s0, (SUSPEND_CONTEXT_REGS + PT_S0)(a0)
26 REG_S s1, (SUSPEND_CONTEXT_REGS + PT_S1)(a0)
27 REG_S a1, (SUSPEND_CONTEXT_REGS + PT_A1)(a0)
28 REG_S a2, (SUSPEND_CONTEXT_REGS + PT_A2)(a0)
29 REG_S a3, (SUSPEND_CONTEXT_REGS + PT_A3)(a0)
[all …]
Dcrash_save_regs.S14 REG_S ra, PT_RA(a0) /* x1 */
15 REG_S sp, PT_SP(a0) /* x2 */
16 REG_S gp, PT_GP(a0) /* x3 */
17 REG_S tp, PT_TP(a0) /* x4 */
18 REG_S t0, PT_T0(a0) /* x5 */
19 REG_S t1, PT_T1(a0) /* x6 */
20 REG_S t2, PT_T2(a0) /* x7 */
21 REG_S s0, PT_S0(a0) /* x8/fp */
22 REG_S s1, PT_S1(a0) /* x9 */
23 REG_S a0, PT_A0(a0) /* x10 */
[all …]
/Linux-v6.6/arch/mips/kernel/
Dr4k_fpu.S47 fpu_save_double a0 t0 t1 # clobbers t1
59 fpu_restore_double a0 t0 t1 # clobbers t1
70 msa_save_all a0
78 msa_restore_all a0
93 * @a0 - pointer to fpregs field of sigcontext
118 EX sdc1 $f1, 8(a0)
119 EX sdc1 $f3, 24(a0)
120 EX sdc1 $f5, 40(a0)
121 EX sdc1 $f7, 56(a0)
122 EX sdc1 $f9, 72(a0)
[all …]
Docteon_switch.S27 LONG_S t1, THREAD_STATUS(a0)
28 cpu_save_nonscratch a0
29 LONG_S ra, THREAD_REG31(a0)
42 LONG_ADDI t2, a0, THREAD_CVMSEG /* Where to store CVMSEG to */
87 move v0, a0
92 * void octeon_cop2_save(struct octeon_cop2_state *a0)
105 sd t0, OCTEON_CP2_CRC_IV(a0)
106 sd t1, OCTEON_CP2_CRC_LENGTH(a0)
109 sd t2, OCTEON_CP2_CRC_POLY(a0)
114 sd t0, OCTEON_CP2_LLM_DAT(a0)
[all …]
Dcps-vec-ns16550.S33 * @a0: ASCII character to write
40 UART_S a0, UART_TX_OFS(t9)
46 * @a0: pointer to NULL-terminated ASCII string
53 move s6, a0
55 1: lb a0, 0(s6)
56 beqz a0, 2f
66 * @a0: the 4b value to write to the UART
72 andi a0, a0, 0xf
74 blt a0, 10, 1f
76 addiu a0, a0, -10
[all …]
Dr2300_fpu.S43 fpu_save_single a0, t1 # clobbers t1
51 fpu_restore_single a0, t1 # clobbers t1
59 * @a0 - pointer to fpregs field of sigcontext
70 EX2(s.d $f0, 0(a0))
71 EX2(s.d $f2, 16(a0))
72 EX2(s.d $f4, 32(a0))
73 EX2(s.d $f6, 48(a0))
74 EX2(s.d $f8, 64(a0))
75 EX2(s.d $f10, 80(a0))
76 EX2(s.d $f12, 96(a0))
[all …]
Dbmips_5xxx_init.S113 * Trashes: v0, v1, a0, t0
122 mfc0 a0, CP0_CONFIG, 1
123 move t0, a0
134 srl a0, a0, IS_SHIFT
135 and a0, a0, IS_MASK
140 sllv v0, v0, a0
150 move a0, t0
152 srl a0, a0, IL_SHIFT
153 and a0, a0, IL_MASK
155 beqz a0, no_i_cache
[all …]
/Linux-v6.6/arch/riscv/lib/
Dclear_page.S30 add a2, a0, a2
32 CBO_zero(a0)
33 add a0, a0, a1
34 CBOZ_ALT(11, "bltu a0, a2, .Lzero_loop; ret", "nop; nop")
35 CBO_zero(a0)
36 add a0, a0, a1
37 CBOZ_ALT(10, "bltu a0, a2, .Lzero_loop; ret", "nop; nop")
38 CBO_zero(a0)
39 add a0, a0, a1
40 CBO_zero(a0)
[all …]
Duaccess.S24 add t5, a0, a2
28 * a0 - start of uncopied dst
33 add t0, a0, a2
44 * a0 - start of dst
47 addi t1, a0, SZREG-1
50 beq a0, t1, .Lskip_align_dst
55 fixup sb a5, 0(a0), 10f
56 addi a0, a0, 1 /* dst */
57 bltu a0, t1, 1b /* t1 - start of aligned dst */
74 * a0 - start of aligned dst
[all …]
Dstrncmp.S15 * a0 - comparison result, value like strncmp
18 * a0 - string1
28 lbu t0, 0(a0)
30 addi a0, a0, 1
36 li a0, 0
43 sub a0, t0, t1
57 * a0 - comparison result, like strncmp
60 * a0 - string1
68 or t2, a0, a1
71 add t4, a0, a2
[all …]
/Linux-v6.6/arch/loongarch/lib/
Dclear_user.S27 * a0: addr
33 1: st.b zero, a0, 0
34 addi.d a0, a0, 1
38 2: move a0, a1
47 * a0: addr
54 add.d a2, a0, a1
55 0: st.d zero, a0, 0
58 addi.d a0, a0, 8
59 bstrins.d a0, zero, 2, 0
62 bgeu a0, a3, .Llt64
[all …]
Dcopy_user.S27 * a0: to
35 2: st.b t0, a0, 0
36 addi.d a0, a0, 1
41 3: move a0, a2
51 * a0: to
60 1: st.d t0, a0, 0
62 add.d a2, a0, a2
65 andi t1, a0, 7
69 add.d a0, a0, t0
84 10: st.d t0, a0, 0
[all …]
/Linux-v6.6/arch/xtensa/kernel/
Dvectors.S28 * a0: trashed, original value saved on stack (PT_AREG0)
77 s32i a0, a2, PT_AREG0 # save a0 to ESF
78 rsr a0, exccause # retrieve exception cause
79 s32i a0, a2, PT_DEPC # mark it as a regular exception
80 addx4 a0, a0, a3 # find entry in table
81 l32i a0, a0, EXC_TABLE_FAST_USER # load handler
83 jx a0
104 s32i a0, a2, PT_AREG0 # save a0 to ESF
105 rsr a0, exccause # retrieve exception cause
106 s32i a0, a2, PT_DEPC # mark it as a regular exception
[all …]
Dentry.S102 * a0: trashed, original value saved on stack (PT_AREG0)
114 * a0-a3 and depc have been saved to PT_AREG0...PT_AREG3 and PT_DEPC
126 rsr a0, depc
128 s32i a0, a2, PT_AREG2
207 ffs_ws a0, a3 # number of frames to the '1' from left
214 slli a3, a0, 4 # number of frames to save in bits 8..4
222 s32i a0, a5, PT_AREG_END - 16
226 addi a0, a4, -1
228 _bnez a0, 1b
257 * a0: trashed, original value saved on stack (PT_AREG0)
[all …]
/Linux-v6.6/arch/m68k/math-emu/
Dfp_util.S50 * only the lower half) most function have to return the %a0
95 | %a0 = destination (ptr to struct fp_ext)
98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0
107 move.l %d1,(%a0)+ | set sign / exp
108 move.l %d0,(%a0)+ | set mantissa
109 clr.l (%a0)
110 subq.l #8,%a0 | restore %a0
111 printx PCONV,%a0@
116 clr.l (%a0)+
117 clr.l (%a0)+
[all …]
/Linux-v6.6/arch/loongarch/mm/
Dpage.S14 add.d t0, t0, a0
16 st.d zero, a0, 0
17 st.d zero, a0, 8
18 st.d zero, a0, 16
19 st.d zero, a0, 24
20 st.d zero, a0, 32
21 st.d zero, a0, 40
22 st.d zero, a0, 48
23 st.d zero, a0, 56
24 addi.d a0, a0, 128
[all …]
/Linux-v6.6/arch/riscv/include/asm/
Dassembler.h23 REG_L t0, (SUSPEND_CONTEXT_REGS + PT_EPC)(a0)
25 REG_L t0, (SUSPEND_CONTEXT_REGS + PT_STATUS)(a0)
27 REG_L t0, (SUSPEND_CONTEXT_REGS + PT_BADADDR)(a0)
29 REG_L t0, (SUSPEND_CONTEXT_REGS + PT_CAUSE)(a0)
34 * suspend_restore_regs - Restore registers (except A0 and T0-T6)
37 REG_L ra, (SUSPEND_CONTEXT_REGS + PT_RA)(a0)
38 REG_L sp, (SUSPEND_CONTEXT_REGS + PT_SP)(a0)
39 REG_L gp, (SUSPEND_CONTEXT_REGS + PT_GP)(a0)
40 REG_L tp, (SUSPEND_CONTEXT_REGS + PT_TP)(a0)
41 REG_L s0, (SUSPEND_CONTEXT_REGS + PT_S0)(a0)
[all …]
/Linux-v6.6/arch/loongarch/kernel/
Dlbt.S27 stptr.d t1, a0, THREAD_SCR0
29 stptr.d t1, a0, THREAD_SCR1
31 stptr.d t1, a0, THREAD_SCR2
33 stptr.d t1, a0, THREAD_SCR3
36 stptr.d t1, a0, THREAD_EFLAGS
45 ldptr.d t1, a0, THREAD_SCR0 # restore scr
47 ldptr.d t1, a0, THREAD_SCR1
49 ldptr.d t1, a0, THREAD_SCR2
51 ldptr.d t1, a0, THREAD_SCR3
54 ldptr.d t1, a0, THREAD_EFLAGS # restore eflags
[all …]
/Linux-v6.6/drivers/media/pci/tw686x/
Dtw686x-regs.h3 #define REG8_1(a0) ((const u16[8]) { a0, a0 + 1, a0 + 2, a0 + 3, \ argument
4 a0 + 4, a0 + 5, a0 + 6, a0 + 7})
5 #define REG8_2(a0) ((const u16[8]) { a0, a0 + 2, a0 + 4, a0 + 6, \ argument
6 a0 + 8, a0 + 0xa, a0 + 0xc, a0 + 0xe})
7 #define REG8_8(a0) ((const u16[8]) { a0, a0 + 8, a0 + 0x10, a0 + 0x18, \ argument
8 a0 + 0x20, a0 + 0x28, a0 + 0x30, \
9 a0 + 0x38})
55 #define VDREG8(a0) ((const u16[8]) { \ argument
56 a0 + 0x000, a0 + 0x010, a0 + 0x020, a0 + 0x030, \
57 a0 + 0x100, a0 + 0x110, a0 + 0x120, a0 + 0x130})
[all …]
/Linux-v6.6/arch/csky/abiv2/
Dstrcmp.S8 mov a3, a0
13 andi t1, a0, 0x3
85 xtrb0 a0, t0
87 subu a0, a2
89 bnez a0, 4f
92 xtrb1 a0, t0
94 subu a0, a2
96 bnez a0, 4f
99 xtrb2 a0, t0
101 subu a0, a2
[all …]
/Linux-v6.6/arch/m68k/fpsp040/
Dround.S23 | a0 points to the input operand in the internal extended format
35 | On return the value pointed to by a0 is correctly rounded,
36 | a0 is preserved and the g-r-s bits in d0 are cleared.
82 tstb LOCAL_SGN(%a0) |check for sign
95 tstb LOCAL_SGN(%a0) |check for sign
148 bfextu LOCAL_HI(%a0){#24:#2},%d3 |sgl prec. g-r are 2 bits right
151 movel LOCAL_HI(%a0),%d2 |get word 2 for s-bit test
154 tstl LOCAL_LO(%a0) |test lower mantissa
160 bfextu LOCAL_LO(%a0){#21:#2},%d3 |dbl-prec. g-r are 2 bits right
163 movel LOCAL_LO(%a0),%d2 |get lower mantissa for s-bit test
[all …]

12345678910>>...39