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

FMA/AVX2 fallback testfile #13

Open
dominikhlbg opened this issue Jul 27, 2017 · 5 comments
Open

FMA/AVX2 fallback testfile #13

dominikhlbg opened this issue Jul 27, 2017 · 5 comments

Comments

@dominikhlbg
Copy link

Hi,
I'm working on a FMA/AVX2 fallback for older CPUs. #8 (not final)
I want showing you my first result of encoding and decoding, processed by an i7 2600k. The cpu have only AVX but no AVX2 or FMA.

Encoded file: (please remove the ".txt" for encoding)
1.pik.txt
1

What do you thinking?

@jan-wassenberg
Copy link
Member

Thanks for sending! Here's the AVX2 decoder output for your file:
dominik_out
Looks like the dc_predictor might still need work :)

@dominikhlbg
Copy link
Author

New image:
1

@dominikhlbg
Copy link
Author

It works!
1

@jan-wassenberg
Copy link
Member

Awesome! Out of curiosity, what did you change?

@dominikhlbg
Copy link
Author

The first image I worked only with a single 4x32 and not with dual 4x32 or single 8x32. The second I worked with 8x32 but forgotten broadcastd over all eight values. Only the first and the fifth was set.
My AVX solution can emulate with avxintrin-emu.h from Intel now.

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