-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Porting engine to ARM64 architecture #532
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, fix few spaces.
@@ -48,9 +50,14 @@ void Initialize() | |||
Skin2W = Skin2W_CPP; | |||
Skin3W = Skin3W_CPP; | |||
Skin4W = Skin4W_CPP; | |||
PLCCalc = PLCCalc_SSE; | |||
#if defined(XR_ARM64) | |||
PLCCalc = PLCCalc_CPP; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace tabs with 4 space, please. And in else section.
PLCCalc = PLCCalc_CPP; | |
PLCCalc = PLCCalc_CPP; |
@@ -0,0 +1,2793 @@ | |||
#ifndef SSE2NEON_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you take it from https://github.com/DLTcollab/sse2neon ?
#if defined(XR_ARM64) | ||
PLCCalc = PLCCalc_CPP; | ||
#else | ||
PLCCalc = PLCCalc_SSE; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PLCCalc = PLCCalc_SSE; | |
PLCCalc = PLCCalc_SSE; |
int64_t virtual_timer_value; | ||
asm volatile("mrs %0, cntvct_el0" : "=r"(virtual_timer_value)); | ||
return virtual_timer_value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 4 space, please.
int64_t virtual_timer_value; | |
asm volatile("mrs %0, cntvct_el0" : "=r"(virtual_timer_value)); | |
return virtual_timer_value; | |
int64_t virtual_timer_value; | |
asm volatile("mrs %0, cntvct_el0" : "=r"(virtual_timer_value)); | |
return virtual_timer_value; |
No description provided.