public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35757] New: [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c>
@ 2008-03-29 16:08 hjl dot tools at gmail dot com
2008-03-29 16:10 ` [Bug target/35757] " hjl dot tools at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-29 16:08 UTC (permalink / raw)
To: gcc-bugs
sse.md has
(define_insn "sse4_1_blendp<ssemodesuffixf2c>"
[(set (match_operand:SSEMODEF2P 0 "register_operand" "=x")
(vec_merge:SSEMODEF2P
(match_operand:SSEMODEF2P 2 "nonimmediate_operand" "xm")
(match_operand:SSEMODEF2P 1 "register_operand" "0")
(match_operand:SI 3 "const_0_to_3_operand" "n")))]
"TARGET_SSE4_1"
"blendp<ssemodesuffixf2c>\t{%3, %2, %0|%0, %2, %3}"
[(set_attr "type" "ssemov")
(set_attr "prefix_extra" "1")
(set_attr "mode" "<MODE>")])
The problem is blendpd takes 0 to 15 as immediate operand. The problem
is hidden in testsuite due to MAEK defined in sse4_1-check.h.
--
Summary: [4.4 Regression] Incorrect contraint on
sse4_1_blendp<ssemodesuffixf2c>
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: major
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=35757
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/35757] [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c>
2008-03-29 16:08 [Bug target/35757] New: [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c> hjl dot tools at gmail dot com
@ 2008-03-29 16:10 ` hjl dot tools at gmail dot com
2008-03-29 21:13 ` hjl dot tools at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-29 16:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hjl dot tools at gmail dot com 2008-03-29 16:09 -------
It is introduced by revision 132518.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.4.0
Known to work| |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35757
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/35757] [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c>
2008-03-29 16:08 [Bug target/35757] New: [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c> hjl dot tools at gmail dot com
2008-03-29 16:10 ` [Bug target/35757] " hjl dot tools at gmail dot com
@ 2008-03-29 21:13 ` hjl dot tools at gmail dot com
2008-03-30 21:14 ` hjl at gcc dot gnu dot org
2008-03-30 22:04 ` hjl dot tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-29 21:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hjl dot tools at gmail dot com 2008-03-29 21:12 -------
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2008-03/msg01848.html
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2008-
| |03/msg01848.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35757
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/35757] [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c>
2008-03-29 16:08 [Bug target/35757] New: [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c> hjl dot tools at gmail dot com
2008-03-29 16:10 ` [Bug target/35757] " hjl dot tools at gmail dot com
2008-03-29 21:13 ` hjl dot tools at gmail dot com
@ 2008-03-30 21:14 ` hjl at gcc dot gnu dot org
2008-03-30 22:04 ` hjl dot tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-03-30 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl at gcc dot gnu dot org 2008-03-30 21:14 -------
Subject: Bug 35757
Author: hjl
Date: Sun Mar 30 21:13:33 2008
New Revision: 133736
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133736
Log:
gcc/
2008-03-30 H.J. Lu <hongjiu.lu@intel.com>
PR target/35757
* config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Issue
proper error message for the third argument on blendpd and
blendps.
* config/i386/sse.md (blendbits): New.
(sse4_1_blendp<ssemodesuffixf2c>): Use it.
gcc/testsuite/
2008-03-30 H.J. Lu <hongjiu.lu@intel.com>
PR target/35757
* gcc.target/i386/sse4_1-blendps-2.c: New.
* gcc.target/i386/sse4_1-pblendw-2.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.target/i386/sse4_1-blendps-2.c
trunk/gcc/testsuite/gcc.target/i386/sse4_1-pblendw-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/sse.md
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35757
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/35757] [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c>
2008-03-29 16:08 [Bug target/35757] New: [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c> hjl dot tools at gmail dot com
` (2 preceding siblings ...)
2008-03-30 21:14 ` hjl at gcc dot gnu dot org
@ 2008-03-30 22:04 ` hjl dot tools at gmail dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-03-30 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from hjl dot tools at gmail dot com 2008-03-30 22:04 -------
Fixed.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to fail|4.4.0 |
Known to work|4.3.0 |4.3.0 4.4.0
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35757
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-03-30 22:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-29 16:08 [Bug target/35757] New: [4.4 Regression] Incorrect contraint on sse4_1_blendp<ssemodesuffixf2c> hjl dot tools at gmail dot com
2008-03-29 16:10 ` [Bug target/35757] " hjl dot tools at gmail dot com
2008-03-29 21:13 ` hjl dot tools at gmail dot com
2008-03-30 21:14 ` hjl at gcc dot gnu dot org
2008-03-30 22:04 ` 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).