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 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1242 break; | 1242 break; |
1243 case 0x29: | 1243 case 0x29: |
1244 AppendToBuffer("vmovaps "); | 1244 AppendToBuffer("vmovaps "); |
1245 current += PrintRightXMMOperand(current); | 1245 current += PrintRightXMMOperand(current); |
1246 AppendToBuffer(",%s", NameOfXMMRegister(regop)); | 1246 AppendToBuffer(",%s", NameOfXMMRegister(regop)); |
1247 break; | 1247 break; |
1248 case 0x2e: | 1248 case 0x2e: |
1249 AppendToBuffer("vucomiss %s,", NameOfXMMRegister(regop)); | 1249 AppendToBuffer("vucomiss %s,", NameOfXMMRegister(regop)); |
1250 current += PrintRightXMMOperand(current); | 1250 current += PrintRightXMMOperand(current); |
1251 break; | 1251 break; |
| 1252 case 0x50: |
| 1253 AppendToBuffer("vmovmskps %s,", NameOfCPURegister(regop)); |
| 1254 current += PrintRightXMMOperand(current); |
| 1255 break; |
1252 case 0x54: | 1256 case 0x54: |
1253 AppendToBuffer("vandps %s,%s,", NameOfXMMRegister(regop), | 1257 AppendToBuffer("vandps %s,%s,", NameOfXMMRegister(regop), |
1254 NameOfXMMRegister(vvvv)); | 1258 NameOfXMMRegister(vvvv)); |
1255 current += PrintRightXMMOperand(current); | 1259 current += PrintRightXMMOperand(current); |
1256 break; | 1260 break; |
1257 case 0x57: | 1261 case 0x57: |
1258 AppendToBuffer("vxorps %s,%s,", NameOfXMMRegister(regop), | 1262 AppendToBuffer("vxorps %s,%s,", NameOfXMMRegister(regop), |
1259 NameOfXMMRegister(vvvv)); | 1263 NameOfXMMRegister(vvvv)); |
1260 current += PrintRightXMMOperand(current); | 1264 current += PrintRightXMMOperand(current); |
1261 break; | 1265 break; |
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2608 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { | 2612 for (int i = 6 - static_cast<int>(pc - prev_pc); i >= 0; i--) { |
2609 fprintf(f, " "); | 2613 fprintf(f, " "); |
2610 } | 2614 } |
2611 fprintf(f, " %s\n", buffer.start()); | 2615 fprintf(f, " %s\n", buffer.start()); |
2612 } | 2616 } |
2613 } | 2617 } |
2614 | 2618 |
2615 } // namespace disasm | 2619 } // namespace disasm |
2616 | 2620 |
2617 #endif // V8_TARGET_ARCH_X64 | 2621 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |