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 //===----------------------------------------------------------------------===//
10 .macro FUNCTION_BEGIN name
14 .type \name, @function
18 .macro FUNCTION_END name
19 .size \name, . - \name
23 FUNCTION_BEGIN __hexagon_udivsi3
44 if (!p0.new) r1 = sub(r1,r2)
45 if (!p0.new) r0 = add(r0,r3)
50 if (!p0.new) r0 = add(r0,r3)
53 FUNCTION_END __hexagon_udivsi3
56 .set __qdsp_udivsi3, __hexagon_udivsi3