OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 AppendToBuffer("movdqa "); | 1085 AppendToBuffer("movdqa "); |
1086 current += PrintRightXMMOperand(current); | 1086 current += PrintRightXMMOperand(current); |
1087 AppendToBuffer(", %s", NameOfXMMRegister(regop)); | 1087 AppendToBuffer(", %s", NameOfXMMRegister(regop)); |
1088 } else if (opcode == 0xD6) { | 1088 } else if (opcode == 0xD6) { |
1089 AppendToBuffer("movq "); | 1089 AppendToBuffer("movq "); |
1090 current += PrintRightXMMOperand(current); | 1090 current += PrintRightXMMOperand(current); |
1091 AppendToBuffer(", %s", NameOfXMMRegister(regop)); | 1091 AppendToBuffer(", %s", NameOfXMMRegister(regop)); |
1092 } else if (opcode == 0x50) { | 1092 } else if (opcode == 0x50) { |
1093 AppendToBuffer("movmskpd %s,", NameOfCPURegister(regop)); | 1093 AppendToBuffer("movmskpd %s,", NameOfCPURegister(regop)); |
1094 current += PrintRightXMMOperand(current); | 1094 current += PrintRightXMMOperand(current); |
| 1095 } else if (opcode == 0x76) { |
| 1096 AppendToBuffer("pcmpeqd %s,", NameOfXMMRegister(regop)); |
| 1097 current += PrintRightXMMOperand(current); |
1095 } else { | 1098 } else { |
1096 const char* mnemonic = "?"; | 1099 const char* mnemonic = "?"; |
1097 if (opcode == 0x54) { | 1100 if (opcode == 0x54) { |
1098 mnemonic = "andpd"; | 1101 mnemonic = "andpd"; |
1099 } else if (opcode == 0x56) { | 1102 } else if (opcode == 0x56) { |
1100 mnemonic = "orpd"; | 1103 mnemonic = "orpd"; |
1101 } else if (opcode == 0x57) { | 1104 } else if (opcode == 0x57) { |
1102 mnemonic = "xorpd"; | 1105 mnemonic = "xorpd"; |
1103 } else if (opcode == 0x2E) { | 1106 } else if (opcode == 0x2E) { |
1104 mnemonic = "ucomisd"; | 1107 mnemonic = "ucomisd"; |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1865 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 1868 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
1866 fprintf(f, " "); | 1869 fprintf(f, " "); |
1867 } | 1870 } |
1868 fprintf(f, " %s\n", buffer.start()); | 1871 fprintf(f, " %s\n", buffer.start()); |
1869 } | 1872 } |
1870 } | 1873 } |
1871 | 1874 |
1872 } // namespace disasm | 1875 } // namespace disasm |
1873 | 1876 |
1874 #endif // V8_TARGET_ARCH_X64 | 1877 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |