public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Sylvain.Pion@sophia.inria.fr To: gcc-gnats@gcc.gnu.org Cc: Sylvain.Pion@sophia.inria.fr Subject: target/6565: x86 : -msse does not define __SSE__ Date: Sun, 05 May 2002 10:26:00 -0000 [thread overview] Message-ID: <20020505172122.19009.qmail@sources.redhat.com> (raw) >Number: 6565 >Category: target >Synopsis: x86 : -msse does not define __SSE__ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun May 05 10:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Sylvain Pion >Release: 3.1 and 3.2 >Organization: >Environment: Reading specs from ./gcc/Linux_trunc/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.2/specs Configured with: /u/zosma/0/prisme/spion/gcc/gcc_trunc/configure --disable-shared --disable-nls --enable-languages=c++ --prefix=/u/zosma/0/prisme/spion/gcc/Linux_trunc --with-gnu-as --with-gnu-ld --with-as=/u/zosma/0/prisme/spion/gcc/Binutils/Linux/bin/as --with-ld=/u/zosma/0/prisme/spion/gcc/Binutils/Linux/bin/ld Thread model: single gcc version 3.2 20020502 (experimental) >Description: -D__SSE__ and -D__SSE2__ are only added with -march=pentium4, but -msse or -msse2 ought to be enough since they are enough to generate SSE code when -mfpmath=sse is set. On the other hand, -march=pentium4 alone (without -mfpmath=sse) defines __SSE__, but uses the i387 for math. See the thread starting at : http://gcc.gnu.org/ml/gcc/2002-05/msg00253.html In short, there should be a way (macro) to tell the programmer if SSE[2] math is going to be used instead of i387 math (which is not IEEE 754 compliant, and thus requires costly workarounds in some cases). >How-To-Repeat: touch foo.c gcc -v -c -msse -mfpmath=sse foo.c => does not define -D__SSE2__ >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-05-05 17:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-05-05 10:26 Sylvain.Pion [this message] 2002-10-03 10:46 hubicka
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=20020505172122.19009.qmail@sources.redhat.com \ --to=sylvain.pion@sophia.inria.fr \ --cc=gcc-gnats@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: linkBe 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).