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

Side by Side Diff: src/x64/assembler-x64.h

Issue 146213004: A64: Synchronize with r16849. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « src/win32-math.cc ('k') | src/x64/builtins-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 (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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 // fpu, tsc, cx8, cmov, mmx, sse, sse2, fxsr, syscall 476 // fpu, tsc, cx8, cmov, mmx, sse, sse2, fxsr, syscall
477 static const uint64_t kDefaultCpuFeatures = (1 << CMOV); 477 static const uint64_t kDefaultCpuFeatures = (1 << CMOV);
478 478
479 #ifdef DEBUG 479 #ifdef DEBUG
480 static bool initialized_; 480 static bool initialized_;
481 #endif 481 #endif
482 static uint64_t supported_; 482 static uint64_t supported_;
483 static uint64_t found_by_runtime_probing_only_; 483 static uint64_t found_by_runtime_probing_only_;
484 484
485 friend class ExternalReference; 485 friend class ExternalReference;
486 friend class PlatformFeatureScope;
486 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); 487 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
487 }; 488 };
488 489
489 490
490 class Assembler : public AssemblerBase { 491 class Assembler : public AssemblerBase {
491 private: 492 private:
492 // We check before assembling an instruction that there is sufficient 493 // We check before assembling an instruction that there is sufficient
493 // space to write an instruction and its relocation information. 494 // space to write an instruction and its relocation information.
494 // The relocation writer's position must be kGap bytes above the end of 495 // The relocation writer's position must be kGap bytes above the end of
495 // the generated instructions. This leaves enough space for the 496 // the generated instructions. This leaves enough space for the
(...skipping 1142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 private: 1639 private:
1639 Assembler* assembler_; 1640 Assembler* assembler_;
1640 #ifdef DEBUG 1641 #ifdef DEBUG
1641 int space_before_; 1642 int space_before_;
1642 #endif 1643 #endif
1643 }; 1644 };
1644 1645
1645 } } // namespace v8::internal 1646 } } // namespace v8::internal
1646 1647
1647 #endif // V8_X64_ASSEMBLER_X64_H_ 1648 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/win32-math.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698