1 /* fp-const0-parse.s Test file For AArch64 float constant 0 parse.
3 Copyright (C) 2014 Free Software Foundation, Inc.
4 Contributed by ARM Ltd.
6 This file is part of GAS.
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the license, or
11 (at your option) any later version.
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; see the file COPYING3. If not,
20 see <http://www.gnu.org/licenses/>. */
24 // Check #0 with scalar register.
36 // Check #0 with vector register.
37 fcmeq v0.2s, v30.2s, #0
38 fcmge v1.4s, v29.4s, #0
39 fcmgt v2.2d, v28.2d, #0
40 fcmle v3.2s, v27.2s, #0
41 fcmlt v4.4s, v26.4s, #0
43 // Check #0.0 with scalar register.
55 // Check #0.0 with vector register.
56 fcmeq v0.2s, v30.2s, #0.0
57 fcmge v1.4s, v29.4s, #0.0
58 fcmgt v2.2d, v28.2d, #0.0
59 fcmle v3.2s, v27.2s, #0.0
60 fcmlt v4.4s, v26.4s, #0.0