public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/59462] New: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS
@ 2013-12-10 23:13 sje at gcc dot gnu.org
  2014-01-17 18:07 ` [Bug target/59462] " sje at gcc dot gnu.org
  2014-01-21 18:56 ` sje at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: sje at gcc dot gnu.org @ 2013-12-10 23:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59462
           Summary: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails
                    on MIPS
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sje at gcc dot gnu.org
                CC: rsandifo at gcc dot gnu.org
            Target: mips*-*-*

The test c-c++-common/cilk-plus/AN/builtin_func_double2.c is failing on both of
my mips targets (mips-mti-elf and mips-mti-linux-gnu).  Here is a cutdown
test case:

int foo(void)
{
  int y, i;
  double array[100];
  for (i = 0; i < 100; i++)
    {
      array[i] = (double) i;
    }
  y = __sec_reduce_any_nonzero (array[:]);
  return y;
}

And here is the failure when compiled with g++ -O2 -ftree-vectorize -fcilkplus.
For some reason the same code compiled with C instead of C++ works.

install-mips-mti-elf/bin/mips-mti-elf-g++ -c -O2 -ftree-vectorize -fcilkplus
q.c
/tmp/cc3IU2hd.s: Assembler messages:
/tmp/cc3IU2hd.s:45: Error: invalid operands `movz $2,$4,$fcc0'


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

* [Bug target/59462] c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS
  2013-12-10 23:13 [Bug target/59462] New: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS sje at gcc dot gnu.org
@ 2014-01-17 18:07 ` sje at gcc dot gnu.org
  2014-01-21 18:56 ` sje at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: sje at gcc dot gnu.org @ 2014-01-17 18:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Steve Ellcey <sje at gcc dot gnu.org> ---
Author: sje
Date: Fri Jan 17 18:07:18 2014
New Revision: 206724

URL: http://gcc.gnu.org/viewcvs?rev=206724&root=gcc&view=rev
Log:
2014-01-17  Andrew Pinski <apinski@cavium.com>
        Steve Ellcey  <sellcey@mips.com>

    PR target/59462
    * config/mips/mips.c (mips_print_operand): Check operand mode instead
    of operator mode.

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


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

* [Bug target/59462] c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS
  2013-12-10 23:13 [Bug target/59462] New: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS sje at gcc dot gnu.org
  2014-01-17 18:07 ` [Bug target/59462] " sje at gcc dot gnu.org
@ 2014-01-21 18:56 ` sje at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: sje at gcc dot gnu.org @ 2014-01-21 18:56 UTC (permalink / raw)
  To: gcc-bugs

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

Steve Ellcey <sje at gcc dot gnu.org> changed:

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

--- Comment #3 from Steve Ellcey <sje at gcc dot gnu.org> ---
Fixed on Mainline (4.9) and backported to 4.8 branch for 4.8.3.


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

end of thread, other threads:[~2014-01-21 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-10 23:13 [Bug target/59462] New: c-c++-common/cilk-plus/AN/builtin_func_double2.c fails on MIPS sje at gcc dot gnu.org
2014-01-17 18:07 ` [Bug target/59462] " sje at gcc dot gnu.org
2014-01-21 18:56 ` sje 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).