xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/arm/arm_vfp_builtins.def (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1/* VFP instruction builtin definitions.
2   Copyright (C) 2016-2020 Free Software Foundation, Inc.
3   Contributed by ARM Ltd.
4   This file is part of GCC.
5
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.
10
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.
15
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/>.  */
19
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.  */
23
24/* FP16 Arithmetic instructions.  */
25VAR1 (UNOP, vabs, hf)
26VAR2 (UNOP, vcvths, hf, si)
27VAR2 (UNOP, vcvthu, hf, si)
28VAR1 (UNOP, vcvtahs, si)
29VAR1 (UNOP, vcvtahu, si)
30VAR1 (UNOP, vcvtmhs, si)
31VAR1 (UNOP, vcvtmhu, si)
32VAR1 (UNOP, vcvtnhs, si)
33VAR1 (UNOP, vcvtnhu, si)
34VAR1 (UNOP, vcvtphs, si)
35VAR1 (UNOP, vcvtphu, si)
36VAR1 (UNOP, vrnd, hf)
37VAR1 (UNOP, vrnda, hf)
38VAR1 (UNOP, vrndi, hf)
39VAR1 (UNOP, vrndm, hf)
40VAR1 (UNOP, vrndn, hf)
41VAR1 (UNOP, vrndp, hf)
42VAR1 (UNOP, vrndx, hf)
43VAR1 (UNOP, vsqrt, hf)
44
45VAR2 (BINOP, vcvths_n, hf, si)
46VAR2 (BINOP, vcvthu_n, hf, si)
47VAR1 (BINOP, vmaxnm, hf)
48VAR1 (BINOP, vminnm, hf)
49
50VAR1 (TERNOP, vfma, hf)
51VAR1 (TERNOP, vfms, hf)
52