As allowed by Moonchild, i finally decided to post my AVX/AVX2 builds of Pale Moon.
From version 33.3 and forward they are actually SSE2/AVX2.
(Important) If your CPU doesn't support AVX instruction set and you used mainline build - you must manually migrate to SSE2 build from here. Reverse also applies: if you used AVX build - you should migrate to mainline build.
Build VM is latest VirtualBox with:
- Pale Moon release branch
- Windows 10 LTSC and VS2022/SDK(updated) and tools as specified on dev site with following .mozconfig:
Code: Select all
# Tell the build system if we're building 64-bit. # Set this to `BUILD_64=1` for 64-bit, leave as-is for 32-bit BUILD_64=1 # Processor architecture specific build options if [ -n "$BUILD_64" ]; then BUILD_ARCH=x64 ac_add_options --target=x86_64-pc-mingw32 ac_add_options --host=x86_64-pc-mingw32 else BUILD_ARCH=x86 fi # Automatically clobber if CLOBBER was touched mk_add_options AUTOCLOBBER=1 # Application and target ac_add_options --enable-application=palemoon #export MOZ_PKG_SPECIAL=sse2 #mk_add_options MOZ_OBJDIR=../build/obj-pm-x64-sse2-release export MOZ_PKG_SPECIAL=avx2 mk_add_options MOZ_OBJDIR=../build/obj-pm-x64-avx2-release # Build options mk_add_options MOZ_MAKE_FLAGS="-j6" #ac_add_options --enable-optimize="-O2b1 -GTs -GS- -favor:AMD64 -Qspectre -utf-8" ac_add_options --enable-optimize="-O2b1 -GTs -GS- -Qspectre -utf-8 -arch:AVX2" ac_add_options --enable-official-branding ac_add_options --enable-update-channel=release ac_add_options --enable-updater ac_add_options --disable-precompiled-startupcache ac_add_options --enable-jemalloc ac_add_options --enable-strip ac_add_options --disable-parental-controls ac_add_options --disable-accessibility ac_add_options --disable-gamepad ac_add_options --disable-webrtc ac_add_options --enable-av1 ac_add_options --enable-jxl export MC_OFFICIAL=1 export MOZILLA_OFFICIAL=1 WIN32_REDIST_DIR="C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Redist/MSVC/14.40.33807/$BUILD_ARCH/Microsoft.VC143.CRT" WIN_UCRT_REDIST_DIR="C:/Program Files (x86)/Windows Kits/10/Redist/10.0.22000.0/ucrt/DLLs/$BUILD_ARCH"
- Oracle Linux 8 with gcc-toolset-11 as specified on dev site with following .mozconfig:
Both GTK2 and GTK3 builds are done.
Code: Select all
# Set GTK Version to 2 or 3 #_GTK_VERSION=2 # Application and target #export MOZ_PKG_SPECIAL=sse2_gtk"$_GTK_VERSION" export MOZ_PKG_SPECIAL=avx2_gtk"$_GTK_VERSION" mk_add_options MOZ_OBJDIR=../build/obj-pm-x64-$MOZ_PKG_SPECIAL-release ac_add_options --enable-application=palemoon # Build options mk_add_options MOZ_MAKE_FLAGS="-j6" #ac_add_options --enable-optimize="-O2 -msse2 -mfpmath=sse -w" ac_add_options --enable-optimize="-O2 -march=x86-64-v3 -w" ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION ac_add_options --enable-official-branding ac_add_options --enable-update-channel=release ac_add_options --enable-updater ac_add_options --disable-precompiled-startupcache ac_add_options --enable-jemalloc ac_add_options --enable-strip ac_add_options --enable-devtools ac_add_options --enable-av1 ac_add_options --enable-jxl ac_add_options --disable-gamepad ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-necko-wifi ac_add_options --disable-webrtc ac_add_options --with-pthreads # Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding. export MC_OFFICIAL=1 export MOZILLA_OFFICIAL=1 ac_add_options --x-libraries=/usr/lib64
It is unclear if this build provides any performance benefits(allegedly it does, but no side-by-side comparison was done), so your mileage may vary.
I will try to build new releases ASAP, but may lag a day or two. Usually i do wait for shakedown to build straight up point releases avoiding unnecessary work.
Carefully take note of the following:
- While branded with official branding, this build has non-official settings(usage of SSE2/AVX2 optimizations), so before getting official support you should reproduce problem on official build with clean profile.
- From 31.0.0-Windows and 31.1.0-Linux onward builds have auto updater.
- WARNING: I have no full-fledged linux installation, so Linux builds are "tested" to the extent that they run on build system.
Please use them with caution until at least handful of users report them stable enough.While testing from my part isn't changed, there are no complains so far. - Using AVX2 build on CPU that doesn't support this instruction set will cause instability and crashes. Google your CPU model or use software like CPU-Z to check.
- Installers are not signed, but GPG detached signatures are provided for both archives and installers.
Windows: FTP HTTP
Linux: FTP HTTP
To make portable version paste palemoon folder from 7z archive into bin folder inside unpacked official portable version, but note that usage of not yet universally widespread instruction sets will limit its portability.