| //===----------------------Hexagon builtin routine ------------------------===// |
| // The LLVM Compiler Infrastructure |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| .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 |