1 //===----------------------Hexagon builtin routine ------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 .macro FUNCTION_BEGIN name
15 .type \name, @function
19 .macro FUNCTION_END name
20 .size \name, . - \name
24 FUNCTION_BEGIN __hexagon_udivmodsi4
47 if (!p0.new) r1 = sub(r1,r2)
48 if (!p0.new) r0 = add(r0,r3)
53 if (!p0.new) r1 = sub(r1,r4)
54 if (!p0.new) r0 = add(r0,r3)
57 FUNCTION_END __hexagon_udivmodsi4
59 .globl __qdsp_udivmodsi4
60 .set __qdsp_udivmodsi4, __hexagon_udivmodsi4