Instruction struct rewrite in RSP too now
This commit is contained in:
@@ -27,18 +27,6 @@ static FORCE_INLINE constexpr u32 GetVideoFrequency(bool pal) {
|
||||
#define HALF_ADDRESS(addr) ((addr) ^ 2)
|
||||
#define BYTE_ADDRESS(addr) ((addr) ^ 3)
|
||||
|
||||
#define RD(x) (((x) >> 11) & 0x1F)
|
||||
#define RT(x) (((x) >> 16) & 0x1F)
|
||||
#define RS(x) (((x) >> 21) & 0x1F)
|
||||
#define FD(x) (((x) >> 6) & 0x1F)
|
||||
#define FT(x) RT(x)
|
||||
#define FS(x) RD(x)
|
||||
#define BASE(x) RS(x)
|
||||
#define VT(x) (((x) >> 16) & 0x1F)
|
||||
#define VS(x) (((x) >> 11) & 0x1F)
|
||||
#define VD(x) (((x) >> 6) & 0x1F)
|
||||
#define E1(x) (((x) >> 7) & 0x0F)
|
||||
#define E2(x) (((x) >> 21) & 0x0F)
|
||||
#define ELEMENT_INDEX(i) (7 - (i))
|
||||
#define BYTE_INDEX(i) (15 - (i))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user