From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16632 invoked by alias); 25 May 2011 06:50:37 -0000 Received: (qmail 16620 invoked by uid 22791); 25 May 2011 06:50:36 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_AV,TW_CL,TW_FX,TW_OV,TW_TB,TW_VM,TW_XS,TW_XT X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 May 2011 06:50:23 +0000 From: "Joost.VandeVondele at pci dot uzh.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/49128] -march=native generates unsupported instructions X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: Joost.VandeVondele at pci dot uzh.ch X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.1 X-Bugzilla-Changed-Fields: Status Last reconfirmed Resolution Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 25 May 2011 06:53:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg02318.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49128 Joost VandeVondele changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2011.05.25 06:23:13 Resolution|FIXED | Ever Confirmed|0 |1 --- Comment #8 from Joost VandeVondele 2011-05-25 06:23:13 UTC --- This patch causes for me: > gfortran-trunk -march=3Dnative test.f90 f951: error: unrecognized command line option =E2=80=98-mno-msse4.2=E2=80=99 in full: > gfortran-trunk -v -march=3Dnative test.f90 Driving: gfortran-trunk -v -march=3Dnative test.f90 -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=3Dgfortran-trunk COLLECT_LTO_WRAPPER=3D/data/vondele/gcc_bench/gcc_trunk/build/libexec/gcc/x= 86_64-unknown-linux-gnu/4.7.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /data/vondele/gcc_bench/gcc_trunk/gcc/configure --prefix=3D/data/vondele/gcc_bench/gcc_trunk/build --enable-languages=3Dc,c++,fortran --program-suffix=3D-trunk --disable-mult= ilib --disable-bootstrap --with-gmp=3D/data/vondele/gcc_bench/libs/ --with-mpfr=3D/data/vondele/gcc_bench/libs/ --with-mpc=3D/data/vondele/gcc_bench/libs/ Thread model: posix gcc version 4.7.0 20110524 (experimental) (GCC) COLLECT_GCC_OPTIONS=3D'-v' '-march=3Dnative' '-shared-libgcc' /data/vondele/gcc_bench/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gn= u/4.7.0/f951 test.f90 -march=3Dcore2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-= popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-msse4.2 -mno-sse4.1 --param l1-cache-size=3D32 --param l1-cache-line-s= ize=3D64 --param l2-cache-size=3D4096 -mtune=3Dcore2 -quiet -dumpbase test.f90 -auxb= ase test -version -fintrinsic-modules-path /data/vondele/gcc_bench/gcc_trunk/build/lib/gcc/x86_64-unknown-linux-gnu/4.= 7.0/finclude -o /dev/shm/vondele/ccQUXDFx.s f951: error: unrecognized command line option =E2=80=98-mno-msse4.2=E2=80=99 /proc/cpuinfo has: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca = cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl pni monitor ds_cpl vmx est= tm2 ssse3 cx16 xtpr lahf_lm vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping : 6