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

Side by Side Diff: src/a64/cpu-a64.cc

Issue 133443009: A64: Synchronize with r17441. (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/a64/cpu-a64.h ('k') | src/a64/deoptimizer-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 24 matching lines...) Expand all
35 #include "a64/utils-a64.h" 35 #include "a64/utils-a64.h"
36 36
37 namespace v8 { 37 namespace v8 {
38 namespace internal { 38 namespace internal {
39 39
40 #ifdef DEBUG 40 #ifdef DEBUG
41 bool CpuFeatures::initialized_ = false; 41 bool CpuFeatures::initialized_ = false;
42 #endif 42 #endif
43 unsigned CpuFeatures::supported_ = 0; 43 unsigned CpuFeatures::supported_ = 0;
44 unsigned CpuFeatures::found_by_runtime_probing_only_ = 0; 44 unsigned CpuFeatures::found_by_runtime_probing_only_ = 0;
45 unsigned CpuFeatures::cross_compile_ = 0;
45 46
46 // Initialise to smallest possible cache size. 47 // Initialise to smallest possible cache size.
47 unsigned CpuFeatures::dcache_line_size_ = 1; 48 unsigned CpuFeatures::dcache_line_size_ = 1;
48 unsigned CpuFeatures::icache_line_size_ = 1; 49 unsigned CpuFeatures::icache_line_size_ = 1;
49 50
50 51
51 void CPU::SetUp() { 52 void CPU::SetUp() {
52 CpuFeatures::Probe(); 53 CpuFeatures::Probe();
53 } 54 }
54 55
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // Copy the content of the cache type register to a core register. 190 // Copy the content of the cache type register to a core register.
190 __asm__ __volatile__ ("mrs %[ctr], ctr_el0" // NOLINT 191 __asm__ __volatile__ ("mrs %[ctr], ctr_el0" // NOLINT
191 : [ctr] "=r" (cache_type_register)); 192 : [ctr] "=r" (cache_type_register));
192 return cache_type_register; 193 return cache_type_register;
193 #endif 194 #endif
194 } 195 }
195 196
196 } } // namespace v8::internal 197 } } // namespace v8::internal
197 198
198 #endif // V8_TARGET_ARCH_A64 199 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/cpu-a64.h ('k') | src/a64/deoptimizer-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698