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_umodsi3
43 if (!p0.new) r0 = sub(r0,r2)
49 if (!p0.new) r0 = sub(r0,r1)
52 FUNCTION_END __hexagon_umodsi3
55 .set __qdsp_umodsi3, __hexagon_umodsi3