| OLD | NEW |
| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 static uint32_t GetCacheType(); | 73 static uint32_t GetCacheType(); |
| 74 | 74 |
| 75 // I and D cache line size in bytes. | 75 // I and D cache line size in bytes. |
| 76 static unsigned icache_line_size_; | 76 static unsigned icache_line_size_; |
| 77 static unsigned dcache_line_size_; | 77 static unsigned dcache_line_size_; |
| 78 | 78 |
| 79 #ifdef DEBUG | 79 #ifdef DEBUG |
| 80 static bool initialized_; | 80 static bool initialized_; |
| 81 #endif | 81 #endif |
| 82 | 82 |
| 83 // This isn't used (and is always 0), but it is required by V8. |
| 84 static unsigned found_by_runtime_probing_only_; |
| 85 |
| 86 friend class PlatformFeatureScope; |
| 83 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); | 87 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); |
| 84 }; | 88 }; |
| 85 | 89 |
| 86 } } // namespace v8::internal | 90 } } // namespace v8::internal |
| 87 | 91 |
| 88 #endif // V8_A64_CPU_A64_H_ | 92 #endif // V8_A64_CPU_A64_H_ |
| OLD | NEW |