Add ARM64_NEON compile arch flag

This allows doing ARM64 builds without NEON support, and allows simplifying some checks.
This commit is contained in:
Henrik Rydgård committed 2022-06-25 07:29:20 +02:00
1 parent 4b78224d22
commit cd92151de7
5 files changed
+29 -28

No files matched your search

+2 -2
View File
@@ -24,7 +24,7 @@ namespace Rasterizer {
void RegCache::SetupABI(const std::vector<Purpose> &args, bool forceRetain) {
#if PPSSPP_ARCH(ARM)
_assert_msg_(false, "Not yet implemented");
#elif PPSSPP_ARCH(ARM64)
#elif PPSSPP_ARCH(ARM64_NEON)
using namespace Arm64Gen;
// ARM64 has a generous allotment of registers.
@@ -389,7 +389,7 @@ RegCache::RegStatus *RegCache::FindReg(Reg r, Purpose p) {
}
CodeBlock::CodeBlock(int size)
#if PPSSPP_ARCH(ARM64)
#if PPSSPP_ARCH(ARM64_NEON)
: fp(this)
#endif
{