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 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |