public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48349] New: FLOAT_SSE_REGS typo in i386.h
Date: Wed, 30 Mar 2011 04:07:00 -0000	[thread overview]
Message-ID: <bug-48349-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: FLOAT_SSE_REGS typo in i386.h
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: ubizjak@gmail.com
            Target: x86


The patch

http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00468.html

has

-{ 0x3fc00000,0x3fc000 },        /* SSE_REGS */            \
-{ 0xc0000000,    0x3f },        /* MMX_REGS */            \
-{ 0x3fc00100,0x3fc000 },        /* FP_TOP_SSE_REG */        \
-{ 0x3fc00200,0x3fc000 },        /* FP_SECOND_SSE_REG */        \
-{ 0x3fc0ff00,0x3fc000 },        /* FLOAT_SSE_REGS */        \
-   { 0x1ffff,  0x3fc0 },        /* FLOAT_INT_REGS */        \
-{ 0x3fc100ff,0x3fffc0 },        /* INT_SSE_REGS */        \
-{ 0x3fc1ffff,0x3fffc0 },        /* FLOAT_INT_SSE_REGS */    \
-{ 0xffffffff,0x3fffff }                            \
+{ 0x1fe00000,0x1fe000 },        /* SSE_REGS */            \
+{ 0xe0000000,    0x1f },        /* MMX_REGS */            \
+{ 0x1fe00100,0x1fe000 },        /* FP_TOP_SSE_REG */        \
+{ 0x1fe00200,0x1fe000 },        /* FP_SECOND_SSE_REG */        \
+{ 0x1fe0ff00,0x3fe000 },        /* FLOAT_SSE_REGS */        \
                ^ This should be 1.
+   { 0x1ffff,  0x1fe0 },        /* FLOAT_INT_REGS */        \
+{ 0x1fe100ff,0x1fffe0 },        /* INT_SSE_REGS */        \
+{ 0x1fe1ffff,0x1fffe0 },        /* FLOAT_INT_SSE_REGS */    \
+{ 0xffffffff,0x1fffff }


             reply	other threads:[~2011-03-30  3:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-30  4:07 hjl.tools at gmail dot com [this message]
2011-03-30  6:53 ` [Bug target/48349] " ubizjak at gmail dot com
2011-03-30 10:48 ` hjl at gcc dot gnu.org
2011-03-30 10:48 ` hjl at gcc dot gnu.org
2011-03-30 11:02 ` hjl at gcc dot gnu.org
2011-03-30 11:07 ` hjl at gcc dot gnu.org
2011-03-30 11:17 ` hjl.tools at gmail dot com

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-48349-4@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).