| //===----------------------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 |
| #define Q6_ALIAS(TAG) .global __qdsp_##TAG ; .set __qdsp_##TAG, __hexagon_##TAG |
| #define FAST_ALIAS(TAG) .global __hexagon_fast_##TAG ; .set __hexagon_fast_##TAG, __hexagon_##TAG |
| #define FAST2_ALIAS(TAG) .global __hexagon_fast2_##TAG ; .set __hexagon_fast2_##TAG, __hexagon_##TAG |
| FUNCTION_BEGIN __hexagon_divsf3 |
| r3 -= sfmpy(r4,r2):lib // 1-(den/recip) yields error? |
| r0 += sfmpy(r5,r2,p0):scale |
| FUNCTION_END __hexagon_divsf3 |