OLD | NEW |
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 Probe(false); | 218 Probe(false); |
219 return supported_; | 219 return supported_; |
220 } | 220 } |
221 | 221 |
222 static bool IsSupported(CpuFeature f) { | 222 static bool IsSupported(CpuFeature f) { |
223 return (supported_ & (1u << f)) != 0; | 223 return (supported_ & (1u << f)) != 0; |
224 } | 224 } |
225 | 225 |
226 static inline bool SupportsCrankshaft(); | 226 static inline bool SupportsCrankshaft(); |
227 | 227 |
| 228 static inline bool SupportsSimd128(); |
| 229 |
228 static inline unsigned icache_line_size() { | 230 static inline unsigned icache_line_size() { |
229 DCHECK(icache_line_size_ != 0); | 231 DCHECK(icache_line_size_ != 0); |
230 return icache_line_size_; | 232 return icache_line_size_; |
231 } | 233 } |
232 | 234 |
233 static inline unsigned dcache_line_size() { | 235 static inline unsigned dcache_line_size() { |
234 DCHECK(dcache_line_size_ != 0); | 236 DCHECK(dcache_line_size_ != 0); |
235 return dcache_line_size_; | 237 return dcache_line_size_; |
236 } | 238 } |
237 | 239 |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1262 std::vector<ConstantPoolEntry> shared_entries; | 1264 std::vector<ConstantPoolEntry> shared_entries; |
1263 }; | 1265 }; |
1264 | 1266 |
1265 Label emitted_label_; // Records pc_offset of emitted pool | 1267 Label emitted_label_; // Records pc_offset of emitted pool |
1266 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1268 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1267 }; | 1269 }; |
1268 | 1270 |
1269 } // namespace internal | 1271 } // namespace internal |
1270 } // namespace v8 | 1272 } // namespace v8 |
1271 #endif // V8_ASSEMBLER_H_ | 1273 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |