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

Q: How to test correctness of patches against asm files #67

Open
mirabilos opened this issue Jan 26, 2017 · 2 comments
Open

Q: How to test correctness of patches against asm files #67

mirabilos opened this issue Jan 26, 2017 · 2 comments

Comments

@mirabilos
Copy link
Contributor

Hi,

in the same vain as neutrinolabs/librfxcodec#16 I will need to change:

  • module/x86/a8r8g8b8_to_a8b8g8r8_box_x86_sse2.asm
  • module/x86/a8r8g8b8_to_nv12_box_x86_sse2.asm
  • module/x86/i420_to_rgb32_x86_sse2.asm
  • module/x86/uyvy_to_rgb32_x86_sse2.asm
  • module/x86/yuy2_to_rgb32_x86_sse2.asm
  • module/x86/yv12_to_rgb32_x86_sse2.asm

How can I test these?

@proski
Copy link
Contributor

proski commented Jan 26, 2017

You would need to write a test that links against libxorgxrdp.la and runs the functions you modify.

@mirabilos
Copy link
Contributor Author

I was kinda hoping for an existing test, as I have no idea which (input, output) tuples are to be expected (I don’t even know what these functions do, I merely transfer them mechanically with my (pretty excellent) i386 asm skills).

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

No branches or pull requests

2 participants