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

Side by Side Diff: src/assembler.cc

Issue 1336313002: VectorICs: ia32 store ics need a virtual register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: One more comments. Created 5 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/assembler.h ('k') | src/flag-definitions.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1380
1381 1381
1382 ExternalReference 1382 ExternalReference
1383 ExternalReference::debug_restarter_frame_function_pointer_address( 1383 ExternalReference::debug_restarter_frame_function_pointer_address(
1384 Isolate* isolate) { 1384 Isolate* isolate) {
1385 return ExternalReference( 1385 return ExternalReference(
1386 isolate->debug()->restarter_frame_function_pointer_address()); 1386 isolate->debug()->restarter_frame_function_pointer_address());
1387 } 1387 }
1388 1388
1389 1389
1390 ExternalReference ExternalReference::vector_store_virtual_register(
1391 Isolate* isolate) {
1392 return ExternalReference(isolate->vector_store_virtual_register_address());
1393 }
1394
1395
1390 double power_helper(double x, double y) { 1396 double power_helper(double x, double y) {
1391 int y_int = static_cast<int>(y); 1397 int y_int = static_cast<int>(y);
1392 if (y == y_int) { 1398 if (y == y_int) {
1393 return power_double_int(x, y_int); // Returns 1 if exponent is 0. 1399 return power_double_int(x, y_int); // Returns 1 if exponent is 0.
1394 } 1400 }
1395 if (y == 0.5) { 1401 if (y == 0.5) {
1396 return (std::isinf(x)) ? V8_INFINITY 1402 return (std::isinf(x)) ? V8_INFINITY
1397 : fast_sqrt(x + 0.0); // Convert -0 to +0. 1403 : fast_sqrt(x + 0.0); // Convert -0 to +0.
1398 } 1404 }
1399 if (y == -0.5) { 1405 if (y == -0.5) {
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1820 1826
1821 1827
1822 void Assembler::DataAlign(int m) { 1828 void Assembler::DataAlign(int m) {
1823 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 1829 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
1824 while ((pc_offset() & (m - 1)) != 0) { 1830 while ((pc_offset() & (m - 1)) != 0) {
1825 db(0); 1831 db(0);
1826 } 1832 }
1827 } 1833 }
1828 } // namespace internal 1834 } // namespace internal
1829 } // namespace v8 1835 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698