public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/51920] New: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs
@ 2012-01-20 18:07 ro at gcc dot gnu.org
  2012-01-20 19:16 ` [Bug target/51920] " davem at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2012-01-20 18:07 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51920
           Summary: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
                CC: davem@davemloft.net, ebotcazou@gcc.gnu.org
              Host: sparc-sun-solaris2*
            Target: sparc-sun-solaris2*
             Build: sparc-sun-solaris2*


Between 20120103 and 20120113, the 64-bit 64-bit
gcc.target/sparc/vec-init1-vis1.c
test started to FAIL:

FAIL: gcc.target/sparc/vec-init-1-vis1.c (test for excess errors)
WARNING: gcc.target/sparc/vec-init-1-vis1.c compilation failed to produce
executable

FAIL: gcc.target/sparc/vec-init-1-vis1.c (test for excess errors)
Excess errors:
/usr/bin/as: "/var/tmp//ccA.aOvn.s", line 24: error: invalid (misaligned)
register

On line 24, there is

        fpmerge %f9, %f9, %f9

Using gas instead, I get

Excess errors:
/var/tmp//cc_NaqYA.s:24: Error: Illegal operands

  Rainer


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

* [Bug target/51920] 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs
  2012-01-20 18:07 [Bug target/51920] New: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs ro at gcc dot gnu.org
@ 2012-01-20 19:16 ` davem at gcc dot gnu.org
  2012-01-29 22:11 ` ebotcazou at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: davem at gcc dot gnu.org @ 2012-01-20 19:16 UTC (permalink / raw)
  To: gcc-bugs

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

davem at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davem at gcc dot gnu.org

--- Comment #1 from davem at gcc dot gnu.org 2012-01-20 18:59:11 UTC ---
Strange, I would expect a compiler error rather then it emitting an invalid odd
register.

The output operand of all insns generating 'fpmerge' only accept the proper 'e'
constraint.


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

* [Bug target/51920] 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs
  2012-01-20 18:07 [Bug target/51920] New: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs ro at gcc dot gnu.org
  2012-01-20 19:16 ` [Bug target/51920] " davem at gcc dot gnu.org
@ 2012-01-29 22:11 ` ebotcazou at gcc dot gnu.org
  2012-01-29 23:51 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-01-29 22:11 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-01-29
   Target Milestone|---                         |4.7.0
     Ever Confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-29 21:20:15 UTC ---
I can reproduce.


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

* [Bug target/51920] 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs
  2012-01-20 18:07 [Bug target/51920] New: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs ro at gcc dot gnu.org
  2012-01-20 19:16 ` [Bug target/51920] " davem at gcc dot gnu.org
  2012-01-29 22:11 ` ebotcazou at gcc dot gnu.org
@ 2012-01-29 23:51 ` ebotcazou at gcc dot gnu.org
  2012-01-30 13:38 ` ebotcazou at gcc dot gnu.org
  2012-01-30 13:39 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-01-29 23:51 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |ebotcazou at gcc dot
                   |gnu.org                     |gnu.org

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-29 23:23:19 UTC ---
> The output operand of all insns generating 'fpmerge' only accept the proper 'e'
> constraint.

'e' doesn't imply even-numbered though, there is no specific constraint for
that.

I think it's the long-standing issue with word-mode paradoxical subregs of FP
regs in 64-bit mode, for which both the PA and the SPARC ports have a kludge,
in the form of the CANNOT_CHANGE_MODE_CLASS macro.

I'm going to kludge again for this one by tweaking vector_init_fpmerge a bit.


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

* [Bug target/51920] 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs
  2012-01-20 18:07 [Bug target/51920] New: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-01-29 23:51 ` ebotcazou at gcc dot gnu.org
@ 2012-01-30 13:38 ` ebotcazou at gcc dot gnu.org
  2012-01-30 13:39 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-01-30 13:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-30 12:43:56 UTC ---
Author: ebotcazou
Date: Mon Jan 30 12:43:51 2012
New Revision: 183717

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183717
Log:
    PR target/51920
    * config/sparc/sparc.c (vector_init_fpmerge): Remove INNER_MODE
    parameter and use short-lived pseudos.
    (vector_init_faligndata): Remove INNER_MODE parameter and use loop.
    (sparc_expand_vector_init): Const-ify local variables and adjust
    calls to above functions.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sparc/sparc.c


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

* [Bug target/51920] 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs
  2012-01-20 18:07 [Bug target/51920] New: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs ro at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-01-30 13:38 ` ebotcazou at gcc dot gnu.org
@ 2012-01-30 13:39 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-01-30 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-30 12:46:02 UTC ---
Sort of.


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

end of thread, other threads:[~2012-01-30 12:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-20 18:07 [Bug target/51920] New: 64-bit gcc.target/sparc/vec-init-1-vis1.c FAILs ro at gcc dot gnu.org
2012-01-20 19:16 ` [Bug target/51920] " davem at gcc dot gnu.org
2012-01-29 22:11 ` ebotcazou at gcc dot gnu.org
2012-01-29 23:51 ` ebotcazou at gcc dot gnu.org
2012-01-30 13:38 ` ebotcazou at gcc dot gnu.org
2012-01-30 13:39 ` ebotcazou at gcc dot gnu.org

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