sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.42k stars 1.71k forks source link

provide x86-64-v3 (AVX2) version #4273

Closed enihcam closed 3 months ago

enihcam commented 4 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.

I'm always frustrated that AVX2 instruction is not fully utilized.

Describe the solution you'd like

Please compile an AXV2 version with the parameter: /arch:AVX2 Also Visual Studio 2022 has in the Property Pages an Enhanced Parameter for AVX2 (/arch:AVX2).

Describe alternatives you've considered

N/A

Additional context Add any other context or screenshots about the feature request here. image

ArmanHayots commented 3 months ago

I have no faith in autovectorization; anyway underlying libraries such as MuPDF also need to be rewritten and rebuilt to use vector extensions.

kjk commented 3 months ago

You can compile with AVX2 if you want to. It's too much work for me to provide AVX2 builds.