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

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

Issue 2084017: Version 2.2.11... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 7 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
« no previous file with comments | « test/cctest/test-debug.cc ('k') | test/cctest/test-log-stack-tracer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 __ subb(eax, Operand(edx, ecx, times_4, 10000)); 230 __ subb(eax, Operand(edx, ecx, times_4, 10000));
231 231
232 __ xor_(ebx, 12345); 232 __ xor_(ebx, 12345);
233 233
234 __ imul(edx, ecx, 12); 234 __ imul(edx, ecx, 12);
235 __ imul(edx, ecx, 1000); 235 __ imul(edx, ecx, 1000);
236 236
237 __ cld(); 237 __ cld();
238 __ rep_movs(); 238 __ rep_movs();
239 __ rep_stos(); 239 __ rep_stos();
240 __ stos();
240 241
241 __ sub(edx, Operand(ebx, ecx, times_4, 10000)); 242 __ sub(edx, Operand(ebx, ecx, times_4, 10000));
242 __ sub(edx, Operand(ebx)); 243 __ sub(edx, Operand(ebx));
243 244
244 __ test(edx, Immediate(12345)); 245 __ test(edx, Immediate(12345));
245 __ test(edx, Operand(ebx, ecx, times_8, 10000)); 246 __ test(edx, Operand(ebx, ecx, times_8, 10000));
246 __ nop(); 247 __ nop();
247 248
248 __ xor_(edx, 12345); 249 __ xor_(edx, 12345);
249 __ xor_(edx, Operand(ebx, ecx, times_8, 10000)); 250 __ xor_(edx, Operand(ebx, ecx, times_8, 10000));
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 CHECK(code->IsCode()); 416 CHECK(code->IsCode());
416 #ifdef DEBUG 417 #ifdef DEBUG
417 Code::cast(code)->Print(); 418 Code::cast(code)->Print();
418 byte* begin = Code::cast(code)->instruction_start(); 419 byte* begin = Code::cast(code)->instruction_start();
419 byte* end = begin + Code::cast(code)->instruction_size(); 420 byte* end = begin + Code::cast(code)->instruction_size();
420 disasm::Disassembler::Disassemble(stdout, begin, end); 421 disasm::Disassembler::Disassemble(stdout, begin, end);
421 #endif 422 #endif
422 } 423 }
423 424
424 #undef __ 425 #undef __
OLDNEW
« no previous file with comments | « test/cctest/test-debug.cc ('k') | test/cctest/test-log-stack-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698