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

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

Issue 1756863002: [wasm] Int64Lowering of I64Shl on ia32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Forgot to turn off the test for arm. Created 4 years, 9 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/ia32/macro-assembler-ia32.cc ('k') | test/cctest/wasm/test-run-wasm-64.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 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 __ xor_(edx, 3); 112 __ xor_(edx, 3);
113 __ nop(); 113 __ nop();
114 __ cpuid(); 114 __ cpuid();
115 __ movsx_b(edx, ecx); 115 __ movsx_b(edx, ecx);
116 __ movsx_w(edx, ecx); 116 __ movsx_w(edx, ecx);
117 __ movzx_b(edx, ecx); 117 __ movzx_b(edx, ecx);
118 __ movzx_w(edx, ecx); 118 __ movzx_w(edx, ecx);
119 119
120 __ nop(); 120 __ nop();
121 __ imul(edx, ecx); 121 __ imul(edx, ecx);
122 __ shld(edx, ecx); 122 __ shld(edx, ecx, 10);
123 __ shld_cl(edx, ecx);
123 __ shrd(edx, ecx); 124 __ shrd(edx, ecx);
124 __ bts(edx, ecx); 125 __ bts(edx, ecx);
125 __ bts(Operand(ebx, ecx, times_4, 0), ecx); 126 __ bts(Operand(ebx, ecx, times_4, 0), ecx);
126 __ nop(); 127 __ nop();
127 __ pushad(); 128 __ pushad();
128 __ popad(); 129 __ popad();
129 __ pushfd(); 130 __ pushfd();
130 __ popfd(); 131 __ popfd();
131 __ push(Immediate(12)); 132 __ push(Immediate(12));
132 __ push(Immediate(23456)); 133 __ push(Immediate(23456));
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 __ ror(Operand(ebx, ecx, times_4, 10000), 1); 208 __ ror(Operand(ebx, ecx, times_4, 10000), 1);
208 __ ror(Operand(ebx, ecx, times_4, 10000), 6); 209 __ ror(Operand(ebx, ecx, times_4, 10000), 6);
209 __ ror_cl(Operand(ebx, ecx, times_4, 10000)); 210 __ ror_cl(Operand(ebx, ecx, times_4, 10000));
210 __ sar(edx, 1); 211 __ sar(edx, 1);
211 __ sar(edx, 6); 212 __ sar(edx, 6);
212 __ sar_cl(edx); 213 __ sar_cl(edx);
213 __ sar(Operand(ebx, ecx, times_4, 10000), 1); 214 __ sar(Operand(ebx, ecx, times_4, 10000), 1);
214 __ sar(Operand(ebx, ecx, times_4, 10000), 6); 215 __ sar(Operand(ebx, ecx, times_4, 10000), 6);
215 __ sar_cl(Operand(ebx, ecx, times_4, 10000)); 216 __ sar_cl(Operand(ebx, ecx, times_4, 10000));
216 __ sbb(edx, Operand(ebx, ecx, times_4, 10000)); 217 __ sbb(edx, Operand(ebx, ecx, times_4, 10000));
217 __ shld(edx, Operand(ebx, ecx, times_4, 10000));
218 __ shl(edx, 1); 218 __ shl(edx, 1);
219 __ shl(edx, 6); 219 __ shl(edx, 6);
220 __ shl_cl(edx); 220 __ shl_cl(edx);
221 __ shl(Operand(ebx, ecx, times_4, 10000), 1); 221 __ shl(Operand(ebx, ecx, times_4, 10000), 1);
222 __ shl(Operand(ebx, ecx, times_4, 10000), 6); 222 __ shl(Operand(ebx, ecx, times_4, 10000), 6);
223 __ shl_cl(Operand(ebx, ecx, times_4, 10000)); 223 __ shl_cl(Operand(ebx, ecx, times_4, 10000));
224 __ shrd(edx, Operand(ebx, ecx, times_4, 10000)); 224 __ shrd(edx, Operand(ebx, ecx, times_4, 10000));
225 __ shr(edx, 1); 225 __ shr(edx, 1);
226 __ shr(edx, 7); 226 __ shr(edx, 7);
227 __ shr_cl(edx); 227 __ shr_cl(edx);
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 #ifdef OBJECT_PRINT 684 #ifdef OBJECT_PRINT
685 OFStream os(stdout); 685 OFStream os(stdout);
686 code->Print(os); 686 code->Print(os);
687 byte* begin = code->instruction_start(); 687 byte* begin = code->instruction_start();
688 byte* end = begin + code->instruction_size(); 688 byte* end = begin + code->instruction_size();
689 disasm::Disassembler::Disassemble(stdout, begin, end); 689 disasm::Disassembler::Disassemble(stdout, begin, end);
690 #endif 690 #endif
691 } 691 }
692 692
693 #undef __ 693 #undef __
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | test/cctest/wasm/test-run-wasm-64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698