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

Side by Side Diff: src/compiler/x64/code-generator-x64.cc

Issue 1413183002: [x64] Emit vmovss 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 | « no previous file | src/x64/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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 case kCheckedLoadUint16: 1315 case kCheckedLoadUint16:
1316 ASSEMBLE_CHECKED_LOAD_INTEGER(movzxwl); 1316 ASSEMBLE_CHECKED_LOAD_INTEGER(movzxwl);
1317 break; 1317 break;
1318 case kCheckedLoadWord32: 1318 case kCheckedLoadWord32:
1319 ASSEMBLE_CHECKED_LOAD_INTEGER(movl); 1319 ASSEMBLE_CHECKED_LOAD_INTEGER(movl);
1320 break; 1320 break;
1321 case kCheckedLoadWord64: 1321 case kCheckedLoadWord64:
1322 ASSEMBLE_CHECKED_LOAD_INTEGER(movq); 1322 ASSEMBLE_CHECKED_LOAD_INTEGER(movq);
1323 break; 1323 break;
1324 case kCheckedLoadFloat32: 1324 case kCheckedLoadFloat32:
1325 ASSEMBLE_CHECKED_LOAD_FLOAT(movss); 1325 ASSEMBLE_CHECKED_LOAD_FLOAT(Movss);
1326 break; 1326 break;
1327 case kCheckedLoadFloat64: 1327 case kCheckedLoadFloat64:
1328 ASSEMBLE_CHECKED_LOAD_FLOAT(Movsd); 1328 ASSEMBLE_CHECKED_LOAD_FLOAT(Movsd);
1329 break; 1329 break;
1330 case kCheckedStoreWord8: 1330 case kCheckedStoreWord8:
1331 ASSEMBLE_CHECKED_STORE_INTEGER(movb); 1331 ASSEMBLE_CHECKED_STORE_INTEGER(movb);
1332 break; 1332 break;
1333 case kCheckedStoreWord16: 1333 case kCheckedStoreWord16:
1334 ASSEMBLE_CHECKED_STORE_INTEGER(movw); 1334 ASSEMBLE_CHECKED_STORE_INTEGER(movw);
1335 break; 1335 break;
1336 case kCheckedStoreWord32: 1336 case kCheckedStoreWord32:
1337 ASSEMBLE_CHECKED_STORE_INTEGER(movl); 1337 ASSEMBLE_CHECKED_STORE_INTEGER(movl);
1338 break; 1338 break;
1339 case kCheckedStoreWord64: 1339 case kCheckedStoreWord64:
1340 ASSEMBLE_CHECKED_STORE_INTEGER(movq); 1340 ASSEMBLE_CHECKED_STORE_INTEGER(movq);
1341 break; 1341 break;
1342 case kCheckedStoreFloat32: 1342 case kCheckedStoreFloat32:
1343 ASSEMBLE_CHECKED_STORE_FLOAT(movss); 1343 ASSEMBLE_CHECKED_STORE_FLOAT(Movss);
1344 break; 1344 break;
1345 case kCheckedStoreFloat64: 1345 case kCheckedStoreFloat64:
1346 ASSEMBLE_CHECKED_STORE_FLOAT(Movsd); 1346 ASSEMBLE_CHECKED_STORE_FLOAT(Movsd);
1347 break; 1347 break;
1348 case kX64StackCheck: 1348 case kX64StackCheck:
1349 __ CompareRoot(rsp, Heap::kStackLimitRootIndex); 1349 __ CompareRoot(rsp, Heap::kStackLimitRootIndex);
1350 break; 1350 break;
1351 } 1351 }
1352 } // NOLINT(readability/fn_size) 1352 } // NOLINT(readability/fn_size)
1353 1353
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 1831 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
1832 __ Nop(padding_size); 1832 __ Nop(padding_size);
1833 } 1833 }
1834 } 1834 }
1835 1835
1836 #undef __ 1836 #undef __
1837 1837
1838 } // namespace compiler 1838 } // namespace compiler
1839 } // namespace internal 1839 } // namespace internal
1840 } // namespace v8 1840 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698