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 #if V8_TARGET_ARCH_X64 | 9 #if V8_TARGET_ARCH_X64 |
10 | 10 |
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 break; | 1184 break; |
1185 case 0x29: | 1185 case 0x29: |
1186 AppendToBuffer("vmovapd "); | 1186 AppendToBuffer("vmovapd "); |
1187 current += PrintRightXMMOperand(current); | 1187 current += PrintRightXMMOperand(current); |
1188 AppendToBuffer(",%s", NameOfXMMRegister(regop)); | 1188 AppendToBuffer(",%s", NameOfXMMRegister(regop)); |
1189 break; | 1189 break; |
1190 case 0x2e: | 1190 case 0x2e: |
1191 AppendToBuffer("vucomisd %s,", NameOfXMMRegister(regop)); | 1191 AppendToBuffer("vucomisd %s,", NameOfXMMRegister(regop)); |
1192 current += PrintRightXMMOperand(current); | 1192 current += PrintRightXMMOperand(current); |
1193 break; | 1193 break; |
| 1194 case 0x50: |
| 1195 AppendToBuffer("vmovmskpd %s,", NameOfCPURegister(regop)); |
| 1196 current += PrintRightXMMOperand(current); |
| 1197 break; |
1194 case 0x54: | 1198 case 0x54: |
1195 AppendToBuffer("vandpd %s,%s,", NameOfXMMRegister(regop), | 1199 AppendToBuffer("vandpd %s,%s,", NameOfXMMRegister(regop), |
1196 NameOfXMMRegister(vvvv)); | 1200 NameOfXMMRegister(vvvv)); |
1197 current += PrintRightXMMOperand(current); | 1201 current += PrintRightXMMOperand(current); |
1198 break; | 1202 break; |
1199 case 0x57: | 1203 case 0x57: |
1200 AppendToBuffer("vxorpd %s,%s,", NameOfXMMRegister(regop), | 1204 AppendToBuffer("vxorpd %s,%s,", NameOfXMMRegister(regop), |
1201 NameOfXMMRegister(vvvv)); | 1205 NameOfXMMRegister(vvvv)); |
1202 current += PrintRightXMMOperand(current); | 1206 current += PrintRightXMMOperand(current); |
1203 break; | 1207 break; |
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2394 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 2398 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
2395 fprintf(f, " "); | 2399 fprintf(f, " "); |
2396 } | 2400 } |
2397 fprintf(f, " %s\n", buffer.start()); | 2401 fprintf(f, " %s\n", buffer.start()); |
2398 } | 2402 } |
2399 } | 2403 } |
2400 | 2404 |
2401 } // namespace disasm | 2405 } // namespace disasm |
2402 | 2406 |
2403 #endif // V8_TARGET_ARCH_X64 | 2407 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |