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 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 break; | 1233 break; |
1234 case 0x50: | 1234 case 0x50: |
1235 AppendToBuffer("vmovmskpd %s,", NameOfCPURegister(regop)); | 1235 AppendToBuffer("vmovmskpd %s,", NameOfCPURegister(regop)); |
1236 current += PrintRightXMMOperand(current); | 1236 current += PrintRightXMMOperand(current); |
1237 break; | 1237 break; |
1238 case 0x54: | 1238 case 0x54: |
1239 AppendToBuffer("vandpd %s,%s,", NameOfXMMRegister(regop), | 1239 AppendToBuffer("vandpd %s,%s,", NameOfXMMRegister(regop), |
1240 NameOfXMMRegister(vvvv)); | 1240 NameOfXMMRegister(vvvv)); |
1241 current += PrintRightXMMOperand(current); | 1241 current += PrintRightXMMOperand(current); |
1242 break; | 1242 break; |
| 1243 case 0x56: |
| 1244 AppendToBuffer("vorpd %s,%s,", NameOfXMMRegister(regop), |
| 1245 NameOfXMMRegister(vvvv)); |
| 1246 current += PrintRightXMMOperand(current); |
| 1247 break; |
1243 case 0x57: | 1248 case 0x57: |
1244 AppendToBuffer("vxorpd %s,%s,", NameOfXMMRegister(regop), | 1249 AppendToBuffer("vxorpd %s,%s,", NameOfXMMRegister(regop), |
1245 NameOfXMMRegister(vvvv)); | 1250 NameOfXMMRegister(vvvv)); |
1246 current += PrintRightXMMOperand(current); | 1251 current += PrintRightXMMOperand(current); |
1247 break; | 1252 break; |
1248 case 0x6e: | 1253 case 0x6e: |
1249 AppendToBuffer("vmov%c %s,", vex_w() ? 'q' : 'd', | 1254 AppendToBuffer("vmov%c %s,", vex_w() ? 'q' : 'd', |
1250 NameOfXMMRegister(regop)); | 1255 NameOfXMMRegister(regop)); |
1251 current += PrintRightOperand(current); | 1256 current += PrintRightOperand(current); |
1252 break; | 1257 break; |
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2449 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 2454 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
2450 fprintf(f, " "); | 2455 fprintf(f, " "); |
2451 } | 2456 } |
2452 fprintf(f, " %s\n", buffer.start()); | 2457 fprintf(f, " %s\n", buffer.start()); |
2453 } | 2458 } |
2454 } | 2459 } |
2455 | 2460 |
2456 } // namespace disasm | 2461 } // namespace disasm |
2457 | 2462 |
2458 #endif // V8_TARGET_ARCH_X64 | 2463 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |