public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19424] New: Error: suffix or operands invalid for `movlps'
@ 2005-01-13 13:29 uros at kss-loka dot si
2005-01-13 13:37 ` [Bug target/19424] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: uros at kss-loka dot si @ 2005-01-13 13:29 UTC (permalink / raw)
To: gcc-bugs
gcc -O0 -msse i386-sse-1.c
/tmp/cc9PodHq.s: Assembler messages:
/tmp/cc9PodHq.s:4557: Error: suffix or operands invalid for `movlps'
/tmp/cc9PodHq.s:4558: Error: suffix or operands invalid for `movlps'
/tmp/cc9PodHq.s:4579: Error: suffix or operands invalid for `movlps'
/tmp/cc9PodHq.s:4580: Error: suffix or operands invalid for `movlps'
These movlps errors refer to:
_mm_set_ps:
pushl %ebp
movl %esp, %ebp
subl $24, %esp
movss 20(%ebp), %xmm1
movss 16(%ebp), %xmm0
unpcklps %xmm0, %xmm1
movss 12(%ebp), %xmm2
movss 8(%ebp), %xmm0
movaps %xmm2, %xmm3
unpcklps %xmm0, %xmm3
(*) movlps %xmm3, %xmm0
(*) movlps %xmm1, %xmm2
movlhps %xmm0, %xmm2
movaps %xmm2, %xmm0
movaps %xmm0, -24(%ebp)
movaps -24(%ebp), %xmm0
leave
ret
and
_mm_setr_ps:
pushl %ebp
movl %esp, %ebp
subl $24, %esp
movss 8(%ebp), %xmm1
movss 12(%ebp), %xmm0
unpcklps %xmm0, %xmm1
movss 16(%ebp), %xmm2
movss 20(%ebp), %xmm0
movaps %xmm2, %xmm3
unpcklps %xmm0, %xmm3
(*) movlps %xmm3, %xmm0
(*) movlps %xmm1, %xmm2
movlhps %xmm0, %xmm2
movaps %xmm2, %xmm0
movaps %xmm0, -24(%ebp)
movaps -24(%ebp), %xmm0
leave
ret
Note that movlps cannot handle two registers as its operands.
--
Summary: Error: suffix or operands invalid for `movlps'
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ssemmx
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uros at kss-loka dot si
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19424
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19424] Error: suffix or operands invalid for `movlps'
2005-01-13 13:29 [Bug target/19424] New: Error: suffix or operands invalid for `movlps' uros at kss-loka dot si
@ 2005-01-13 13:37 ` pinskia at gcc dot gnu dot org
2005-01-13 13:45 ` [Bug target/19424] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-13 13:37 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19424
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19424] [4.0 Regression] Error: suffix or operands invalid for `movlps'
2005-01-13 13:29 [Bug target/19424] New: Error: suffix or operands invalid for `movlps' uros at kss-loka dot si
2005-01-13 13:37 ` [Bug target/19424] " pinskia at gcc dot gnu dot org
@ 2005-01-13 13:45 ` pinskia at gcc dot gnu dot org
2005-01-14 14:14 ` uros at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-13 13:45 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|Error: suffix or operands |[4.0 Regression] Error:
|invalid for `movlps' |suffix or operands invalid
| |for `movlps'
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19424
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19424] [4.0 Regression] Error: suffix or operands invalid for `movlps'
2005-01-13 13:29 [Bug target/19424] New: Error: suffix or operands invalid for `movlps' uros at kss-loka dot si
2005-01-13 13:37 ` [Bug target/19424] " pinskia at gcc dot gnu dot org
2005-01-13 13:45 ` [Bug target/19424] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-14 14:14 ` uros at gcc dot gnu dot org
2005-01-15 12:37 ` steven at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: uros at gcc dot gnu dot org @ 2005-01-14 14:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From uros at gcc dot gnu dot org 2005-01-14 14:13 -------
Register constraints are wrong for movv2sf* patterns. "movlps" can't handle the
combination of x/x registers.
Uros.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-01-14 14:13:55
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19424
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19424] [4.0 Regression] Error: suffix or operands invalid for `movlps'
2005-01-13 13:29 [Bug target/19424] New: Error: suffix or operands invalid for `movlps' uros at kss-loka dot si
` (2 preceding siblings ...)
2005-01-14 14:14 ` uros at gcc dot gnu dot org
@ 2005-01-15 12:37 ` steven at gcc dot gnu dot org
2005-01-18 6:18 ` cvs-commit at gcc dot gnu dot org
2005-01-18 6:34 ` uros at kss-loka dot si
5 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-15 12:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2005-01-15 12:37 -------
SSE bug -> rth
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19424
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19424] [4.0 Regression] Error: suffix or operands invalid for `movlps'
2005-01-13 13:29 [Bug target/19424] New: Error: suffix or operands invalid for `movlps' uros at kss-loka dot si
` (3 preceding siblings ...)
2005-01-15 12:37 ` steven at gcc dot gnu dot org
@ 2005-01-18 6:18 ` cvs-commit at gcc dot gnu dot org
2005-01-18 6:34 ` uros at kss-loka dot si
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-18 6:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-18 06:18 -------
Subject: Bug 19424
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: uros@gcc.gnu.org 2005-01-18 06:17:56
Modified files:
gcc : ChangeLog
gcc/config/i386: mmx.md
Log message:
PR target/19424
* config/i386/mmx.md (*movv2sf_internal_rex64, *movv2sf_internal):
Add movaps alternative for xmm reg->reg move.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7165&r2=2.7166
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/mmx.md.diff?cvsroot=gcc&r1=1.3&r2=1.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19424
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/19424] [4.0 Regression] Error: suffix or operands invalid for `movlps'
2005-01-13 13:29 [Bug target/19424] New: Error: suffix or operands invalid for `movlps' uros at kss-loka dot si
` (4 preceding siblings ...)
2005-01-18 6:18 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-18 6:34 ` uros at kss-loka dot si
5 siblings, 0 replies; 7+ messages in thread
From: uros at kss-loka dot si @ 2005-01-18 6:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From uros at kss-loka dot si 2005-01-18 06:33 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19424
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-01-18 6:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-13 13:29 [Bug target/19424] New: Error: suffix or operands invalid for `movlps' uros at kss-loka dot si
2005-01-13 13:37 ` [Bug target/19424] " pinskia at gcc dot gnu dot org
2005-01-13 13:45 ` [Bug target/19424] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-14 14:14 ` uros at gcc dot gnu dot org
2005-01-15 12:37 ` steven at gcc dot gnu dot org
2005-01-18 6:18 ` cvs-commit at gcc dot gnu dot org
2005-01-18 6:34 ` uros at kss-loka dot si
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).