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

2010-01-17 Thread hjl at gcc dot gnu dot org
--- Comment #25 from hjl at gcc dot gnu dot org 2010-01-17 18:52 --- Subject: Bug 42542 Author: hjl Date: Sun Jan 17 18:51:47 2010 New Revision: 155988 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155988 Log: Backport ia64 fix for PR target/42542 from mainline. gcc/

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

2010-01-17 Thread hjl at gcc dot gnu dot org
--- Comment #26 from hjl at gcc dot gnu dot org 2010-01-17 18:55 --- Subject: Bug 42542 Author: hjl Date: Sun Jan 17 18:55:03 2010 New Revision: 155989 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155989 Log: Backport ia64 fix for PR target/42542 from mainline. gcc/

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

2010-01-17 Thread hjl at gcc dot gnu dot org
--- 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=gccview=revrev=155990 Log: Backport ia64 fix for PR target/42542 from mainline. gcc/

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

2010-01-17 Thread hjl dot tools at gmail dot com
--- Comment #28 from hjl dot tools at gmail dot com 2010-01-17 19:00 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added

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

2010-01-11 Thread sje at cup dot hp dot com
--- Comment #21 from sje at cup dot hp dot com 2010-01-11 23:32 --- Created an attachment (id=19544) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19544action=view) ia64 patch (fixes int, not short or char) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42542 --- You are

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

2010-01-11 Thread sje at cup dot hp dot com
--- Comment #22 from sje at cup dot hp dot com 2010-01-11 23:33 --- I am looking at this on IA64 and fixing it for V2SI seems simple enough. I will attach a patch. But I am not sure what to do for V4HI and V8QI. The current code uses an 'unsigned saturating subtraction' and that

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

2010-01-11 Thread hjl dot tools at gmail dot com
--- Comment #23 from hjl dot tools at gmail dot com 2010-01-12 00:41 --- (In reply to comment #22) I am looking at this on IA64 and fixing it for V2SI seems simple enough. I will attach a patch. But I am not sure what to do for V4HI and V8QI. The current code uses an 'unsigned

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

2010-01-11 Thread sje at cup dot hp dot com
--- Comment #24 from sje at cup dot hp dot com 2010-01-12 00:58 --- Never mind, when I copied (and modified) the x86 tests for ia64 I forgot to put a 'return 0' at the end of the main program so I was getting a non-zero exit. I will test my patch tonight and if all looks good submit it

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

2010-01-08 Thread ubizjak at gmail dot com
--- Comment #20 from ubizjak at gmail dot com 2010-01-08 07:48 --- According to http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00213.html, ia64 should be fixed in the same way as x86. The wrong code is located in ia64/ia64.c ia64_expand_vecint_compare, around line 1730. Correct code is

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

2010-01-07 Thread hjl dot tools at gmail dot com
--- Comment #19 from hjl dot tools at gmail dot com 2010-01-07 20:00 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

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

2010-01-06 Thread sezeroz at gmail dot com
--- Comment #15 from sezeroz at gmail dot com 2010-01-06 08:55 --- Can we expect a 4.4 backport for this, at least in the ix86/4.4 branch if not in the main 4.4 branch? -- sezeroz at gmail dot com changed: What|Removed |Added

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

2010-01-06 Thread hjl dot tools at gmail dot com
--- Comment #16 from hjl dot tools at gmail dot com 2010-01-06 14:59 --- (In reply to comment #15) Can we expect a 4.4 backport for this, at least in the ix86/4.4 branch if not in the main 4.4 branch? It will be backported to 4.3/4.4 in a few days. --

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

2010-01-06 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.3.6 Version|4.5.0 |4.3.5

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

2010-01-05 Thread hjl at gcc dot gnu dot org
--- Comment #14 from hjl at gcc dot gnu dot org 2010-01-05 23:53 --- Subject: Bug 42542 Author: hjl Date: Tue Jan 5 23:53:29 2010 New Revision: 155666 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155666 Log: Add smaxv2di3, umaxv2di3, sminv2di3 and uminv2di3 gcc/ 2010-01-05

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

2010-01-04 Thread hjl at gcc dot gnu dot org
--- Comment #12 from hjl at gcc dot gnu dot org 2010-01-04 15:14 --- Subject: Bug 42542 Author: hjl Date: Mon Jan 4 15:14:31 2010 New Revision: 155618 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155618 Log: Don't convert GTU to GT for V4SI and V2DI gcc/ 2010-01-04 H.J. Lu

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

2010-01-02 Thread fang at csl dot cornell dot edu
-- fang at csl dot cornell dot edu changed: What|Removed |Added CC||fang at csl dot cornell dot |

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

2009-12-31 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||irar at gcc dot gnu dot org Keywords|

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

2009-12-30 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Summary|Vectorizer produces |Vectorizer produces |incorrect results on max of