Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: src/x64/disasm-x64.cc

Issue 1411023002: [x64] Emit vmovmskpd when AVX is enabled. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698