1
/* ldst-reg-imm-pre-ind.s Test file for AArch64
2
load-store reg. (imm.pre-ind.) instructions.
4
Copyright (C) 2011-2014 Free Software Foundation, Inc.
5
Contributed by ARM Ltd.
7
This file is part of GAS.
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.
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.
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/>. */
23
.macro op2 op, reg, simm
24
\op \reg\()7, [sp, #\simm]!
27
// load to or store from core register
28
.macro ld_or_st op, suffix, reg
29
.irp simm, -256, -171, 0, 2, 4, 8, 16, 85, 255
30
op2 \op\suffix, \reg, \simm
34
// load to or store from FP/SIMD register
36
.irp reg, b, h, s, d, q
37
.irp simm, -256, -171, 0, 2, 4, 8, 16, 85, 255
44
// load to or store from FP/SIMD register
48
// load to or store from core register