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

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

Issue 619663002: [turbofan] support all shift operands on ia32 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/ia32/assembler-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 __ lea(edx, Operand(ebx, ecx, times_4, 10000)); 194 __ lea(edx, Operand(ebx, ecx, times_4, 10000));
195 __ or_(edx, 12345); 195 __ or_(edx, 12345);
196 __ or_(edx, Operand(ebx, ecx, times_4, 10000)); 196 __ or_(edx, Operand(ebx, ecx, times_4, 10000));
197 197
198 __ nop(); 198 __ nop();
199 199
200 __ rcl(edx, 1); 200 __ rcl(edx, 1);
201 __ rcl(edx, 7); 201 __ rcl(edx, 7);
202 __ rcr(edx, 1); 202 __ rcr(edx, 1);
203 __ rcr(edx, 7); 203 __ rcr(edx, 7);
204 __ ror(edx, 1);
205 __ ror(edx, 6);
206 __ ror_cl(edx);
207 __ ror(Operand(ebx, ecx, times_4, 10000), 1);
208 __ ror(Operand(ebx, ecx, times_4, 10000), 6);
209 __ ror_cl(Operand(ebx, ecx, times_4, 10000));
204 __ sar(edx, 1); 210 __ sar(edx, 1);
205 __ sar(edx, 6); 211 __ sar(edx, 6);
206 __ sar_cl(edx); 212 __ sar_cl(edx);
207 __ sar(Operand(ebx, ecx, times_4, 10000), 1); 213 __ sar(Operand(ebx, ecx, times_4, 10000), 1);
208 __ sar(Operand(ebx, ecx, times_4, 10000), 6); 214 __ sar(Operand(ebx, ecx, times_4, 10000), 6);
209 __ sar_cl(Operand(ebx, ecx, times_4, 10000)); 215 __ sar_cl(Operand(ebx, ecx, times_4, 10000));
210 __ sbb(edx, Operand(ebx, ecx, times_4, 10000)); 216 __ sbb(edx, Operand(ebx, ecx, times_4, 10000));
211 __ shld(edx, Operand(ebx, ecx, times_4, 10000)); 217 __ shld(edx, Operand(ebx, ecx, times_4, 10000));
212 __ shl(edx, 1); 218 __ shl(edx, 1);
213 __ shl(edx, 6); 219 __ shl(edx, 6);
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 #ifdef OBJECT_PRINT 487 #ifdef OBJECT_PRINT
482 OFStream os(stdout); 488 OFStream os(stdout);
483 code->Print(os); 489 code->Print(os);
484 byte* begin = code->instruction_start(); 490 byte* begin = code->instruction_start();
485 byte* end = begin + code->instruction_size(); 491 byte* end = begin + code->instruction_size();
486 disasm::Disassembler::Disassemble(stdout, begin, end); 492 disasm::Disassembler::Disassemble(stdout, begin, end);
487 #endif 493 #endif
488 } 494 }
489 495
490 #undef __ 496 #undef __
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698