blob: 91551000787a2339d955b2239d8bdd9961db5bfb [file] [log] [blame]
Etienne Carriere5bae8012017-11-05 22:57:56 +01001/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05002 * Copyright (c) 2017, Arm Limited and Contributors. All rights reserved.
Etienne Carriere5bae8012017-11-05 22:57:56 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <asm_macros.S>
8
9/*
10 * EABI wrappers from the udivmod and idivmod functions
11 */
12
13 .globl ret_uidivmod_values
14 .globl ret_idivmod_values
15
16/*
17 * signed ret_idivmod_values(signed quot, signed rem);
18 * return quotient and remaining the EABI way (regs r0,r1)
19 */
20func ret_idivmod_values
21 bx lr
22endfunc ret_idivmod_values
23
24/*
25 * unsigned ret_uidivmod_values(unsigned quot, unsigned rem);
26 * return quotient and remaining the EABI way (regs r0,r1)
27 */
28func ret_uidivmod_values
29 bx lr
30endfunc ret_uidivmod_values