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]

[Bug target/42542] Vectorizer produces incorrect results on max/min of unsigned intergers



------- Comment #27 from hjl at gcc dot gnu dot org  2010-01-17 18:57 -------
Subject: Bug 42542

Author: hjl
Date: Sun Jan 17 18:57:33 2010
New Revision: 155990

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155990
Log:
Backport ia64 fix for PR target/42542 from mainline.

gcc/

2010-01-17  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2010-01-13  Steve Ellcey  <sje@cup.hp.com>

        PR target/42542
        * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT
        for V2SI by subtracting (-(INT MAX) - 1) from both operands to make
        them signed.

gcc/testsuite/

2010-01-17  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2010-01-13  Steve Ellcey  <sje@cup.hp.com>

        PR target/42542
        * gcc.target/ia64/pr42542-1.c: New.
        * gcc.target/ia64/pr42542-2.c: New.
        * gcc.target/ia64/pr42542-3.c: New.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/ia64/pr42542-1.c
      - copied unchanged from r155989,
trunk/gcc/testsuite/gcc.target/ia64/pr42542-1.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/ia64/pr42542-2.c
      - copied unchanged from r155989,
trunk/gcc/testsuite/gcc.target/ia64/pr42542-2.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/ia64/pr42542-3.c
      - copied unchanged from r155989,
trunk/gcc/testsuite/gcc.target/ia64/pr42542-3.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/config/ia64/ia64.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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