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

[CPU] Missing opcode implementation: vpkpx (Vector Pack Pixel) #2035

Open
7 tasks done
Gliniak opened this issue Jun 29, 2022 · 0 comments
Open
7 tasks done

[CPU] Missing opcode implementation: vpkpx (Vector Pack Pixel) #2035

Gliniak opened this issue Jun 29, 2022 · 0 comments

Comments

@Gliniak
Copy link
Member

Gliniak commented Jun 29, 2022

Validation

Describe what's going wrong

xenia-project/game-compatibility#1455 Use vpkpx on loading which lack of implementation causes it to crash. (I'm sure about it, because once I managed to mock it and it went into menu)

Gladly we have test just for confirmation case (plus we can generate more if required):

#test_vpkpx_1:
#REGISTER_IN v3 [00101820, 01283038, 00404850, 01586068]
#REGISTER_IN v4 [01707880, 00889098, 01A0A8B0, 00B8C0C8]
#vpkpx v5, v3, v4
#blr
#REGISTER_OUT v3 [00101820, 01283038, 00404850, 01586068]
#REGISTER_OUT v4 [01707880, 00889098, 01A0A8B0, 00B8C0C8]
#REGISTER_OUT v5 [086494C7, 212AAD8D, B9F04653, D2B65F19]

Available documentation on google: http://math-atlas.sourceforge.net/devel/assembly/vector_simd_pem.ppc.2005AUG23.pdf

From what I remember in case of CPUs with AVX512 there is an instruction that might help (I hope) with simple implementation, but I don't remember right now how it is called 😅

Describe what should happen

N/A

If applicable, provide a callstack here, especially for crashes

No response

If applicable, upload a logfile and link it here

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant