1 /* VFP instruction builtin definitions.
2 Copyright (C
) 2016-2017 Free Software Foundation
, Inc.
3 Contributed by ARM Ltd.
4 This file is part of GCC.
6 GCC is free software
; you can redistribute it and
/or modify it
7 under the terms of the GNU General Public License as published
8 by the Free Software Foundation
; either version
3, or (at your
9 option
) any later version.
11 GCC is distributed in the hope that it will be useful
, but WITHOUT
12 ANY WARRANTY
; without even the implied warranty of MERCHANTABILITY
13 or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public
14 License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC
; see the file COPYING3. If not see
18 <http
://www.gnu.org
/licenses
/>.
*/
20 /* This file lists the builtins that may be available when VFP is enabled but
21 not NEON is enabled. The entries otherwise have the same requirements and
22 generate the same structures as those in the arm_neon_builtins.def.
*/
24 /* FP16 Arithmetic instructions.
*/
26 VAR2 (UNOP
, vcvths
, hf
, si
)
27 VAR2 (UNOP
, vcvthu
, hf
, si
)
28 VAR1 (UNOP
, vcvtahs
, si
)
29 VAR1 (UNOP
, vcvtahu
, si
)
30 VAR1 (UNOP
, vcvtmhs
, si
)
31 VAR1 (UNOP
, vcvtmhu
, si
)
32 VAR1 (UNOP
, vcvtnhs
, si
)
33 VAR1 (UNOP
, vcvtnhu
, si
)
34 VAR1 (UNOP
, vcvtphs
, si
)
35 VAR1 (UNOP
, vcvtphu
, si
)
37 VAR1 (UNOP
, vrnda
, hf
)
38 VAR1 (UNOP
, vrndi
, hf
)
39 VAR1 (UNOP
, vrndm
, hf
)
40 VAR1 (UNOP
, vrndn
, hf
)
41 VAR1 (UNOP
, vrndp
, hf
)
42 VAR1 (UNOP
, vrndx
, hf
)
43 VAR1 (UNOP
, vsqrt
, hf
)
45 VAR2 (BINOP
, vcvths_n
, hf
, si
)
46 VAR2 (BINOP
, vcvthu_n
, hf
, si
)
47 VAR1 (BINOP
, vmaxnm
, hf
)
48 VAR1 (BINOP
, vminnm
, hf
)
50 VAR1 (TERNOP
, vfma
, hf
)
51 VAR1 (TERNOP
, vfms
, hf
)