1 # Copyright (C) 2003, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 # This file was written by Michael Snyder (msnyder@redhat.com)
22 if ![istarget "h8300*-*-*"] {
23 verbose "Tests ignored for all but h8300s based targets."
28 set testfile "t02_mova"
29 set srcfile ${srcdir}/${subdir}/${testfile}.s
30 set objfile ${objdir}/${subdir}/${testfile}.o
31 set binfile ${objdir}/${subdir}/${testfile}.x
34 set link-flags "-m h8300sxelf";
37 if {[target_assemble $srcfile $objfile "${asm-flags}"] != ""} then {
42 if {[target_link $objfile $binfile "${link-flags}"] != ""} then {
48 gdb_reinitialize_dir $srcdir/$subdir
51 gdb_test "x /i _start" "mova/b.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
52 "mova/b.c @(0x1234:16,r3l.b),er1"
53 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),r3.w\\),er1" \
54 "mova/b.c @(0x1234:16,r3.w),er1"
55 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
56 "mova/w.c @(0x1234:16,r3l.b),er1"
57 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3.w\\),er1" \
58 "mova/w.c @(0x1234:16,r3.w),er1"
59 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
60 "mova/l.c @(0x1234:16,r3l.b),er1"
61 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3.w\\),er1" \
62 "mova/l.c @(0x1234:16,r3.w),er1"
63 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
64 "mova/b.c @(0x12345678:32,r3l.b),er1"
65 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
66 "mova/b.c @(0x12345678:32,r3.w),er1"
67 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
68 "mova/w.c @(0x12345678:32,r3l.b),er1"
69 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
70 "mova/w.c @(0x12345678:32,r3.w),er1"
71 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
72 "mova/l.c @(0x12345678:32,r3l.b),er1"
73 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
74 "mova/l.c @(0x12345678:32,r3.w),er1"
75 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
76 "mova/b.l @(0x1234:16,r3l.b),er1"
77 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),r3.w\\),er1" \
78 "mova/b.l @(0x1234:16,r3.w),er1"
79 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
80 "mova/w.l @(0x1234:16,r3l.b),er1"
81 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),r3.w\\),er1" \
82 "mova/w.l @(0x1234:16,r3.w),er1"
83 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3l.b\\),er1" \
84 "mova/l.l @(0x1234:16,r3l.b),er1"
85 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),r3.w\\),er1" \
86 "mova/l.l @(0x1234:16,r3.w),er1"
87 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
88 "mova/b.l @(0x12345678:32,r3l.b),er1"
89 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
90 "mova/b.l @(0x12345678:32,r3.w),er1"
91 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
92 "mova/w.l @(0x12345678:32,r3l.b),er1"
93 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
94 "mova/w.l @(0x12345678:32,r3.w),er1"
95 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3l.b\\),er1" \
96 "mova/l.l @(0x12345678:32,r3l.b),er1"
97 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),r3.w\\),er1" \
98 "mova/l.l @(0x12345678:32,r3.w),er1"
99 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2.b\\),er1" \
100 "mova/b.l @(0x1234:16,@er2.b),er1"
101 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x1(:2|),er2\\).b\\),er1" \
102 "mova/b.l @(0x1234:16,@(0x1:2,er2).b),er1"
103 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2\\+.b\\),er1" \
104 "mova/b.l @(0x1234:16,@er2+.b),er1"
105 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@-er2.b\\),er1" \
106 "mova/b.l @(0x1234:16,@-er2.b),er1"
107 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\+er2.b\\),er1" \
108 "mova/b.l @(0x1234:16,@+er2.b),er1"
109 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2-.b\\),er1" \
110 "mova/b.l @(0x1234:16,@er2-.b),er1"
111 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
112 "mova/b.l @(0x1234:16,@(0x9abc:16,er2).b),er1"
113 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
114 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2).b),er1"
115 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
116 "mova/b.l @(0x1234:16,@(0x9abc:16,r2l.b).b),er1"
117 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
118 "mova/b.l @(0x1234:16,@(0x9abc:16,r2.w).b),er1"
119 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
120 "mova/b.l @(0x1234:16,@(0x9abc:16,er2.l).b),er1"
121 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
122 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).b),er1"
123 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
124 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2.w).b),er1"
125 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
126 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2.l).b),er1"
127 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abc(:16|).b\\),er1" \
128 "mova/b.l @(0x1234:16,@0x9abc:16.b),er1"
129 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).b\\),er1" \
130 "mova/b.l @(0x1234:16,@0x9abcdef0:32.b),er1"
131 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2.w\\),er1" \
132 "mova/b.l @(0x1234:16,@er2.w),er1"
133 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x2(:2|),er2\\).w\\),er1" \
134 "mova/b.l @(0x1234:16,@(0x2:2,er2).w),er1"
135 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2\\+.w\\),er1" \
136 "mova/b.l @(0x1234:16,@er2+.w),er1"
137 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@-er2.w\\),er1" \
138 "mova/b.l @(0x1234:16,@-er2.w),er1"
139 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\+er2.w\\),er1" \
140 "mova/b.l @(0x1234:16,@+er2.w),er1"
141 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@er2-.w\\),er1" \
142 "mova/b.l @(0x1234:16,@er2-.w),er1"
143 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
144 "mova/b.l @(0x1234:16,@(0x9abc:16,er2).w),er1"
145 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
146 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2).w),er1"
147 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
148 "mova/b.l @(0x1234:16,@(0x9abc:16,r2l.b).w),er1"
149 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
150 "mova/b.l @(0x1234:16,@(0x9abc:16,r2.w).w),er1"
151 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
152 "mova/b.l @(0x1234:16,@(0x9abc:16,er2.l).w),er1"
153 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
154 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).w),er1"
155 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
156 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,r2.w).w),er1"
157 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
158 "mova/b.l @(0x1234:16,@(0x9abcdef0:32,er2.l).w),er1"
159 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abc(:16|).w\\),er1" \
160 "mova/b.l @(0x1234:16,@0x9abc:16.w),er1"
161 gdb_test "x" "mova/b.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).w\\),er1" \
162 "mova/b.l @(0x1234:16,@0x9abcdef0:32.w),er1"
163 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2.b\\),er1" \
164 "mova/w.l @(0x1234:16,@er2.b),er1"
165 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x1(:2|),er2\\).b\\),er1" \
166 "mova/w.l @(0x1234:16,@(0x1:2,er2).b),er1"
167 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2\\+.b\\),er1" \
168 "mova/w.l @(0x1234:16,@er2+.b),er1"
169 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@-er2.b\\),er1" \
170 "mova/w.l @(0x1234:16,@-er2.b),er1"
171 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\+er2.b\\),er1" \
172 "mova/w.l @(0x1234:16,@+er2.b),er1"
173 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2-.b\\),er1" \
174 "mova/w.l @(0x1234:16,@er2-.b),er1"
175 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
176 "mova/w.l @(0x1234:16,@(0x9abc:16,er2).b),er1"
177 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
178 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2).b),er1"
179 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
180 "mova/w.l @(0x1234:16,@(0x9abc:16,r2l.b).b),er1"
181 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
182 "mova/w.l @(0x1234:16,@(0x9abc:16,r2.w).b),er1"
183 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
184 "mova/w.l @(0x1234:16,@(0x9abc:16,er2.l).b),er1"
185 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
186 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).b),er1"
187 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
188 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2.w).b),er1"
189 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
190 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2.l).b),er1"
191 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abc(:16|).b\\),er1" \
192 "mova/w.l @(0x1234:16,@0x9abc:16.b),er1"
193 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).b\\),er1" \
194 "mova/w.l @(0x1234:16,@0x9abcdef0:32.b),er1"
195 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2.w\\),er1" \
196 "mova/w.l @(0x1234:16,@er2.w),er1"
197 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x2(:2|),er2\\).w\\),er1" \
198 "mova/w.l @(0x1234:16,@(0x2:2,er2).w),er1"
199 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2\\+.w\\),er1" \
200 "mova/w.l @(0x1234:16,@er2+.w),er1"
201 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@-er2.w\\),er1" \
202 "mova/w.l @(0x1234:16,@-er2.w),er1"
203 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\+er2.w\\),er1" \
204 "mova/w.l @(0x1234:16,@+er2.w),er1"
205 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@er2-.w\\),er1" \
206 "mova/w.l @(0x1234:16,@er2-.w),er1"
207 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
208 "mova/w.l @(0x1234:16,@(0x9abc:16,er2).w),er1"
209 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
210 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2).w),er1"
211 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
212 "mova/w.l @(0x1234:16,@(0x9abc:16,r2l.b).w),er1"
213 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
214 "mova/w.l @(0x1234:16,@(0x9abc:16,r2.w).w),er1"
215 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
216 "mova/w.l @(0x1234:16,@(0x9abc:16,er2.l).w),er1"
217 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
218 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).w),er1"
219 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
220 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,r2.w).w),er1"
221 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
222 "mova/w.l @(0x1234:16,@(0x9abcdef0:32,er2.l).w),er1"
223 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abc(:16|).w\\),er1" \
224 "mova/w.l @(0x1234:16,@0x9abc:16.w),er1"
225 gdb_test "x" "mova/w.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).w\\),er1" \
226 "mova/w.l @(0x1234:16,@0x9abcdef0:32.w),er1"
227 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2.b\\),er1" \
228 "mova/l.l @(0x1234:16,@er2.b),er1"
229 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x1(:2|),er2\\).b\\),er1" \
230 "mova/l.l @(0x1234:16,@(0x1:2,er2).b),er1"
231 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2\\+.b\\),er1" \
232 "mova/l.l @(0x1234:16,@er2+.b),er1"
233 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@-er2.b\\),er1" \
234 "mova/l.l @(0x1234:16,@-er2.b),er1"
235 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\+er2.b\\),er1" \
236 "mova/l.l @(0x1234:16,@+er2.b),er1"
237 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2-.b\\),er1" \
238 "mova/l.l @(0x1234:16,@er2-.b),er1"
239 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
240 "mova/l.l @(0x1234:16,@(0x9abc:16,er2).b),er1"
241 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
242 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2).b),er1"
243 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
244 "mova/l.l @(0x1234:16,@(0x9abc:16,r2l.b).b),er1"
245 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
246 "mova/l.l @(0x1234:16,@(0x9abc:16,r2.w).b),er1"
247 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
248 "mova/l.l @(0x1234:16,@(0x9abc:16,er2.l).b),er1"
249 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
250 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).b),er1"
251 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
252 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2.w).b),er1"
253 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
254 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2.l).b),er1"
255 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abc(:16|).b\\),er1" \
256 "mova/l.l @(0x1234:16,@0x9abc:16.b),er1"
257 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).b\\),er1" \
258 "mova/l.l @(0x1234:16,@0x9abcdef0:32.b),er1"
259 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2.w\\),er1" \
260 "mova/l.l @(0x1234:16,@er2.w),er1"
261 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x2(:2|),er2\\).w\\),er1" \
262 "mova/l.l @(0x1234:16,@(0x2:2,er2).w),er1"
263 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2\\+.w\\),er1" \
264 "mova/l.l @(0x1234:16,@er2+.w),er1"
265 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@-er2.w\\),er1" \
266 "mova/l.l @(0x1234:16,@-er2.w),er1"
267 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\+er2.w\\),er1" \
268 "mova/l.l @(0x1234:16,@+er2.w),er1"
269 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@er2-.w\\),er1" \
270 "mova/l.l @(0x1234:16,@er2-.w),er1"
271 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
272 "mova/l.l @(0x1234:16,@(0x9abc:16,er2).w),er1"
273 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
274 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2).w),er1"
275 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
276 "mova/l.l @(0x1234:16,@(0x9abc:16,r2l.b).w),er1"
277 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
278 "mova/l.l @(0x1234:16,@(0x9abc:16,r2.w).w),er1"
279 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
280 "mova/l.l @(0x1234:16,@(0x9abc:16,er2.l).w),er1"
281 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
282 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2l.b).w),er1"
283 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
284 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,r2.w).w),er1"
285 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
286 "mova/l.l @(0x1234:16,@(0x9abcdef0:32,er2.l).w),er1"
287 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abc(:16|).w\\),er1" \
288 "mova/l.l @(0x1234:16,@0x9abc:16.w),er1"
289 gdb_test "x" "mova/l.l\t@\\(0x1234(:16|),@0x9abcdef0(:32|).w\\),er1" \
290 "mova/l.l @(0x1234:16,@0x9abcdef0:32.w),er1"
291 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2.b\\),er1" \
292 "mova/b.l @(0x12345678:32,@er2.b),er1"
293 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x1(:2|),er2\\).b\\),er1" \
294 "mova/b.l @(0x12345678:32,@(0x1:2,er2).b),er1"
295 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2\\+.b\\),er1" \
296 "mova/b.l @(0x12345678:32,@er2+.b),er1"
297 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@-er2.b\\),er1" \
298 "mova/b.l @(0x12345678:32,@-er2.b),er1"
299 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\+er2.b\\),er1" \
300 "mova/b.l @(0x12345678:32,@+er2.b),er1"
301 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2-.b\\),er1" \
302 "mova/b.l @(0x12345678:32,@er2-.b),er1"
303 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
304 "mova/b.l @(0x12345678:32,@(0x9abc:16,er2).b),er1"
305 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
306 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2).b),er1"
307 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
308 "mova/b.l @(0x12345678:32,@(0x9abc:16,r2l.b).b),er1"
309 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
310 "mova/b.l @(0x12345678:32,@(0x9abc:16,r2.w).b),er1"
311 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
312 "mova/b.l @(0x12345678:32,@(0x9abc:16,er2.l).b),er1"
313 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
314 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).b),er1"
315 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
316 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).b),er1"
317 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
318 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).b),er1"
319 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abc(:16|).b\\),er1" \
320 "mova/b.l @(0x12345678:32,@0x9abc:16.b),er1"
321 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).b\\),er1" \
322 "mova/b.l @(0x12345678:32,@0x9abcdef0:32.b),er1"
323 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2.w\\),er1" \
324 "mova/b.l @(0x12345678:32,@er2.w),er1"
325 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x2(:2|),er2\\).w\\),er1" \
326 "mova/b.l @(0x12345678:32,@(0x2:2,er2).w),er1"
327 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2\\+.w\\),er1" \
328 "mova/b.l @(0x12345678:32,@er2+.w),er1"
329 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@-er2.w\\),er1" \
330 "mova/b.l @(0x12345678:32,@-er2.w),er1"
331 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\+er2.w\\),er1" \
332 "mova/b.l @(0x12345678:32,@+er2.w),er1"
333 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@er2-.w\\),er1" \
334 "mova/b.l @(0x12345678:32,@er2-.w),er1"
335 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
336 "mova/b.l @(0x12345678:32,@(0x9abc:16,er2).w),er1"
337 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
338 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2).w),er1"
339 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
340 "mova/b.l @(0x12345678:32,@(0x9abc:16,r2l.b).w),er1"
341 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
342 "mova/b.l @(0x12345678:32,@(0x9abc:16,r2.w).w),er1"
343 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
344 "mova/b.l @(0x12345678:32,@(0x9abc:16,er2.l).w),er1"
345 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
346 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).w),er1"
347 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
348 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).w),er1"
349 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
350 "mova/b.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).w),er1"
351 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abc(:16|).w\\),er1" \
352 "mova/b.l @(0x12345678:32,@0x9abc:16.w),er1"
353 gdb_test "x" "mova/b.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).w\\),er1" \
354 "mova/b.l @(0x12345678:32,@0x9abcdef0:32.w),er1"
355 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2.b\\),er1" \
356 "mova/w.l @(0x12345678:32,@er2.b),er1"
357 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x1(:2|),er2\\).b\\),er1" \
358 "mova/w.l @(0x12345678:32,@(0x1:2,er2).b),er1"
359 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2\\+.b\\),er1" \
360 "mova/w.l @(0x12345678:32,@er2+.b),er1"
361 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@-er2.b\\),er1" \
362 "mova/w.l @(0x12345678:32,@-er2.b),er1"
363 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\+er2.b\\),er1" \
364 "mova/w.l @(0x12345678:32,@+er2.b),er1"
365 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2-.b\\),er1" \
366 "mova/w.l @(0x12345678:32,@er2-.b),er1"
367 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
368 "mova/w.l @(0x12345678:32,@(0x9abc:16,er2).b),er1"
369 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
370 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2).b),er1"
371 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
372 "mova/w.l @(0x12345678:32,@(0x9abc:16,r2l.b).b),er1"
373 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
374 "mova/w.l @(0x12345678:32,@(0x9abc:16,r2.w).b),er1"
375 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
376 "mova/w.l @(0x12345678:32,@(0x9abc:16,er2.l).b),er1"
377 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
378 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).b),er1"
379 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
380 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).b),er1"
381 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
382 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).b),er1"
383 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abc(:16|).b\\),er1" \
384 "mova/w.l @(0x12345678:32,@0x9abc:16.b),er1"
385 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).b\\),er1" \
386 "mova/w.l @(0x12345678:32,@0x9abcdef0:32.b),er1"
387 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2.w\\),er1" \
388 "mova/w.l @(0x12345678:32,@er2.w),er1"
389 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x2(:2|),er2\\).w\\),er1" \
390 "mova/w.l @(0x12345678:32,@(0x2:2,er2).w),er1"
391 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2\\+.w\\),er1" \
392 "mova/w.l @(0x12345678:32,@er2+.w),er1"
393 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@-er2.w\\),er1" \
394 "mova/w.l @(0x12345678:32,@-er2.w),er1"
395 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\+er2.w\\),er1" \
396 "mova/w.l @(0x12345678:32,@+er2.w),er1"
397 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@er2-.w\\),er1" \
398 "mova/w.l @(0x12345678:32,@er2-.w),er1"
399 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
400 "mova/w.l @(0x12345678:32,@(0x9abc:16,er2).w),er1"
401 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
402 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2).w),er1"
403 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
404 "mova/w.l @(0x12345678:32,@(0x9abc:16,r2l.b).w),er1"
405 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
406 "mova/w.l @(0x12345678:32,@(0x9abc:16,r2.w).w),er1"
407 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
408 "mova/w.l @(0x12345678:32,@(0x9abc:16,er2.l).w),er1"
409 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
410 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).w),er1"
411 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
412 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).w),er1"
413 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
414 "mova/w.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).w),er1"
415 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abc(:16|).w\\),er1" \
416 "mova/w.l @(0x12345678:32,@0x9abc:16.w),er1"
417 gdb_test "x" "mova/w.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).w\\),er1" \
418 "mova/w.l @(0x12345678:32,@0x9abcdef0:32.w),er1"
419 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2.b\\),er1" \
420 "mova/l.l @(0x12345678:32,@er2.b),er1"
421 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x1(:2|),er2\\).b\\),er1" \
422 "mova/l.l @(0x12345678:32,@(0x1:2,er2).b),er1"
423 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2\\+.b\\),er1" \
424 "mova/l.l @(0x12345678:32,@er2+.b),er1"
425 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@-er2.b\\),er1" \
426 "mova/l.l @(0x12345678:32,@-er2.b),er1"
427 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\+er2.b\\),er1" \
428 "mova/l.l @(0x12345678:32,@+er2.b),er1"
429 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2-.b\\),er1" \
430 "mova/l.l @(0x12345678:32,@er2-.b),er1"
431 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).b\\),er1" \
432 "mova/l.l @(0x12345678:32,@(0x9abc:16,er2).b),er1"
433 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).b\\),er1" \
434 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2).b),er1"
435 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).b\\),er1" \
436 "mova/l.l @(0x12345678:32,@(0x9abc:16,r2l.b).b),er1"
437 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).b\\),er1" \
438 "mova/l.l @(0x12345678:32,@(0x9abc:16,r2.w).b),er1"
439 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).b\\),er1" \
440 "mova/l.l @(0x12345678:32,@(0x9abc:16,er2.l).b),er1"
441 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).b\\),er1" \
442 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).b),er1"
443 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).b\\),er1" \
444 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).b),er1"
445 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).b\\),er1" \
446 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).b),er1"
447 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abc(:16|).b\\),er1" \
448 "mova/l.l @(0x12345678:32,@0x9abc:16.b),er1"
449 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).b\\),er1" \
450 "mova/l.l @(0x12345678:32,@0x9abcdef0:32.b),er1"
451 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2.w\\),er1" \
452 "mova/l.l @(0x12345678:32,@er2.w),er1"
453 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x2(:2|),er2\\).w\\),er1" \
454 "mova/l.l @(0x12345678:32,@(0x2:2,er2).w),er1"
455 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2\\+.w\\),er1" \
456 "mova/l.l @(0x12345678:32,@er2+.w),er1"
457 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@-er2.w\\),er1" \
458 "mova/l.l @(0x12345678:32,@-er2.w),er1"
459 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\+er2.w\\),er1" \
460 "mova/l.l @(0x12345678:32,@+er2.w),er1"
461 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@er2-.w\\),er1" \
462 "mova/l.l @(0x12345678:32,@er2-.w),er1"
463 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2\\).w\\),er1" \
464 "mova/l.l @(0x12345678:32,@(0x9abc:16,er2).w),er1"
465 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2\\).w\\),er1" \
466 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2).w),er1"
467 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2l.b\\).w\\),er1" \
468 "mova/l.l @(0x12345678:32,@(0x9abc:16,r2l.b).w),er1"
469 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),r2.w\\).w\\),er1" \
470 "mova/l.l @(0x12345678:32,@(0x9abc:16,r2.w).w),er1"
471 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abc(:16|),er2.l\\).w\\),er1" \
472 "mova/l.l @(0x12345678:32,@(0x9abc:16,er2.l).w),er1"
473 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2l.b\\).w\\),er1" \
474 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2l.b).w),er1"
475 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),r2.w\\).w\\),er1" \
476 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,r2.w).w),er1"
477 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@\\(0x9abcdef0(:32|),er2.l\\).w\\),er1" \
478 "mova/l.l @(0x12345678:32,@(0x9abcdef0:32,er2.l).w),er1"
479 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abc(:16|).w\\),er1" \
480 "mova/l.l @(0x12345678:32,@0x9abc:16.w),er1"
481 gdb_test "x" "mova/l.l\t@\\(0x12345678(:32|),@0x9abcdef0(:32|).w\\),er1" \
482 "mova/l.l @(0x12345678:32,@0x9abcdef0:32.w),er1"