OLD | NEW |
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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 case 0x2a: | 1044 case 0x2a: |
1045 AppendToBuffer("%s %s,%s,", vex_w() ? "vcvtqsi2sd" : "vcvtlsi2sd", | 1045 AppendToBuffer("%s %s,%s,", vex_w() ? "vcvtqsi2sd" : "vcvtlsi2sd", |
1046 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); | 1046 NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); |
1047 current += PrintRightOperand(current); | 1047 current += PrintRightOperand(current); |
1048 break; | 1048 break; |
1049 case 0x2c: | 1049 case 0x2c: |
1050 AppendToBuffer("vcvttsd2si%s %s,", vex_w() ? "q" : "", | 1050 AppendToBuffer("vcvttsd2si%s %s,", vex_w() ? "q" : "", |
1051 NameOfCPURegister(regop)); | 1051 NameOfCPURegister(regop)); |
1052 current += PrintRightXMMOperand(current); | 1052 current += PrintRightXMMOperand(current); |
1053 break; | 1053 break; |
| 1054 case 0x2d: |
| 1055 AppendToBuffer("vcvtsd2si%s %s,", vex_w() ? "q" : "", |
| 1056 NameOfCPURegister(regop)); |
| 1057 current += PrintRightXMMOperand(current); |
| 1058 break; |
1054 case 0x51: | 1059 case 0x51: |
1055 AppendToBuffer("vsqrtsd %s,%s,", NameOfXMMRegister(regop), | 1060 AppendToBuffer("vsqrtsd %s,%s,", NameOfXMMRegister(regop), |
1056 NameOfXMMRegister(vvvv)); | 1061 NameOfXMMRegister(vvvv)); |
1057 current += PrintRightXMMOperand(current); | 1062 current += PrintRightXMMOperand(current); |
1058 break; | 1063 break; |
1059 case 0x58: | 1064 case 0x58: |
1060 AppendToBuffer("vaddsd %s,%s,", NameOfXMMRegister(regop), | 1065 AppendToBuffer("vaddsd %s,%s,", NameOfXMMRegister(regop), |
1061 NameOfXMMRegister(vvvv)); | 1066 NameOfXMMRegister(vvvv)); |
1062 current += PrintRightXMMOperand(current); | 1067 current += PrintRightXMMOperand(current); |
1063 break; | 1068 break; |
(...skipping 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2480 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--) { |
2481 fprintf(f, " "); | 2486 fprintf(f, " "); |
2482 } | 2487 } |
2483 fprintf(f, " %s\n", buffer.start()); | 2488 fprintf(f, " %s\n", buffer.start()); |
2484 } | 2489 } |
2485 } | 2490 } |
2486 | 2491 |
2487 } // namespace disasm | 2492 } // namespace disasm |
2488 | 2493 |
2489 #endif // V8_TARGET_ARCH_X64 | 2494 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |