• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
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
31