A64 inferface: Use two argument static_assert

Don't require C++17 in the interface to the library
This commit is contained in:
MerryMage 2018-01-13 17:58:05 +00:00
parent 0992987c98
commit 989d036e65

View file

@ -75,7 +75,7 @@ public:
void SetRegisters(const std::array<std::uint64_t, 31>& value); void SetRegisters(const std::array<std::uint64_t, 31>& value);
using Vector = std::array<std::uint64_t, 2>; using Vector = std::array<std::uint64_t, 2>;
static_assert(sizeof(Vector) == sizeof(std::uint64_t) * 2); static_assert(sizeof(Vector) == sizeof(std::uint64_t) * 2, "Vector must be 128 bits in size");
/// Read floating point and SIMD register. /// Read floating point and SIMD register.
Vector GetVector(std::size_t index) const; Vector GetVector(std::size_t index) const;