This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ada/8311: Legal intel instructions being flagged as illegal


>Number:         8311
>Category:       ada
>Synopsis:       Legal intel instructions being flagged as illegal
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 22 13:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tomas Palmer
>Release:        3.2
>Organization:
>Environment:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-1/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posi
x --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-ve
rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable
-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecd
ir=/usr/sbin
Thread model: posix
gcc version 3.2 20020818 (prerelease)
>Description:
Command line switches
$ gcc -march=pentium -mcpu=pentium cpuid.cpp

... Error: no such instruction: `pushfd '
... Error: no such instruction: `popfd '

These are legal intel instructions and supported both by intel inline and microsoft inline 
>How-To-Repeat:
$ gcc -march=pentium -mcpu=pentium cpuid.cpp
>Fix:
Add these instructions to legal instruction set for 486 and above
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]