| //===----------------------Hexagon builtin routine ------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| .macro FUNCTION_BEGIN name |
| FUNCTION_BEGIN __hexagon_modsi3 |
| if (!p0.new) r0 = sub(r0,r2) |
| if (!p0.new) r0 = sub(r0,r1) |
| FUNCTION_END __hexagon_modsi3 |
| .set __qdsp_modsi3, __hexagon_modsi3 |