Skip to content

Conversation

GamingMadster
Copy link
Contributor

Decided to take some time out of my day to implement the CxNN test that I saw the ideas for in #5.

The way I implemented it here is as follows:

  1. Test if CxNN returns a number greater than zero
  2. Test if a mask of zero ALWAYS returns zero
  3. Test if a mask of 0F will always return a value in the range of 00 - 0F
  4. Test if a mask of F0 will always return a value in the range of 00 - F0, and that the lower nibble is never affected

I am aware that the file has a bunch of deletions, and I am certain that is due to Windows notepad formatting the file weirdly. Once that is fixed, this should be ready to merge.

@GamingMadster
Copy link
Contributor Author

I will also mention I am uncertain for how to implement the test as Gulrak said, but I believe the test should suffice as it does complete properly on Cadmium's VIP core.

@GamingMadster
Copy link
Contributor Author

Apparently line endings got changed. Sorry about that!

Copy link
Owner

@Timendus Timendus left a comment

Choose a reason for hiding this comment

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

Thanks for taking the time to jump on this issue! And sorry for not responding sooner. My priorities have shifted a bit.

Your PR takes a bit more love and effort to review properly. So either it will have to wait until I have a bit more time, or maybe Gulrak can take a look himself? If you both agree that this works well and that the implementation is solid, I'm fine with merging it blindly :)

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