1//===----------------------Hexagon builtin routine ------------------------===//
2//
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
6//
7//===----------------------------------------------------------------------===//
8
9.macro FUNCTION_BEGIN name
10.text
11.p2align 5
12.globl \name
13.type  \name, @function
14\name:
15.endm
16
17.macro FUNCTION_END name
18.size  \name, . - \name
19.endm
20
21FUNCTION_BEGIN fmaf
22  r2 += sfmpy(r0, r1)
23  {
24    r0 = r2
25    jumpr r31
26  }
27FUNCTION_END fmaf
28
29  .globl fmal
30  .set fmal, fma
31