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

Side by Side Diff: src/assembler.h

Issue 2135573003: [Simd128] Add CpuFeatures::SupportsSimd128 method. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 5 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
« no previous file with comments | « src/arm64/assembler-arm64-inl.h ('k') | src/ia32/assembler-ia32-inl.h » ('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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « src/arm64/assembler-arm64-inl.h ('k') | src/ia32/assembler-ia32-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698