public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Joost.VandeVondele at pci dot uzh.ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/49128] -march=native generates unsupported instructions
Date: Wed, 25 May 2011 06:53:00 -0000	[thread overview]
Message-ID: <bug-49128-4-hjDcsLyXAR@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49128-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49128

Joost VandeVondele <Joost.VandeVondele at pci dot uzh.ch> 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 <Joost.VandeVondele at pci dot uzh.ch> 2011-05-25 06:23:13 UTC ---
This patch causes for me:

> gfortran-trunk -march=native test.f90
f951: error: unrecognized command line option ‘-mno-msse4.2’

in full:

> gfortran-trunk -v -march=native test.f90
Driving: gfortran-trunk -v -march=native test.f90 -l gfortran -l m
-shared-libgcc
Using built-in specs.
COLLECT_GCC=gfortran-trunk
COLLECT_LTO_WRAPPER=/data/vondele/gcc_bench/gcc_trunk/build/libexec/gcc/x86_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=/data/vondele/gcc_bench/gcc_trunk/build
--enable-languages=c,c++,fortran --program-suffix=-trunk --disable-multilib
--disable-bootstrap --with-gmp=/data/vondele/gcc_bench/libs/
--with-mpfr=/data/vondele/gcc_bench/libs/
--with-mpc=/data/vondele/gcc_bench/libs/
Thread model: posix
gcc version 4.7.0 20110524 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-march=native' '-shared-libgcc'

/data/vondele/gcc_bench/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/f951
test.f90 -march=core2 -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=32 --param l1-cache-line-size=64
--param l2-cache-size=4096 -mtune=core2 -quiet -dumpbase test.f90 -auxbase 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 ‘-mno-msse4.2’


/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


  parent reply	other threads:[~2011-05-25  6:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 16:47 [Bug c/49128] New: gcc -mtune=native generates unsoported instructions nathanael.schaeffer+ml at gmail dot com
2011-05-23 17:32 ` [Bug c/49128] gcc -mtune=native generates unsuported instructions redi at gcc dot gnu.org
2011-05-23 18:55 ` [Bug c/49128] -mtune=native generates unsupported instructions hjl.tools at gmail dot com
2011-05-23 21:08 ` nathanael.schaeffer+ml at gmail dot com
2011-05-23 21:11 ` nathanael.schaeffer+ml at gmail dot com
2011-05-24 17:59 ` [Bug c/49128] -march=native " hjl at gcc dot gnu.org
2011-05-24 18:11 ` hjl at gcc dot gnu.org
2011-05-24 18:16 ` hjl.tools at gmail dot com
2011-05-25  6:53 ` Joost.VandeVondele at pci dot uzh.ch [this message]
2011-05-25  7:33 ` jakub at gcc dot gnu.org
2011-05-25 11:57 ` Joost.VandeVondele at pci dot uzh.ch
2011-05-25 12:44 ` jakub at gcc dot gnu.org
2011-05-25 13:31 ` Joost.VandeVondele at pci dot uzh.ch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-49128-4-hjDcsLyXAR@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).