Skip to content

Commit

Permalink
mozconfig polly
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Aug 22, 2023
1 parent c43d41a commit ead27ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .mozconfig-x86_64-pc-linux-gnu
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"

if test -d "$HOME/.mozbuild/clang/bin"; then
export CC="$HOME"/.mozbuild/clang/bin/clang
Expand All @@ -7,13 +8,10 @@ else
export CC=clang
export CXX=clang++
fi
if test -f "$HOME/.mozbuild/nasm/nasm"; then
export NASM="$HOME"/.mozbuild/nasm/nasm
fi

if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto
ac_add_options --enable-optimize="-ffp-contract=fast -fno-math-errno -fno-signaling-nans -fno-trapping-math -march=core2 -mtune=haswell -O3 -w"
ac_add_options --enable-optimize="-ffp-contract=fast -fno-math-errno -fno-signaling-nans -fno-trapping-math -march=core2 -mtune=haswell -O3 $POLLY -w"
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options RUSTC_OPT_LEVEL=3
Expand Down

0 comments on commit ead27ea

Please sign in to comment.