Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: runtime/vm/disassembler_ia32.cc

Issue 183923026: Inline of Float64x2 operations round 1 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | runtime/vm/disassembler_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 (*data == 0x5E) || (*data == 0x5D) || (*data == 0x5F) || 1641 (*data == 0x5E) || (*data == 0x5D) || (*data == 0x5F) ||
1642 (*data == 0x51) || (*data == 0x5A)) { 1642 (*data == 0x51) || (*data == 0x5A)) {
1643 const char* mnemonic = PackedDoubleMnemonic(*data); 1643 const char* mnemonic = PackedDoubleMnemonic(*data);
1644 int mod, regop, rm; 1644 int mod, regop, rm;
1645 GetModRm(*(data+1), &mod, &regop, &rm); 1645 GetModRm(*(data+1), &mod, &regop, &rm);
1646 Print(mnemonic); 1646 Print(mnemonic);
1647 PrintXmmRegister(regop); 1647 PrintXmmRegister(regop);
1648 Print(","); 1648 Print(",");
1649 PrintXmmRegister(rm); 1649 PrintXmmRegister(rm);
1650 data += 2; 1650 data += 2;
1651 } else if (*data == 0xC6) {
1652 int mod, regop, rm;
1653 data++;
1654 GetModRm(*data, &mod, &regop, &rm);
1655 Print("shufpd ");
1656 PrintXmmRegister(regop);
1657 Print(",");
1658 data += PrintRightXmmOperand(data);
1659 int comparison = *data;
1660 Print(" [");
1661 PrintHex(comparison);
1662 Print("]");
1663 data++;
1651 } else { 1664 } else {
1652 UNIMPLEMENTED(); 1665 UNIMPLEMENTED();
1653 } 1666 }
1654 } else if (*data == 0x90) { 1667 } else if (*data == 0x90) {
1655 data++; 1668 data++;
1656 Print("nop"); 1669 Print("nop");
1657 } else { 1670 } else {
1658 UNIMPLEMENTED(); 1671 UNIMPLEMENTED();
1659 } 1672 }
1660 break; 1673 break;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1857 pc); 1870 pc);
1858 pc += instruction_length; 1871 pc += instruction_length;
1859 } 1872 }
1860 1873
1861 return; 1874 return;
1862 } 1875 }
1863 1876
1864 } // namespace dart 1877 } // namespace dart
1865 1878
1866 #endif // defined TARGET_ARCH_IA32 1879 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « runtime/vm/assembler_x64_test.cc ('k') | runtime/vm/disassembler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698