Home
last modified time | relevance | path

Searched full:r0 (Results 1 – 25 of 1196) sorted by relevance

12345678910>>...48

/Linux-v6.6/arch/sh/lib/
Dchecksum.S48 mov r4, r0
49 tst #3, r0 ! Check alignment.
53 tst #1, r0 ! Check alignment.
60 mov.b @r4+, r0
61 extu.b r0, r0
62 addc r0, r6 ! t=0 from previous tst
63 mov r6, r0
65 shlr16 r0
66 shlr8 r0
67 or r0, r6
[all …]
Dashrsi3.S30 ! r0: Result
41 ! r0: Shifts
45 ! r0: Result
56 mov r5,r0
59 and #31,r0
61 mov r0,r4
62 mova ashrsi3_table,r0
63 mov.b @(r0,r4),r4
64 add r4,r0
65 jmp @r0
[all …]
Dashlsi3.S30 ! r0: Result
41 ! r0: Shifts
45 ! r0: Result
57 mov r5,r0
60 and #31,r0
62 mov r0,r4
63 mova ashlsi3_table,r0
64 mov.b @(r0,r4),r4
65 add r4,r0
66 jmp @r0
[all …]
Dlshrsi3.S30 ! r0: Result
40 ! r0: Value to shift
45 ! r0: Result
56 mov r5,r0
59 and #31,r0
61 mov r0,r4
62 mova lshrsi3_table,r0
63 mov.b @(r0,r4),r4
64 add r4,r0
65 jmp @r0
[all …]
Dcopy_page.S21 * r0, r1, r2, r3, r4, r5, r6, r7 --- scratch
34 mov #(PAGE_SIZE >> 10), r0
35 shll8 r0
36 shll2 r0
37 add r0,r8
39 1: mov.l @r11+,r0
48 movca.l r0,@r10
50 mov.l r0,@r10
86 mov #11,r0
88 cmp/gt r0,r6 ! r6 (len) > r0 (11)
[all …]
Dudivsi3_i4i.S44 mov r4,r0
45 shlr8 r0
51 shlr r0
55 div1 r5,r0
57 div1 r5,r0
58 div1 r5,r0
60 div1 r5,r0
63 mova div_table_ix,r0
65 mov.b @(r0,r5),r1
68 mova div_table_ix,r0
[all …]
Dmemmove.S20 mov.l 2f,r0
21 jmp @r0
26 sub r5,r4 ! From here, r4 has the distance to r0
29 mov r5,r0
40 ! r0+r4--> [ ... ] r0 --> [ ... ]
49 mov r0,r3 ! Save the value on R0 to R3
50 mova jmptable,r0
51 add r1,r0
52 mov.l @r0,r1
54 mov r3,r0 ! and back to R0
[all …]
Dmemcpy.S19 mov r4,r0
20 sub r4,r5 ! From here, r5 has the distance to r0
21 add r6,r0 ! From here, r0 points the end of copying point
32 ! r0 --> [ ... ] r0+r5 --> [ ... ]
39 mov r0,r3 ! Save the value on R0 to R3
40 mova jmptable,r0
41 add r1,r0
42 mov.l @r0,r1
44 mov r3,r0 ! and back to R0
56 cmp/hi r2,r0
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dverifier_subreg.c28 r1 = r0; \ in add32_reg_zero_extend_check()
29 r0 = 0x100000000 ll; \ in add32_reg_zero_extend_check()
31 r0 >>= 32; \ in add32_reg_zero_extend_check()
46 r0 |= r1; \ in add32_imm_zero_extend_check()
54 r0 >>= 32; \ in add32_imm_zero_extend_check()
55 r6 = r0; \ in add32_imm_zero_extend_check()
58 r0 |= r1; \ in add32_imm_zero_extend_check()
60 r0 >>= 32; \ in add32_imm_zero_extend_check()
61 r0 |= r6; \ in add32_imm_zero_extend_check()
75 r1 = r0; \ in sub32_reg_zero_extend_check()
[all …]
Dverifier_value_ptr_arith.c50 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in value_ptr_unknown_vs_const()
55 if r0 == 1 goto l0_%=; \ in value_ptr_unknown_vs_const()
57 if r0 != 1 goto l1_%=; \ in value_ptr_unknown_vs_const()
60 if r0 == 0 goto l2_%=; \ in value_ptr_unknown_vs_const()
61 r4 = *(u8*)(r0 + 0); \ in value_ptr_unknown_vs_const()
68 l4_%=: r1 += r0; \ in value_ptr_unknown_vs_const()
69 r0 = *(u8*)(r1 + 0); \ in value_ptr_unknown_vs_const()
70 l2_%=: r0 = 1; \ in value_ptr_unknown_vs_const()
88 r0 = *(u32*)(r1 + %[__sk_buff_len]); \ in value_ptr_const_vs_unknown()
93 if r0 == 1 goto l0_%=; \ in value_ptr_const_vs_unknown()
[all …]
Dverifier_direct_packet_access.c14 r0 = *(u32*)(r1 + %[__sk_buff_data_end]); \ in __retval()
16 r0 -= r2; \ in __retval()
32 r0 = r2; \ in direct_packet_access_test1()
33 r0 += 8; \ in direct_packet_access_test1()
34 if r0 > r3 goto l0_%=; \ in direct_packet_access_test1()
35 r0 = *(u8*)(r2 + 0); \ in direct_packet_access_test1()
36 l0_%=: r0 = 0; \ in direct_packet_access_test1()
50 r0 = 1; \ in direct_packet_access_test2()
56 r0 = *(u8*)(r3 + 7); \ in direct_packet_access_test2()
70 l1_%=: r0 = 0; \ in direct_packet_access_test2()
[all …]
Dverifier_scalar_ids.c8 * Registers r{0,1,2} have the same scalar ID at the moment when r0 is
13 __msg("frame0: regs=r0,r1,r2 stack= before 4: (bf) r3 = r10")
14 __msg("frame0: regs=r0,r1,r2 stack= before 3: (bf) r2 = r0")
15 __msg("frame0: regs=r0,r1 stack= before 2: (bf) r1 = r0")
16 __msg("frame0: regs=r0 stack= before 1: (57) r0 &= 255")
17 __msg("frame0: regs=r0 stack= before 0: (85) call bpf_ktime_get_ns")
22 /* r0 = random number up to 0xff */ in __flag()
24 "r0 &= 0xff;" in __flag()
25 /* tie r0.id == r1.id == r2.id */ in __flag()
26 "r1 = r0;" in __flag()
[all …]
Dverifier_sock.c61 r0 = *(u32*)(r1 + 0); \ in skb_sk_no_null_check()
62 r0 = 0; \ in skb_sk_no_null_check()
77 r0 = 0; \ in sk_family_non_fullsock_field_1()
79 l0_%=: r0 = *(u32*)(r1 + %[bpf_sock_family]); \ in sk_family_non_fullsock_field_1()
80 r0 = 0; \ in sk_family_non_fullsock_field_1()
97 r0 = 0; \ in sk_sk_type_fullsock_field_1()
99 l0_%=: r0 = *(u32*)(r1 + %[bpf_sock_type]); \ in sk_sk_type_fullsock_field_1()
100 r0 = 0; \ in sk_sk_type_fullsock_field_1()
117 r0 = 0; \ in sk_no_skb_sk_check_1()
134 r0 = 0; \ in no_null_check_on_ret_1()
[all …]
/Linux-v6.6/arch/powerpc/lib/
Dchecksum_64.S24 addic r0,r5,0 /* clear carry */
46 adde r0,r0,r6
81 adde r0,r0,r6
85 adde r0,r0,r9
90 adde r0,r0,r10
92 adde r0,r0,r11
94 adde r0,r0,r12
96 adde r0,r0,r14
98 adde r0,r0,r15
102 adde r0,r0,r16
[all …]
/Linux-v6.6/arch/sh/kernel/cpu/shmobile/
Dsleep.S21 #define k0 r0
34 stc vbr, r0
35 mov.l r0, @(SH_SLEEP_VBR, r5)
41 sts pr, r0
42 mov.l r0, @(SH_SLEEP_SPC, r5)
45 stc sr, r0
46 mov.l r0, @(SH_SLEEP_SR, r5)
49 mov.l @(SH_SLEEP_MODE, r5), r0
50 tst #SUSP_SH_REGS, r0
93 mov #SH_SLEEP_REG_STBCR, r0
[all …]
/Linux-v6.6/arch/arm/mm/
Dproc-arm946.S43 mrc p15, 0, r0, c1, c0, 0 @ ctrl register
44 bic r0, r0, #0x00001000 @ i-cache
45 bic r0, r0, #0x00000004 @ d-cache
46 mcr p15, 0, r0, c1, c0, 0 @ disable caches
51 * Params : r0 = address to jump to
64 ret r0
73 mcr p15, 0, r0, c7, c0, 4 @ Wait for interrupt
82 mov r0, #0
83 mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
131 sub r3, r1, r0 @ calculate total size
[all …]
Dcache-v6.S34 * r0 - set to 0
38 mov r0, #0
42 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
43 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
44 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
45 mcr p15, 0, r0, c7, c5, 0 @ invalidate entire I-cache
51 mcr p15, 0, r0, c7, c5, 0 @ invalidate I-cache
64 mov r0, #0
66 mcr p15, 0, r0, c7, c14, 0 @ D cache clean+invalidate
68 mcr p15, 0, r0, c7, c5, 0 @ I+BTB cache invalidate
[all …]
/Linux-v6.6/crypto/
Dserpent_generic.c228 static noinline void __serpent_setkey_sbox(u32 r0, u32 r1, u32 r2, in __serpent_setkey_sbox() argument
232 S3(r3, r4, r0, r1, r2); store_and_load_keys(r1, r2, r4, r3, 28, 24); in __serpent_setkey_sbox()
233 S4(r1, r2, r4, r3, r0); store_and_load_keys(r2, r4, r3, r0, 24, 20); in __serpent_setkey_sbox()
234 S5(r2, r4, r3, r0, r1); store_and_load_keys(r1, r2, r4, r0, 20, 16); in __serpent_setkey_sbox()
235 S6(r1, r2, r4, r0, r3); store_and_load_keys(r4, r3, r2, r0, 16, 12); in __serpent_setkey_sbox()
236 S7(r4, r3, r2, r0, r1); store_and_load_keys(r1, r2, r0, r4, 12, 8); in __serpent_setkey_sbox()
237 S0(r1, r2, r0, r4, r3); store_and_load_keys(r0, r2, r4, r1, 8, 4); in __serpent_setkey_sbox()
238 S1(r0, r2, r4, r1, r3); store_and_load_keys(r3, r4, r1, r0, 4, 0); in __serpent_setkey_sbox()
239 S2(r3, r4, r1, r0, r2); store_and_load_keys(r2, r4, r3, r0, 0, -4); in __serpent_setkey_sbox()
240 S3(r2, r4, r3, r0, r1); store_and_load_keys(r0, r1, r4, r2, -4, -8); in __serpent_setkey_sbox()
[all …]
/Linux-v6.6/arch/hexagon/kernel/
Dvm_entry.S37 memd(R0 + #_PT_R3130) = R31:30; \
38 { memw(R0 + #_PT_R2928) = R28; \
39 R31 = memw(R0 + #_PT_ER_VMPSP); }\
40 { memw(R0 + #(_PT_R2928 + 4)) = R31; \
42 { memd(R0 + #_PT_R2726) = R27:26; \
44 memd(R0 + #_PT_R2524) = R25:24; \
45 memd(R0 + #_PT_R2322) = R23:22; \
46 memd(R0 + #_PT_R2120) = R21:20; \
47 memd(R0 + #_PT_R1918) = R19:18; \
48 memd(R0 + #_PT_R1716) = R17:16; \
[all …]
/Linux-v6.6/arch/arm/mach-tegra/
Dsleep-tegra30.S184 mov r0, #TEGRA30_POWER_HOTPLUG_SHUTDOWN
193 * and powergates it -- flags (in R0) indicate the request type.
196 * corrupts r0-r4, r10-r12
238 tst r0, #TEGRA30_POWER_HOTPLUG_SHUTDOWN
254 ldr r0, [r2]
285 mov r4, r0
287 mov r0, #TEGRA_FLUSH_CACHE_ALL
289 mov r0, r4
305 add r3, r3, r0
307 mov32 r0, tegra30_tear_down_core
[all …]
/Linux-v6.6/arch/powerpc/platforms/ps3/
Dhvcall.S18 mflr r0; \
19 std r0, 16(r1); \
24 ld r0, 16(r1); \
25 mtlr r0; \
40 mflr r0; \
41 std r0, 16(r1); \
52 ld r0, 16(r1); \
53 mtlr r0; \
59 mflr r0; \
60 std r0, 16(r1); \
[all …]
/Linux-v6.6/arch/arm/mach-pxa/
Dstandby.S19 ldr r0, =PSSR
28 str r1, [r0] @ make sure PSSR_PH/STS are clear
61 mcr p14, 0, r0, c7, c0, 0
66 ldr r0, [r1, #PXA3_DDR_HCAL] @ Clear (and wait for) HCEN
67 bic r0, r0, #PXA3_DDR_HCAL_HCEN
68 str r0, [r1, #PXA3_DDR_HCAL]
69 1: ldr r0, [r1, #PXA3_DDR_HCAL]
70 tst r0, #PXA3_DDR_HCAL_HCEN
73 ldr r0, [r1, #PXA3_RCOMP] @ Initiate RCOMP
74 orr r0, r0, #PXA3_RCOMP_SWEVAL
[all …]
/Linux-v6.6/arch/arm/boot/compressed/
Dhead.S81 mov r0, \val
86 mov r0, \val
241 mov r0, #0x17 @ angel_SWIreason_EnterSVC
245 safe_svcmode_maskall r0
279 mov r0, pc
280 and r0, r0, #0xf8000000
312 add r4, r0, #TEXT_OFFSET
323 mov r0, pc
324 cmp r0, r4
325 ldrcc r0, .Lheadroom
[all …]
/Linux-v6.6/arch/arc/lib/
Dstrcmp.S16 or r2,r0,r1
22 ld.ab r2,[r0,4]
31 xor r0,r2,r3 ; mask for difference
32 sub_s r1,r0,1
33 bic_s r0,r0,r1 ; mask for least significant difference bit
34 sub r1,r5,r0
35 xor r0,r5,r1 ; mask for least significant difference byte
36 and_s r2,r2,r0
37 and_s r3,r3,r0
40 mov_s r0,1
[all …]
/Linux-v6.6/arch/sh/kernel/cpu/sh2/
Dentry.S37 ! r0 <- point sp
41 ! r0 = temporary
54 mov.l @r2,r0
56 or r0,r3 ! set MD
57 tst r0,r0
61 mov.l __md_bit,r0
62 mov.l r0,@r2 ! enter kernel mode
65 mov.l $cpuid,r0
66 mov.l @r0,r0
67 mov.l @r0,r0
[all …]

12345678910>>...48