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

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

Issue 637193002: X87: [turbofan] support all shift operands on ia32 (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@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
« no previous file with comments | « src/x87/assembler-x87.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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 #ifdef OBJECT_PRINT 414 #ifdef OBJECT_PRINT
409 OFStream os(stdout); 415 OFStream os(stdout);
410 code->Print(os); 416 code->Print(os);
411 byte* begin = code->instruction_start(); 417 byte* begin = code->instruction_start();
412 byte* end = begin + code->instruction_size(); 418 byte* end = begin + code->instruction_size();
413 disasm::Disassembler::Disassemble(stdout, begin, end); 419 disasm::Disassembler::Disassemble(stdout, begin, end);
414 #endif 420 #endif
415 } 421 }
416 422
417 #undef __ 423 #undef __
OLDNEW
« no previous file with comments | « src/x87/assembler-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698