google/pik

FMA/AVX2 fallback testfile

dominikhlbg opened this issue · 5 comments

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?

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

New image:
1

It works!
1

Awesome! Out of curiosity, what did you change?

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.