mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 00:20:51 +00:00
- fixed ARM64 compilation issues reported by Xcode 12 beta 4
src/common/engine/stats.h:139:31: error: invalid output constraint '=A' in asm src/common/platform/posix/osx/iwadpicker_cocoa.mm:379:1: warning: non-void function does not return a value [-Wreturn-type]
This commit is contained in:
parent
b7e8a87b81
commit
24200c0c3f
2 changed files with 5 additions and 0 deletions
|
@ -132,6 +132,9 @@ inline uint64_t rdtsc()
|
|||
}
|
||||
while (upper != temp);
|
||||
return (static_cast<unsigned long long>(upper) << 32) | lower;
|
||||
#elif defined __aarch64__
|
||||
// TODO: Implement and test on ARM64
|
||||
return 0;
|
||||
#else // i386
|
||||
if (CPU.bRDTSC)
|
||||
{
|
||||
|
|
|
@ -375,6 +375,8 @@ static NSString* GetArchitectureString()
|
|||
return @"i386";
|
||||
#elif defined __x86_64__
|
||||
return @"x86_64";
|
||||
#elif defined __aarch64__
|
||||
return @"arm64";
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue