Skip to content
Browse files

gcccpuopt: support Intel Haswell (family 60) CPUs

  • Loading branch information...
1 parent de62211 commit c643f91873ff1e88837ca2218e6bf25e89f244f4 @pixelb committed Aug 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 scripts/gcccpuopt
View
2 scripts/gcccpuopt
@@ -298,6 +298,8 @@ elif [ "$vendor_id" = "GenuineIntel" ]; then
line="corei7-avx corei7 core2 pentium-m pentium4 pentium3 pentium2 pentiumpro pentium-mmx pentium i486 i386"
elif [ $cpu_model -eq 58 ]; then #Ivy Bridge
line="core-avx-i corei7-avx corei7 core2 pentium-m pentium4 pentium3 pentium2 pentiumpro pentium-mmx pentium i486 i386"
+ elif [ $cpu_model -eq 60 ]; then #Haswell
+ line="core-avx2 core-avx-i corei7-avx corei7 core2 pentium-m pentium4 pentium3 pentium2 pentiumpro pentium-mmx pentium i486 i386"
elif [ $cpu_model -eq 15 ] ||
# ^ Merom ^
[ $cpu_model -eq 22 ] ||

0 comments on commit c643f91

Please sign in to comment.
Something went wrong with that request. Please try again.