_ashldi3.S 424 B

1234567891011121314151617181920212223242526
  1. /* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005
  2. Free Software Foundation, Inc.
  3. * SPDX-License-Identifier: GPL-2.0+
  4. */
  5. #ifdef __ARMEB__
  6. #define al r1
  7. #define ah r0
  8. #else
  9. #define al r0
  10. #define ah r1
  11. #endif
  12. .globl __ashldi3
  13. .globl __aeabi_llsl
  14. __ashldi3:
  15. __aeabi_llsl:
  16. subs r3, r2, #32
  17. rsb ip, r2, #32
  18. movmi ah, ah, lsl r2
  19. movpl ah, al, lsl r3
  20. orrmi ah, ah, al, lsr ip
  21. mov al, al, lsl r2
  22. mov pc, lr