TRLC Platform Library  1.0.0
Header-only C++ library for compile-time platform detection and abstraction
Vector-aware

Checks if vector instructions are supported Determines whether the target architecture supports advanced vector processing capabilities beyond basic SIMD. Vector instructions typically provide more sophisticated parallel processing features than basic SIMD.

Vector Instruction Support

Capabilities

Returns
true if advanced vector instruction support is available
Note
This function is constexpr and evaluates at compile time
This checks architectural capability, not runtime availability
See also
hasSimdSupport() for basic SIMD capability check
features.hpp for runtime vector feature detection

processing

// Use advanced vector algorithms
return process_with_vectors(data);
} else if constexpr (trlc::platform::hasSimdSupport()) {
// Use basic SIMD fallback
return process_with_simd(data);
} else {
// Use scalar implementation
return process_scalar(data);
}
static bool hasSimdSupport()
static bool hasVectorInstructions()
Since
1.0.0