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

Side by Side Diff: src/cpu.h

Issue 331803003: Emulate MLS on pre-ARMv6T2. Cleaned up thumbee vs. thumb2 confusion. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Cleaned up thumbee vs. thumb2 confusion. Created 6 years, 6 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
OLDNEW
1 // Copyright 2006-2013 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 // This module contains the architecture-specific code. This make the rest of 5 // This module contains the architecture-specific code. This make the rest of
6 // the code less dependent on differences between different processor 6 // the code less dependent on differences between different processor
7 // architecture. 7 // architecture.
8 // The classes have the same definition for all architectures. The 8 // The classes have the same definition for all architectures. The
9 // implementation for a particular architecture is put in cpu_<arch>.cc. 9 // implementation for a particular architecture is put in cpu_<arch>.cc.
10 // The build system then uses the implementation for the target architecture. 10 // The build system then uses the implementation for the target architecture.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool has_sse() const { return has_sse_; } 65 bool has_sse() const { return has_sse_; }
66 bool has_sse2() const { return has_sse2_; } 66 bool has_sse2() const { return has_sse2_; }
67 bool has_sse3() const { return has_sse3_; } 67 bool has_sse3() const { return has_sse3_; }
68 bool has_ssse3() const { return has_ssse3_; } 68 bool has_ssse3() const { return has_ssse3_; }
69 bool has_sse41() const { return has_sse41_; } 69 bool has_sse41() const { return has_sse41_; }
70 bool has_sse42() const { return has_sse42_; } 70 bool has_sse42() const { return has_sse42_; }
71 71
72 // arm features 72 // arm features
73 bool has_idiva() const { return has_idiva_; } 73 bool has_idiva() const { return has_idiva_; }
74 bool has_neon() const { return has_neon_; } 74 bool has_neon() const { return has_neon_; }
75 bool has_thumbee() const { return has_thumbee_; } 75 bool has_thumb2() const { return has_thumb2_; }
76 bool has_vfp() const { return has_vfp_; } 76 bool has_vfp() const { return has_vfp_; }
77 bool has_vfp3() const { return has_vfp3_; } 77 bool has_vfp3() const { return has_vfp3_; }
78 bool has_vfp3_d32() const { return has_vfp3_d32_; } 78 bool has_vfp3_d32() const { return has_vfp3_d32_; }
79 79
80 // Flush instruction cache. 80 // Flush instruction cache.
81 static void FlushICache(void* start, size_t size); 81 static void FlushICache(void* start, size_t size);
82 82
83 private: 83 private:
84 char vendor_[13]; 84 char vendor_[13];
85 int stepping_; 85 int stepping_;
(...skipping 10 matching lines...) Expand all
96 bool has_sahf_; 96 bool has_sahf_;
97 bool has_mmx_; 97 bool has_mmx_;
98 bool has_sse_; 98 bool has_sse_;
99 bool has_sse2_; 99 bool has_sse2_;
100 bool has_sse3_; 100 bool has_sse3_;
101 bool has_ssse3_; 101 bool has_ssse3_;
102 bool has_sse41_; 102 bool has_sse41_;
103 bool has_sse42_; 103 bool has_sse42_;
104 bool has_idiva_; 104 bool has_idiva_;
105 bool has_neon_; 105 bool has_neon_;
106 bool has_thumbee_; 106 bool has_thumb2_;
107 bool has_vfp_; 107 bool has_vfp_;
108 bool has_vfp3_; 108 bool has_vfp3_;
109 bool has_vfp3_d32_; 109 bool has_vfp3_d32_;
110 }; 110 };
111 111
112 } } // namespace v8::internal 112 } } // namespace v8::internal
113 113
114 #endif // V8_CPU_H_ 114 #endif // V8_CPU_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/cpu.cc » ('j') | src/cpu.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698