1 //===----------------------Hexagon builtin routine ------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 .macro FUNCTION_BEGIN name
14 .type \name, @function
18 .macro FUNCTION_END name
19 .size \name, . - \name
23 FUNCTION_BEGIN __hexagon_umodsi3
42 if (!p0.new) r0 = sub(r0,r2)
48 if (!p0.new) r0 = sub(r0,r1)
51 FUNCTION_END __hexagon_umodsi3
54 .set __qdsp_umodsi3, __hexagon_umodsi3