Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1401)

Side by Side Diff: test/cctest/test-disasm-arm.cc

Issue 174317: Reapply ARM root array change to reduce const pool size... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 COMPARE(eor(r4, r5, Operand(r6, LSL, 0)), 116 COMPARE(eor(r4, r5, Operand(r6, LSL, 0)),
117 "e0254006 eor r4, r5, r6"); 117 "e0254006 eor r4, r5, r6");
118 COMPARE(eor(r4, r5, Operand(r7, LSL, 1), SetCC), 118 COMPARE(eor(r4, r5, Operand(r7, LSL, 1), SetCC),
119 "e0354087 eors r4, r5, r7, lsl #1"); 119 "e0354087 eors r4, r5, r7, lsl #1");
120 COMPARE(eor(r4, r5, Operand(r8, LSL, 2), LeaveCC, ne), 120 COMPARE(eor(r4, r5, Operand(r8, LSL, 2), LeaveCC, ne),
121 "10254108 eorne r4, r5, r8, lsl #2"); 121 "10254108 eorne r4, r5, r8, lsl #2");
122 COMPARE(eor(r4, r5, Operand(r9, LSL, 3), SetCC, cs), 122 COMPARE(eor(r4, r5, Operand(r9, LSL, 3), SetCC, cs),
123 "20354189 eorcss r4, r5, r9, lsl #3"); 123 "20354189 eorcss r4, r5, r9, lsl #3");
124 124
125 COMPARE(sub(r5, r6, Operand(r10, LSL, 31), LeaveCC, hs), 125 COMPARE(sub(r5, r6, Operand(r10, LSL, 31), LeaveCC, hs),
126 "20465f8a subcs r5, r6, sl, lsl #31"); 126 "20465f8a subcs r5, r6, r10, lsl #31");
127 COMPARE(sub(r5, r6, Operand(r10, LSL, 30), SetCC, cc), 127 COMPARE(sub(r5, r6, Operand(r10, LSL, 30), SetCC, cc),
128 "30565f0a subccs r5, r6, sl, lsl #30"); 128 "30565f0a subccs r5, r6, r10, lsl #30");
129 COMPARE(sub(r5, r6, Operand(r10, LSL, 24), LeaveCC, lo), 129 COMPARE(sub(r5, r6, Operand(r10, LSL, 24), LeaveCC, lo),
130 "30465c0a subcc r5, r6, sl, lsl #24"); 130 "30465c0a subcc r5, r6, r10, lsl #24");
131 COMPARE(sub(r5, r6, Operand(r10, LSL, 16), SetCC, mi), 131 COMPARE(sub(r5, r6, Operand(r10, LSL, 16), SetCC, mi),
132 "4056580a submis r5, r6, sl, lsl #16"); 132 "4056580a submis r5, r6, r10, lsl #16");
133 133
134 COMPARE(rsb(r6, r7, Operand(fp)), 134 COMPARE(rsb(r6, r7, Operand(fp)),
135 "e067600b rsb r6, r7, fp"); 135 "e067600b rsb r6, r7, fp");
136 COMPARE(rsb(r6, r7, Operand(fp, LSR, 1)), 136 COMPARE(rsb(r6, r7, Operand(fp, LSR, 1)),
137 "e06760ab rsb r6, r7, fp, lsr #1"); 137 "e06760ab rsb r6, r7, fp, lsr #1");
138 COMPARE(rsb(r6, r7, Operand(fp, LSR, 0), SetCC), 138 COMPARE(rsb(r6, r7, Operand(fp, LSR, 0), SetCC),
139 "e077602b rsbs r6, r7, fp, lsr #32"); 139 "e077602b rsbs r6, r7, fp, lsr #32");
140 COMPARE(rsb(r6, r7, Operand(fp, LSR, 31), LeaveCC, pl), 140 COMPARE(rsb(r6, r7, Operand(fp, LSR, 31), LeaveCC, pl),
141 "50676fab rsbpl r6, r7, fp, lsr #31"); 141 "50676fab rsbpl r6, r7, fp, lsr #31");
142 142
(...skipping 13 matching lines...) Expand all
156 COMPARE(adc(r5, sp, Operand(ip), SetCC), 156 COMPARE(adc(r5, sp, Operand(ip), SetCC),
157 "e0bd500c adcs r5, sp, ip"); 157 "e0bd500c adcs r5, sp, ip");
158 COMPARE(adc(r8, lr, Operand(ip, ASR, 31), SetCC, vc), 158 COMPARE(adc(r8, lr, Operand(ip, ASR, 31), SetCC, vc),
159 "70be8fcc adcvcs r8, lr, ip, asr #31"); 159 "70be8fcc adcvcs r8, lr, ip, asr #31");
160 160
161 COMPARE(sbc(r7, r1, Operand(ip, ROR, 1), LeaveCC, hi), 161 COMPARE(sbc(r7, r1, Operand(ip, ROR, 1), LeaveCC, hi),
162 "80c170ec sbchi r7, r1, ip, ror #1"); 162 "80c170ec sbchi r7, r1, ip, ror #1");
163 COMPARE(sbc(r7, r9, Operand(ip, ROR, 4)), 163 COMPARE(sbc(r7, r9, Operand(ip, ROR, 4)),
164 "e0c9726c sbc r7, r9, ip, ror #4"); 164 "e0c9726c sbc r7, r9, ip, ror #4");
165 COMPARE(sbc(r7, r10, Operand(ip), SetCC), 165 COMPARE(sbc(r7, r10, Operand(ip), SetCC),
166 "e0da700c sbcs r7, sl, ip"); 166 "e0da700c sbcs r7, r10, ip");
167 COMPARE(sbc(r7, ip, Operand(ip, ROR, 31), SetCC, hi), 167 COMPARE(sbc(r7, ip, Operand(ip, ROR, 31), SetCC, hi),
168 "80dc7fec sbchis r7, ip, ip, ror #31"); 168 "80dc7fec sbchis r7, ip, ip, ror #31");
169 169
170 COMPARE(rsc(r7, r8, Operand(ip, LSL, r0)), 170 COMPARE(rsc(r7, r8, Operand(ip, LSL, r0)),
171 "e0e8701c rsc r7, r8, ip, lsl r0"); 171 "e0e8701c rsc r7, r8, ip, lsl r0");
172 COMPARE(rsc(r7, r8, Operand(ip, LSL, r1)), 172 COMPARE(rsc(r7, r8, Operand(ip, LSL, r1)),
173 "e0e8711c rsc r7, r8, ip, lsl r1"); 173 "e0e8711c rsc r7, r8, ip, lsl r1");
174 COMPARE(rsc(r7, r8, Operand(ip), SetCC), 174 COMPARE(rsc(r7, r8, Operand(ip), SetCC),
175 "e0f8700c rscs r7, r8, ip"); 175 "e0f8700c rscs r7, r8, ip");
176 COMPARE(rsc(r7, r8, Operand(ip, LSL, r3), SetCC, ls), 176 COMPARE(rsc(r7, r8, Operand(ip, LSL, r3), SetCC, ls),
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 COMPARE(bic(r0, lr, Operand(r1), LeaveCC, vs), 233 COMPARE(bic(r0, lr, Operand(r1), LeaveCC, vs),
234 "61ce0001 bicvs r0, lr, r1"); 234 "61ce0001 bicvs r0, lr, r1");
235 COMPARE(bic(r0, r9, Operand(r2), LeaveCC, vc), 235 COMPARE(bic(r0, r9, Operand(r2), LeaveCC, vc),
236 "71c90002 bicvc r0, r9, r2"); 236 "71c90002 bicvc r0, r9, r2");
237 COMPARE(bic(r0, r5, Operand(r3), SetCC), 237 COMPARE(bic(r0, r5, Operand(r3), SetCC),
238 "e1d50003 bics r0, r5, r3"); 238 "e1d50003 bics r0, r5, r3");
239 COMPARE(bic(r0, r1, Operand(r4), SetCC, pl), 239 COMPARE(bic(r0, r1, Operand(r4), SetCC, pl),
240 "51d10004 bicpls r0, r1, r4"); 240 "51d10004 bicpls r0, r1, r4");
241 241
242 COMPARE(mvn(r10, Operand(r1)), 242 COMPARE(mvn(r10, Operand(r1)),
243 "e1e0a001 mvn sl, r1"); 243 "e1e0a001 mvn r10, r1");
244 COMPARE(mvn(r9, Operand(r2)), 244 COMPARE(mvn(r9, Operand(r2)),
245 "e1e09002 mvn r9, r2"); 245 "e1e09002 mvn r9, r2");
246 COMPARE(mvn(r0, Operand(r3), SetCC), 246 COMPARE(mvn(r0, Operand(r3), SetCC),
247 "e1f00003 mvns r0, r3"); 247 "e1f00003 mvns r0, r3");
248 COMPARE(mvn(r5, Operand(r4), SetCC, cc), 248 COMPARE(mvn(r5, Operand(r4), SetCC, cc),
249 "31f05004 mvnccs r5, r4"); 249 "31f05004 mvnccs r5, r4");
250 250
251 VERIFY_RUN(); 251 VERIFY_RUN();
252 } 252 }
253 253
(...skipping 18 matching lines...) Expand all
272 "e2244801 eor r4, r4, #65536"); 272 "e2244801 eor r4, r4, #65536");
273 COMPARE(eor(r4, r3, Operand(0x00100000), SetCC), 273 COMPARE(eor(r4, r3, Operand(0x00100000), SetCC),
274 "e2334601 eors r4, r3, #1048576"); 274 "e2334601 eors r4, r3, #1048576");
275 COMPARE(eor(r4, r2, Operand(0x01000000), LeaveCC, cs), 275 COMPARE(eor(r4, r2, Operand(0x01000000), LeaveCC, cs),
276 "22224401 eorcs r4, r2, #16777216"); 276 "22224401 eorcs r4, r2, #16777216");
277 COMPARE(eor(r4, r1, Operand(0x10000000), SetCC, cc), 277 COMPARE(eor(r4, r1, Operand(0x10000000), SetCC, cc),
278 "32314201 eorccs r4, r1, #268435456"); 278 "32314201 eorccs r4, r1, #268435456");
279 279
280 VERIFY_RUN(); 280 VERIFY_RUN();
281 } 281 }
OLDNEW
« no previous file with comments | « src/serialize.cc ('k') | test/cctest/test-serialize.cc » ('j') | test/cctest/test-serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698