| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/disassembler.h" | 5 #include "vm/disassembler.h" |
| 6 | 6 |
| 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. | 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
| 8 #if defined(TARGET_ARCH_X64) | 8 #if defined(TARGET_ARCH_X64) |
| 9 #include "platform/utils.h" | 9 #include "platform/utils.h" |
| 10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
| (...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1275 } else if (opcode == 0x54) { | 1275 } else if (opcode == 0x54) { |
| 1276 mnemonic = "andpd"; | 1276 mnemonic = "andpd"; |
| 1277 } else if (opcode == 0x56) { | 1277 } else if (opcode == 0x56) { |
| 1278 mnemonic = "orpd"; | 1278 mnemonic = "orpd"; |
| 1279 } else if (opcode == 0x57) { | 1279 } else if (opcode == 0x57) { |
| 1280 mnemonic = "xorpd"; | 1280 mnemonic = "xorpd"; |
| 1281 } else if (opcode == 0x2E) { | 1281 } else if (opcode == 0x2E) { |
| 1282 mnemonic = "ucomisd"; | 1282 mnemonic = "ucomisd"; |
| 1283 } else if (opcode == 0x2F) { | 1283 } else if (opcode == 0x2F) { |
| 1284 mnemonic = "comisd"; | 1284 mnemonic = "comisd"; |
| 1285 } else if (opcode == 0xFE) { |
| 1286 mnemonic = "paddd"; |
| 1287 } else if (opcode == 0xFA) { |
| 1288 mnemonic = "psubd"; |
| 1285 } else { | 1289 } else { |
| 1286 UnimplementedInstruction(); | 1290 UnimplementedInstruction(); |
| 1287 } | 1291 } |
| 1288 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); | 1292 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); |
| 1289 current += PrintRightXMMOperand(current); | 1293 current += PrintRightXMMOperand(current); |
| 1290 } | 1294 } |
| 1291 } | 1295 } |
| 1292 } else if (group_1_prefix_ == 0xF2) { | 1296 } else if (group_1_prefix_ == 0xF2) { |
| 1293 // Beginning of instructions with prefix 0xF2. | 1297 // Beginning of instructions with prefix 0xF2. |
| 1294 | 1298 |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1928 pc); | 1932 pc); |
| 1929 pc += instruction_length; | 1933 pc += instruction_length; |
| 1930 } | 1934 } |
| 1931 | 1935 |
| 1932 return; | 1936 return; |
| 1933 } | 1937 } |
| 1934 | 1938 |
| 1935 } // namespace dart | 1939 } // namespace dart |
| 1936 | 1940 |
| 1937 #endif // defined TARGET_ARCH_X64 | 1941 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |