OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 current += PrintRightOperand(current); | 1039 current += PrintRightOperand(current); |
1040 AppendToBuffer(", %s", NameOfXMMRegister(regop)); | 1040 AppendToBuffer(", %s", NameOfXMMRegister(regop)); |
1041 } else { | 1041 } else { |
1042 const char* mnemonic = "?"; | 1042 const char* mnemonic = "?"; |
1043 if (opcode == 0x57) { | 1043 if (opcode == 0x57) { |
1044 mnemonic = "xorpd"; | 1044 mnemonic = "xorpd"; |
1045 } else if (opcode == 0x2E) { | 1045 } else if (opcode == 0x2E) { |
1046 mnemonic = "ucomisd"; | 1046 mnemonic = "ucomisd"; |
1047 } else if (opcode == 0x2F) { | 1047 } else if (opcode == 0x2F) { |
1048 mnemonic = "comisd"; | 1048 mnemonic = "comisd"; |
| 1049 } else if (opcode == 0x50) { |
| 1050 mnemonic = "movmskpd"; |
1049 } else { | 1051 } else { |
1050 UnimplementedInstruction(); | 1052 UnimplementedInstruction(); |
1051 } | 1053 } |
1052 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); | 1054 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); |
1053 current += PrintRightXMMOperand(current); | 1055 current += PrintRightXMMOperand(current); |
1054 } | 1056 } |
1055 } | 1057 } |
1056 } else if (group_1_prefix_ == 0xF2) { | 1058 } else if (group_1_prefix_ == 0xF2) { |
1057 // Beginning of instructions with prefix 0xF2. | 1059 // Beginning of instructions with prefix 0xF2. |
1058 | 1060 |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1722 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 1724 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
1723 fprintf(f, " "); | 1725 fprintf(f, " "); |
1724 } | 1726 } |
1725 fprintf(f, " %s\n", buffer.start()); | 1727 fprintf(f, " %s\n", buffer.start()); |
1726 } | 1728 } |
1727 } | 1729 } |
1728 | 1730 |
1729 } // namespace disasm | 1731 } // namespace disasm |
1730 | 1732 |
1731 #endif // V8_TARGET_ARCH_X64 | 1733 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |