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 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1031 case 0x2a: | 1031 case 0x2a: |
1032 AppendToBuffer("vcvtlsi2sd %s,%s,", NameOfXMMRegister(regop), | 1032 AppendToBuffer("vcvtlsi2sd %s,%s,", NameOfXMMRegister(regop), |
1033 NameOfXMMRegister(vvvv)); | 1033 NameOfXMMRegister(vvvv)); |
1034 current += PrintRightOperand(current); | 1034 current += PrintRightOperand(current); |
1035 break; | 1035 break; |
1036 case 0x2c: | 1036 case 0x2c: |
1037 AppendToBuffer("vcvttsd2si%s %s,", vex_w() ? "q" : "", | 1037 AppendToBuffer("vcvttsd2si%s %s,", vex_w() ? "q" : "", |
1038 NameOfCPURegister(regop)); | 1038 NameOfCPURegister(regop)); |
1039 current += PrintRightXMMOperand(current); | 1039 current += PrintRightXMMOperand(current); |
1040 break; | 1040 break; |
| 1041 case 0x51: |
| 1042 AppendToBuffer("vsqrtsd %s,%s,", NameOfXMMRegister(regop), |
| 1043 NameOfXMMRegister(vvvv)); |
| 1044 current += PrintRightXMMOperand(current); |
| 1045 break; |
1041 case 0x58: | 1046 case 0x58: |
1042 AppendToBuffer("vaddsd %s,%s,", NameOfXMMRegister(regop), | 1047 AppendToBuffer("vaddsd %s,%s,", NameOfXMMRegister(regop), |
1043 NameOfXMMRegister(vvvv)); | 1048 NameOfXMMRegister(vvvv)); |
1044 current += PrintRightXMMOperand(current); | 1049 current += PrintRightXMMOperand(current); |
1045 break; | 1050 break; |
1046 case 0x59: | 1051 case 0x59: |
1047 AppendToBuffer("vmulsd %s,%s,", NameOfXMMRegister(regop), | 1052 AppendToBuffer("vmulsd %s,%s,", NameOfXMMRegister(regop), |
1048 NameOfXMMRegister(vvvv)); | 1053 NameOfXMMRegister(vvvv)); |
1049 current += PrintRightXMMOperand(current); | 1054 current += PrintRightXMMOperand(current); |
1050 break; | 1055 break; |
(...skipping 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2454 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 2459 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
2455 fprintf(f, " "); | 2460 fprintf(f, " "); |
2456 } | 2461 } |
2457 fprintf(f, " %s\n", buffer.start()); | 2462 fprintf(f, " %s\n", buffer.start()); |
2458 } | 2463 } |
2459 } | 2464 } |
2460 | 2465 |
2461 } // namespace disasm | 2466 } // namespace disasm |
2462 | 2467 |
2463 #endif // V8_TARGET_ARCH_X64 | 2468 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |