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

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

Issue 1475343002: Revert of [turbofan] Implemented the TruncateFloat32ToInt64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/macro-assembler-x64.h » ('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 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 if (mod == 3) { 982 if (mod == 3) {
983 AppendToBuffer(",%s", NameOfXMMRegister(vvvv)); 983 AppendToBuffer(",%s", NameOfXMMRegister(vvvv));
984 } 984 }
985 AppendToBuffer(",%s", NameOfXMMRegister(regop)); 985 AppendToBuffer(",%s", NameOfXMMRegister(regop));
986 break; 986 break;
987 case 0x2a: 987 case 0x2a:
988 AppendToBuffer("%s %s,%s,", vex_w() ? "vcvtqsi2ss" : "vcvtlsi2ss", 988 AppendToBuffer("%s %s,%s,", vex_w() ? "vcvtqsi2ss" : "vcvtlsi2ss",
989 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); 989 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv));
990 current += PrintRightOperand(current); 990 current += PrintRightOperand(current);
991 break; 991 break;
992 case 0x2c:
993 AppendToBuffer("vcvttss2si%s %s,", vex_w() ? "q" : "",
994 NameOfCPURegister(regop));
995 current += PrintRightXMMOperand(current);
996 break;
997 case 0x58: 992 case 0x58:
998 AppendToBuffer("vaddss %s,%s,", NameOfXMMRegister(regop), 993 AppendToBuffer("vaddss %s,%s,", NameOfXMMRegister(regop),
999 NameOfXMMRegister(vvvv)); 994 NameOfXMMRegister(vvvv));
1000 current += PrintRightXMMOperand(current); 995 current += PrintRightXMMOperand(current);
1001 break; 996 break;
1002 case 0x59: 997 case 0x59:
1003 AppendToBuffer("vmulss %s,%s,", NameOfXMMRegister(regop), 998 AppendToBuffer("vmulss %s,%s,", NameOfXMMRegister(regop),
1004 NameOfXMMRegister(vvvv)); 999 NameOfXMMRegister(vvvv));
1005 current += PrintRightXMMOperand(current); 1000 current += PrintRightXMMOperand(current);
1006 break; 1001 break;
(...skipping 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after
2490 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { 2485 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) {
2491 fprintf(f, " "); 2486 fprintf(f, " ");
2492 } 2487 }
2493 fprintf(f, " %s\n", buffer.start()); 2488 fprintf(f, " %s\n", buffer.start());
2494 } 2489 }
2495 } 2490 }
2496 2491
2497 } // namespace disasm 2492 } // namespace disasm
2498 2493
2499 #endif // V8_TARGET_ARCH_X64 2494 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698