clear_user.S (50501936288d6a29d7ef78f25d00e33240fad45f) clear_user.S (e66d511fc92201ba481392e54896f1aeadfcf0e9)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4 */
5
6#include <asm/alternative-asm.h>
7#include <asm/asm.h>
8#include <asm/asmmacro.h>

--- 94 unchanged lines hidden (view full) ---

10313: st.d zero, a0, 0
10414: st.d zero, a0, 8
105 addi.d a0, a0, 16
106
107.Llt16:
108 addi.d a3, a2, -8
109 bgeu a0, a3, .Llt8
11015: st.d zero, a0, 0
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
4 */
5
6#include <asm/alternative-asm.h>
7#include <asm/asm.h>
8#include <asm/asmmacro.h>

--- 94 unchanged lines hidden (view full) ---

10313: st.d zero, a0, 0
10414: st.d zero, a0, 8
105 addi.d a0, a0, 16
106
107.Llt16:
108 addi.d a3, a2, -8
109 bgeu a0, a3, .Llt8
11015: st.d zero, a0, 0
111 addi.d a0, a0, 8
111
112.Llt8:
11316: st.d zero, a2, -8
114
115 /* return */
116 move a0, zero
117 jr ra
118

--- 64 unchanged lines hidden (view full) ---

183 _asm_extable 8b, .L_fixup_handle_7
184 _asm_extable 9b, .L_fixup_handle_0
185 _asm_extable 10b, .L_fixup_handle_1
186 _asm_extable 11b, .L_fixup_handle_2
187 _asm_extable 12b, .L_fixup_handle_3
188 _asm_extable 13b, .L_fixup_handle_0
189 _asm_extable 14b, .L_fixup_handle_1
190 _asm_extable 15b, .L_fixup_handle_0
112
113.Llt8:
11416: st.d zero, a2, -8
115
116 /* return */
117 move a0, zero
118 jr ra
119

--- 64 unchanged lines hidden (view full) ---

184 _asm_extable 8b, .L_fixup_handle_7
185 _asm_extable 9b, .L_fixup_handle_0
186 _asm_extable 10b, .L_fixup_handle_1
187 _asm_extable 11b, .L_fixup_handle_2
188 _asm_extable 12b, .L_fixup_handle_3
189 _asm_extable 13b, .L_fixup_handle_0
190 _asm_extable 14b, .L_fixup_handle_1
191 _asm_extable 15b, .L_fixup_handle_0
191 _asm_extable 16b, .L_fixup_handle_1
192 _asm_extable 16b, .L_fixup_handle_0
192 _asm_extable 17b, .L_fixup_handle_s0
193 _asm_extable 18b, .L_fixup_handle_s0
194 _asm_extable 19b, .L_fixup_handle_s0
195 _asm_extable 20b, .L_fixup_handle_s2
196 _asm_extable 21b, .L_fixup_handle_s0
197 _asm_extable 22b, .L_fixup_handle_s0
198 _asm_extable 23b, .L_fixup_handle_s4
199 _asm_extable 24b, .L_fixup_handle_s0
200 _asm_extable 25b, .L_fixup_handle_s4
201 _asm_extable 26b, .L_fixup_handle_s0
202 _asm_extable 27b, .L_fixup_handle_s4
203 _asm_extable 28b, .L_fixup_handle_s0
204SYM_FUNC_END(__clear_user_fast)
193 _asm_extable 17b, .L_fixup_handle_s0
194 _asm_extable 18b, .L_fixup_handle_s0
195 _asm_extable 19b, .L_fixup_handle_s0
196 _asm_extable 20b, .L_fixup_handle_s2
197 _asm_extable 21b, .L_fixup_handle_s0
198 _asm_extable 22b, .L_fixup_handle_s0
199 _asm_extable 23b, .L_fixup_handle_s4
200 _asm_extable 24b, .L_fixup_handle_s0
201 _asm_extable 25b, .L_fixup_handle_s4
202 _asm_extable 26b, .L_fixup_handle_s0
203 _asm_extable 27b, .L_fixup_handle_s4
204 _asm_extable 28b, .L_fixup_handle_s0
205SYM_FUNC_END(__clear_user_fast)