OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <assert.h> | 5 #include <assert.h> |
6 #include <stdarg.h> | 6 #include <stdarg.h> |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include "src/v8.h" | 9 #include "src/v8.h" |
10 | 10 |
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1081 if (opcode == 0x54) { | 1081 if (opcode == 0x54) { |
1082 mnemonic = "andpd"; | 1082 mnemonic = "andpd"; |
1083 } else if (opcode == 0x56) { | 1083 } else if (opcode == 0x56) { |
1084 mnemonic = "orpd"; | 1084 mnemonic = "orpd"; |
1085 } else if (opcode == 0x57) { | 1085 } else if (opcode == 0x57) { |
1086 mnemonic = "xorpd"; | 1086 mnemonic = "xorpd"; |
1087 } else if (opcode == 0x2E) { | 1087 } else if (opcode == 0x2E) { |
1088 mnemonic = "ucomisd"; | 1088 mnemonic = "ucomisd"; |
1089 } else if (opcode == 0x2F) { | 1089 } else if (opcode == 0x2F) { |
1090 mnemonic = "comisd"; | 1090 mnemonic = "comisd"; |
| 1091 } else if (opcode == 0x76) { |
| 1092 mnemonic = "pcmpeqd"; |
1091 } else { | 1093 } else { |
1092 UnimplementedInstruction(); | 1094 UnimplementedInstruction(); |
1093 } | 1095 } |
1094 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); | 1096 AppendToBuffer("%s %s,", mnemonic, NameOfXMMRegister(regop)); |
1095 current += PrintRightXMMOperand(current); | 1097 current += PrintRightXMMOperand(current); |
1096 } | 1098 } |
1097 } | 1099 } |
1098 } else if (group_1_prefix_ == 0xF2) { | 1100 } else if (group_1_prefix_ == 0xF2) { |
1099 // Beginning of instructions with prefix 0xF2. | 1101 // Beginning of instructions with prefix 0xF2. |
1100 | 1102 |
(...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1908 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 1910 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
1909 fprintf(f, " "); | 1911 fprintf(f, " "); |
1910 } | 1912 } |
1911 fprintf(f, " %s\n", buffer.start()); | 1913 fprintf(f, " %s\n", buffer.start()); |
1912 } | 1914 } |
1913 } | 1915 } |
1914 | 1916 |
1915 } // namespace disasm | 1917 } // namespace disasm |
1916 | 1918 |
1917 #endif // V8_TARGET_ARCH_X64 | 1919 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |