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

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

Issue 6824078: Move most of the incremental marking write barrier to generated code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 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 | « src/spaces-inl.h ('k') | test/cctest/test-serialize.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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 __ adc(edx, 12345); 217 __ adc(edx, 12345);
218 218
219 __ add(Operand(ebx), Immediate(12)); 219 __ add(Operand(ebx), Immediate(12));
220 __ add(Operand(edx, ecx, times_4, 10000), Immediate(12)); 220 __ add(Operand(edx, ecx, times_4, 10000), Immediate(12));
221 221
222 __ and_(ebx, 12345); 222 __ and_(ebx, 12345);
223 223
224 __ cmp(ebx, 12345); 224 __ cmp(ebx, 12345);
225 __ cmp(Operand(ebx), Immediate(12)); 225 __ cmp(Operand(ebx), Immediate(12));
226 __ cmp(Operand(edx, ecx, times_4, 10000), Immediate(12)); 226 __ cmp(Operand(edx, ecx, times_4, 10000), Immediate(12));
227 __ cmpb(Operand(eax), 100);
227 228
228 __ or_(ebx, 12345); 229 __ or_(ebx, 12345);
229 230
230 __ sub(Operand(ebx), Immediate(12)); 231 __ sub(Operand(ebx), Immediate(12));
231 __ sub(Operand(edx, ecx, times_4, 10000), Immediate(12)); 232 __ sub(Operand(edx, ecx, times_4, 10000), Immediate(12));
232 __ subb(Operand(edx, ecx, times_4, 10000), 100);
233 __ subb(Operand(eax), 100);
234 __ subb(eax, Operand(edx, ecx, times_4, 10000));
235 233
236 __ xor_(ebx, 12345); 234 __ xor_(ebx, 12345);
237 235
238 __ imul(edx, ecx, 12); 236 __ imul(edx, ecx, 12);
239 __ imul(edx, ecx, 1000); 237 __ imul(edx, ecx, 1000);
240 238
241 __ cld(); 239 __ cld();
242 __ rep_movs(); 240 __ rep_movs();
243 __ rep_stos(); 241 __ rep_stos();
244 __ stos(); 242 __ stos();
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 CHECK(code->IsCode()); 464 CHECK(code->IsCode());
467 #ifdef OBJECT_PRINT 465 #ifdef OBJECT_PRINT
468 Code::cast(code)->Print(); 466 Code::cast(code)->Print();
469 byte* begin = Code::cast(code)->instruction_start(); 467 byte* begin = Code::cast(code)->instruction_start();
470 byte* end = begin + Code::cast(code)->instruction_size(); 468 byte* end = begin + Code::cast(code)->instruction_size();
471 disasm::Disassembler::Disassemble(stdout, begin, end); 469 disasm::Disassembler::Disassemble(stdout, begin, end);
472 #endif 470 #endif
473 } 471 }
474 472
475 #undef __ 473 #undef __
OLDNEW
« no previous file with comments | « src/spaces-inl.h ('k') | test/cctest/test-serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698