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 //===----------------------------------------------------------------------===//
9 .macro FUNCTION_BEGIN name
13 .type \name, @function
17 .macro FUNCTION_END name
18 .size \name, . - \name
22 FUNCTION_BEGIN __hexagon_udivsi3
43 if (!p0.new) r1 = sub(r1,r2)
44 if (!p0.new) r0 = add(r0,r3)
49 if (!p0.new) r0 = add(r0,r3)
52 FUNCTION_END __hexagon_udivsi3
55 .set __qdsp_udivsi3, __hexagon_udivsi3