bfd/
[platform/upstream/binutils.git] / gas / testsuite / gas / aarch64 / floatdp2.s
1 /* floatdp2.s Test file for AArch64 Floating-point data-processing
2    (2 source) instructions.
3
4    Copyright 2011, 2012 Free Software Foundation, Inc.
5    Contributed by ARM Ltd.
6
7    This file is part of GAS.
8
9    GAS is free software; you can redistribute it and/or modify
10    it under the terms of the GNU General Public License as published by
11    the Free Software Foundation; either version 3 of the license, or
12    (at your option) any later version.
13
14    GAS is distributed in the hope that it will be useful,
15    but WITHOUT ANY WARRANTY; without even the implied warranty of
16    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17    GNU General Public License for more details.
18
19    You should have received a copy of the GNU General Public License
20    along with this program; see the file COPYING3. If not,
21    see <http://www.gnu.org/licenses/>.  */
22
23         .macro  floatdp2 op, type
24         \op     \type\()0, \type\()7, \type\()15
25         .endm
26
27 .text
28         .irp    type, S, D
29         .irp    op, FMUL, FDIV, FADD, FSUB, FMAX, FMIN, FMAXNM, FMINNM, FNMUL
30         floatdp2        \op, \type
31         .endr
32         .endr