mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-07 23:18:10 +01:00
interface: Move Vector typedef to config.h
This commit is contained in:
parent
33bba6028c
commit
1749780929
5 changed files with 11 additions and 10 deletions
|
|
@ -74,9 +74,6 @@ public:
|
|||
/// Modify all general-purpose registers.
|
||||
void SetRegisters(const std::array<std::uint64_t, 31>& value);
|
||||
|
||||
using Vector = std::array<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.
|
||||
Vector GetVector(std::size_t index) const;
|
||||
/// Modify floating point and SIMD register.
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ namespace A64 {
|
|||
|
||||
using VAddr = std::uint64_t;
|
||||
|
||||
using Vector = std::array<std::uint64_t, 2>;
|
||||
static_assert(sizeof(Vector) == sizeof(std::uint64_t) * 2, "Vector must be 128 bits in size");
|
||||
|
||||
enum class Exception {
|
||||
/// An UndefinedFault occured due to executing instruction with an unallocated encoding
|
||||
UnallocatedEncoding,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue