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

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

Issue 397024: Add missing case for shr in IA-32 disassembler (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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/ia32/disasm-ia32.cc ('k') | no next file » | 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 __ rcl(edx, 7); 194 __ rcl(edx, 7);
195 __ sar(edx, 1); 195 __ sar(edx, 1);
196 __ sar(edx, 6); 196 __ sar(edx, 6);
197 __ sar_cl(edx); 197 __ sar_cl(edx);
198 __ sbb(edx, Operand(ebx, ecx, times_4, 10000)); 198 __ sbb(edx, Operand(ebx, ecx, times_4, 10000));
199 __ shld(edx, Operand(ebx, ecx, times_4, 10000)); 199 __ shld(edx, Operand(ebx, ecx, times_4, 10000));
200 __ shl(edx, 1); 200 __ shl(edx, 1);
201 __ shl(edx, 6); 201 __ shl(edx, 6);
202 __ shl_cl(edx); 202 __ shl_cl(edx);
203 __ shrd(edx, Operand(ebx, ecx, times_4, 10000)); 203 __ shrd(edx, Operand(ebx, ecx, times_4, 10000));
204 __ shr(edx, 1);
204 __ shr(edx, 7); 205 __ shr(edx, 7);
205 __ shr_cl(edx); 206 __ shr_cl(edx);
206 207
207 208
208 // Immediates 209 // Immediates
209 210
210 __ adc(edx, 12345); 211 __ adc(edx, 12345);
211 212
212 __ add(Operand(ebx), Immediate(12)); 213 __ add(Operand(ebx), Immediate(12));
213 __ add(Operand(edx, ecx, times_4, 10000), Immediate(12)); 214 __ add(Operand(edx, ecx, times_4, 10000), Immediate(12));
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 CHECK(code->IsCode()); 400 CHECK(code->IsCode());
400 #ifdef DEBUG 401 #ifdef DEBUG
401 Code::cast(code)->Print(); 402 Code::cast(code)->Print();
402 byte* begin = Code::cast(code)->instruction_start(); 403 byte* begin = Code::cast(code)->instruction_start();
403 byte* end = begin + Code::cast(code)->instruction_size(); 404 byte* end = begin + Code::cast(code)->instruction_size();
404 disasm::Disassembler::Disassemble(stdout, begin, end); 405 disasm::Disassembler::Disassemble(stdout, begin, end);
405 #endif 406 #endif
406 } 407 }
407 408
408 #undef __ 409 #undef __
OLDNEW
« no previous file with comments | « src/ia32/disasm-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698