public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35453]  New: nmmintrin.h defines macros SIDD_XXX
@ 2008-03-04  4:18 hjl dot tools at gmail dot com
  2008-03-04 19:19 ` [Bug target/35453] " hjl at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-04  4:18 UTC (permalink / raw)
  To: gcc-bugs

nmmintrin.h header file contains macros like

#define SIDD_XXX

These need to be named with a leading underscore, as in

#define _SIDD_XXX

since user may define SIDD_XXX.


-- 
           Summary: nmmintrin.h defines macros SIDD_XXX
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/35453] nmmintrin.h defines macros SIDD_XXX
  2008-03-04  4:18 [Bug target/35453] New: nmmintrin.h defines macros SIDD_XXX hjl dot tools at gmail dot com
@ 2008-03-04 19:19 ` hjl at gcc dot gnu dot org
  2008-03-04 19:24 ` hjl at gcc dot gnu dot org
  2008-03-04 19:25 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-03-04 19:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl at gcc dot gnu dot org  2008-03-04 19:18 -------
Subject: Bug 35453

Author: hjl
Date: Tue Mar  4 19:17:35 2008
New Revision: 132867

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132867
Log:
gcc/

2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/35453
        * config/i386/smmintrin.h (SIDD_XXX): Renamed to ...
        (_SIDD_XXX): This.

gcc/testsuite/

2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/35453
        * gcc.target/i386/sse4_2-pcmpestri-1.c: Replace SIDD_XXX with
        _SIDD_XXX.
        * gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpstr.h: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/smmintrin.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c
    trunk/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/35453] nmmintrin.h defines macros SIDD_XXX
  2008-03-04  4:18 [Bug target/35453] New: nmmintrin.h defines macros SIDD_XXX hjl dot tools at gmail dot com
  2008-03-04 19:19 ` [Bug target/35453] " hjl at gcc dot gnu dot org
@ 2008-03-04 19:24 ` hjl at gcc dot gnu dot org
  2008-03-04 19:25 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-03-04 19:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl at gcc dot gnu dot org  2008-03-04 19:24 -------
Subject: Bug 35453

Author: hjl
Date: Tue Mar  4 19:23:22 2008
New Revision: 132868

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132868
Log:
gcc/

2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/35453
        * config/i386/smmintrin.h (SIDD_XXX): Renamed to ...
        (_SIDD_XXX): This.

gcc/testsuite/

2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2008-03-04  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/35453
        * gcc.target/i386/sse4_2-pcmpestri-1.c: Replace SIDD_XXX with
        _SIDD_XXX.
        * gcc.target/i386/sse4_2-pcmpestri-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpestrm-1.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpestrm-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistri-1.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistri-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistrm-1.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpistrm-2.c: Likewise.
        * gcc.target/i386/sse4_2-pcmpstr.h: Likewise.

Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/config/i386/smmintrin.h
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-1.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestri-2.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-1.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpestrm-2.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-1.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistri-2.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-1.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpistrm-2.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/sse4_2-pcmpstr.h


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/35453] nmmintrin.h defines macros SIDD_XXX
  2008-03-04  4:18 [Bug target/35453] New: nmmintrin.h defines macros SIDD_XXX hjl dot tools at gmail dot com
  2008-03-04 19:19 ` [Bug target/35453] " hjl at gcc dot gnu dot org
  2008-03-04 19:24 ` hjl at gcc dot gnu dot org
@ 2008-03-04 19:25 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-04 19:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2008-03-04 19:24 -------
Fixed for both gcc 4.3/4.4.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-04 19:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04  4:18 [Bug target/35453] New: nmmintrin.h defines macros SIDD_XXX hjl dot tools at gmail dot com
2008-03-04 19:19 ` [Bug target/35453] " hjl at gcc dot gnu dot org
2008-03-04 19:24 ` hjl at gcc dot gnu dot org
2008-03-04 19:25 ` hjl dot tools at gmail dot com

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).