arm32_aeabi_divmod_a32.S 658 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2017, Arm Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <asm_macros.S>
  7. /*
  8. * EABI wrappers from the udivmod and idivmod functions
  9. */
  10. .globl ret_uidivmod_values
  11. .globl ret_idivmod_values
  12. /*
  13. * signed ret_idivmod_values(signed quot, signed rem);
  14. * return quotient and remaining the EABI way (regs r0,r1)
  15. */
  16. func ret_idivmod_values
  17. bx lr
  18. endfunc ret_idivmod_values
  19. /*
  20. * unsigned ret_uidivmod_values(unsigned quot, unsigned rem);
  21. * return quotient and remaining the EABI way (regs r0,r1)
  22. */
  23. func ret_uidivmod_values
  24. bx lr
  25. endfunc ret_uidivmod_values