Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
49cc96df
Commit
49cc96df
authored
1 year ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused changes. Now in different file.
This reverts commit
f7b4f98c
.
parent
aaaef57a
Branches
Branches containing commit
No related tags found
1 merge request
!1763
Draft: Add ICC Milan optimization and change AMD architecture to corei7-avx.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
m4/ax_cc_maxopt.m4
+6
-10
6 additions, 10 deletions
m4/ax_cc_maxopt.m4
with
6 additions
and
10 deletions
m4/ax_cc_maxopt.m4
+
6
−
10
View file @
49cc96df
...
...
@@ -129,21 +129,17 @@ if test "$ac_test_CFLAGS" != "set"; then
*4?6[[de]]?:*:*:*) icc_flags="-xCORE-AVX2 -xCORE-AVX-I -xAVX -SSE4.2 -xS -xT -xB -xK" ;; # Skylake
*5?6[[56]]?:*:*:*) icc_flags="-xCORE-AVX512 -xCORE-AVX2 -xCORE-AVX-I -xAVX -SSE4.2 -xS -xT -xB -xK" ;; # Skylake-AVX512
*5?67?:*:*:*) icc_flags="-xMIC-AVX512 -xCORE-AVX2 -xCORE-AVX-I -xAVX -SSE4.2 -xS -xT -xB -xK" ;; # Knights-Landing
*8?6[[de]]?:*:*:*|*9?6[[de]]?:*:*:*) icc_flags="-xCORE-AVX2 -xCORE-AVX-I -xAVX -SSE4.2 -xS -xT -xB -xK" ;;# Kabylake
*8?6[[de]]?:*:*:*|*9?6[[de]]?:*:*:*) icc_flags="-xCORE-AVX2 -xCORE-AVX-I -xAVX -SSE4.2 -xS -xT -xB -xK" ;;# Kabylake
*000?f[[346]]?:*:*:*|?f[[346]]?:*:*:*|f[[346]]?:*:*:*) icc_flags="-xSSE3 -xP -xO -xN -xW -xK" ;;
*00??f??:*:*:*|??f??:*:*:*|?f??:*:*:*|f??:*:*:*) icc_flags="-xSSE2 -xN -xW -xK" ;;
esac ;;
*:68747541:444d4163:69746e65) # AMDs with AVX2 support.
# SWIFT gravity prefers AVX so
# we used corei7-avx not core-avx2
case $ax_cv_gcc_x86_cpuid_1 in
*061?f??:*:*:*|61?f??:*:*:*) icc_flags="-march=corei7-avx" ;;
*06??f??:*:*:*|6??f??:*:*:*) icc_flags="-march=corei7-avx" ;;
*070?f??:*:*:*|70?f??:*:*:*) icc_flags="-march=corei7-avx" ;;
83?f??:*:*:*) icc_flags="-march=corei7-avx"
CFLAGS="$CFLAGS -fma -ftz -fomit-frame-pointer";; # EPYC ROME
a0?f??:*:*:*) icc_flags="-march=corei7-avx"
CFLAGS="$CFLAGS -fma -ftz -fomit-frame-pointer";; # MILAN
*061?f??:*:*:*|61?f??:*:*:*) icc_flags="-march=core-avx2" ;;
*06??f??:*:*:*|6??f??:*:*:*) icc_flags="-march=core-avx2" ;;
*070?f??:*:*:*|70?f??:*:*:*) icc_flags="-march=core-avx2" ;;
83?f??:*:*:*) icc_flags="-march=core-avx2"
CFLAGS="$CFLAGS -fma -ftz -fomit-frame-pointer";; # EPYC
esac ;;
esac ;;
esac
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment