Skip to content
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

Finish matching xSurface #281

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Finish matching xSurface #281

merged 1 commit into from
Jun 27, 2024

Conversation

tgsm
Copy link
Contributor

@tgsm tgsm commented Jun 27, 2024

No description provided.

@tgsm tgsm force-pushed the match-xSurface branch from af55985 to 8c50b97 Compare June 27, 2024 10:33
Comment on lines +26 to 29
extern "C" {
extern void __copy(void* dst, const void* src, uint32 n);
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be declared in intrin.h?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure. It doesn't get replaced with an instruction like the other intrinsics do, and it's implemented in the runtime library.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know either. I don't think it's something that's supposed to be directly included though. The whole assignment function was probably compiler generated, with the default implementation being to call __copy for any arrays. I suppose this fine for now.

@SquareMan SquareMan merged commit 89958ff into bfbbdecomp:main Jun 27, 2024
1 check passed
@tgsm tgsm deleted the match-xSurface branch June 28, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants