| 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_IA32) | 8 #if defined(TARGET_ARCH_IA32) |
| 9 #include "platform/utils.h" | 9 #include "platform/utils.h" |
| 10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
| (...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1385 data += PrintRightOperand(data); | 1385 data += PrintRightOperand(data); |
| 1386 } else if (IsTwoXmmRegInstruction(f0byte)) { | 1386 } else if (IsTwoXmmRegInstruction(f0byte)) { |
| 1387 int mod, regop, rm; | 1387 int mod, regop, rm; |
| 1388 GetModRm(*data, &mod, ®op, &rm); | 1388 GetModRm(*data, &mod, ®op, &rm); |
| 1389 Print(f0mnem); | 1389 Print(f0mnem); |
| 1390 Print(" "); | 1390 Print(" "); |
| 1391 PrintXmmRegister(regop); | 1391 PrintXmmRegister(regop); |
| 1392 Print(","); | 1392 Print(","); |
| 1393 data += PrintRightXmmOperand(data); | 1393 data += PrintRightXmmOperand(data); |
| 1394 } else if (f0byte == 0x50) { | 1394 } else if (f0byte == 0x50) { |
| 1395 Print("movmskpd "); | 1395 Print("movmskps "); |
| 1396 int mod, regop, rm; | 1396 int mod, regop, rm; |
| 1397 GetModRm(*data, &mod, ®op, &rm); | 1397 GetModRm(*data, &mod, ®op, &rm); |
| 1398 PrintCPURegister(regop); | 1398 PrintCPURegister(regop); |
| 1399 Print(","); | 1399 Print(","); |
| 1400 data += PrintRightXmmOperand(data); | 1400 data += PrintRightXmmOperand(data); |
| 1401 } else if (f0byte == 0xC2 || f0byte == 0xC6) { | 1401 } else if (f0byte == 0xC2 || f0byte == 0xC6) { |
| 1402 if (f0byte == 0xC2) | 1402 if (f0byte == 0xC2) |
| 1403 Print("cmpps "); | 1403 Print("cmpps "); |
| 1404 else | 1404 else |
| 1405 Print("shufps "); | 1405 Print("shufps "); |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1818 pc); | 1818 pc); |
| 1819 pc += instruction_length; | 1819 pc += instruction_length; |
| 1820 } | 1820 } |
| 1821 | 1821 |
| 1822 return; | 1822 return; |
| 1823 } | 1823 } |
| 1824 | 1824 |
| 1825 } // namespace dart | 1825 } // namespace dart |
| 1826 | 1826 |
| 1827 #endif // defined TARGET_ARCH_IA32 | 1827 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |