Description[simd] Introduce SIMD types (as classes)
- Introduce a proper bit for SIMD primitive values.
- Introduce constructors for individual SIMD types. These are currently just classes, which seems good enough for now, given that we always have exactly one global map per SIMD type.
The only problem with using class types for SIMD is that a SIMD constant won't be a subtype of its specific type, only of the general SIMD type. But until we actually introduce SIMD constants into the compiler that shouldn't matter.
R=jarin@chromium.org
BUG=
Committed: https://crrev.com/a60f19220aadbe56bc34d2a4c040e75b2a5833fb
Cr-Commit-Position: refs/heads/master@{#30294}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|