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

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

Issue 2252863003: [turbofan] Add Float32(Max|Min) machine operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Type is number now. Created 4 years, 3 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.h ('k') | src/x64/macro-assembler-x64.h » ('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 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698