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

Side by Side Diff: src/x64/disasm-x64.cc

Issue 1396283004: Revert of [x64] Use vcvtlsi2sd when AVX is enabled (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <assert.h> 5 #include <assert.h>
6 #include <stdarg.h> 6 #include <stdarg.h>
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #if V8_TARGET_ARCH_X64 9 #if V8_TARGET_ARCH_X64
10 10
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 switch (opcode) { 990 switch (opcode) {
991 case 0x10: 991 case 0x10:
992 AppendToBuffer("vmovsd %s,", NameOfXMMRegister(regop)); 992 AppendToBuffer("vmovsd %s,", NameOfXMMRegister(regop));
993 current += PrintRightXMMOperand(current); 993 current += PrintRightXMMOperand(current);
994 break; 994 break;
995 case 0x11: 995 case 0x11:
996 AppendToBuffer("vmovsd "); 996 AppendToBuffer("vmovsd ");
997 current += PrintRightXMMOperand(current); 997 current += PrintRightXMMOperand(current);
998 AppendToBuffer(",%s", NameOfXMMRegister(regop)); 998 AppendToBuffer(",%s", NameOfXMMRegister(regop));
999 break; 999 break;
1000 case 0x2a:
1001 AppendToBuffer("vcvtlsi2sd %s,%s,", NameOfXMMRegister(regop),
1002 NameOfXMMRegister(vvvv));
1003 current += PrintRightOperand(current);
1004 break;
1005 case 0x58: 1000 case 0x58:
1006 AppendToBuffer("vaddsd %s,%s,", NameOfXMMRegister(regop), 1001 AppendToBuffer("vaddsd %s,%s,", NameOfXMMRegister(regop),
1007 NameOfXMMRegister(vvvv)); 1002 NameOfXMMRegister(vvvv));
1008 current += PrintRightXMMOperand(current); 1003 current += PrintRightXMMOperand(current);
1009 break; 1004 break;
1010 case 0x59: 1005 case 0x59:
1011 AppendToBuffer("vmulsd %s,%s,", NameOfXMMRegister(regop), 1006 AppendToBuffer("vmulsd %s,%s,", NameOfXMMRegister(regop),
1012 NameOfXMMRegister(vvvv)); 1007 NameOfXMMRegister(vvvv));
1013 current += PrintRightXMMOperand(current); 1008 current += PrintRightXMMOperand(current);
1014 break; 1009 break;
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 2369 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
2375 fprintf(f, " "); 2370 fprintf(f, " ");
2376 } 2371 }
2377 fprintf(f, " %s\n", buffer.start()); 2372 fprintf(f, " %s\n", buffer.start());
2378 } 2373 }
2379 } 2374 }
2380 2375
2381 } // namespace disasm 2376 } // namespace disasm
2382 2377
2383 #endif // V8_TARGET_ARCH_X64 2378 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698