Control flow instructions & local PPC context test.

This commit is contained in:
Skyth
2024-09-12 15:34:22 +03:00
parent a03c2e89e7
commit 589104a0ef
2 changed files with 48 additions and 3 deletions

View File

@@ -42,6 +42,14 @@ struct PPCCRRegister
uint8_t gt;
uint8_t eq;
uint8_t so;
template<typename T>
void compare(T left, T right)
{
lt = left < right;
gt = left > right;
eq = left == right;
}
};
typedef float float128[4];