public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/58139] New: PowerPC volatile VSX register live across call
@ 2013-08-12 17:15 dje at gcc dot gnu.org
  2013-08-12 17:17 ` [Bug target/58139] " dje at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: dje at gcc dot gnu.org @ 2013-08-12 17:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58139
           Summary: PowerPC volatile VSX register live across call
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org

void tightness3_intrinsics2(double* A, double* B, int N) {
 __vector double * vA = (__vector double*)A;
 __vector double * vB = (__vector double*)B;
 __vector double va0, va1;
 double b0, b1, b2, b3;
 va0 = vA[0];
 va1 = vA[1];
 b0 = log(vec_extract(va0, 0));
 b1 = log(vec_extract(va0, 1));
 b2 = log(vec_extract(va1, 0));
 b3 = log(vec_extract(va1, 1));
 __vector double vb0 = {b0, b1};
 __vector double vb1 = {b2, b3};
 vB[0] = vb0;
 vB[1] = vb1;
}

         xxpermdi 1,63,63,2
         xxpermdi 30,30,29,0
         bl log
         nop
         addi 1,1,192
         li 0,-80
         stxvd2x 30,0,30

GCC should not expect VSX 30 to be preserved across the call to log().


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

end of thread, other threads:[~2014-03-26 22:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-12 17:15 [Bug target/58139] New: PowerPC volatile VSX register live across call dje at gcc dot gnu.org
2013-08-12 17:17 ` [Bug target/58139] " dje at gcc dot gnu.org
2013-08-12 22:05 ` bergner at gcc dot gnu.org
2013-08-14 17:13 ` bergner at gcc dot gnu.org
2013-09-05 14:09 ` bergner at gcc dot gnu.org
2013-09-05 14:17 ` bergner at gcc dot gnu.org
2013-09-05 17:28 ` dominiq at lps dot ens.fr
2013-09-05 21:14 ` meissner at gcc dot gnu.org
2013-09-05 21:27 ` dominiq at lps dot ens.fr
2013-09-05 22:08 ` hjl.tools at gmail dot com
2013-09-05 22:31 ` bergner at gcc dot gnu.org
2013-09-05 23:31 ` dominiq at lps dot ens.fr
2014-01-16 14:57 ` bergner at gcc dot gnu.org
2014-03-26  0:44 ` macro@linux-mips.org
2014-03-26 21:36 ` bergner at gcc dot gnu.org
2014-03-26 22:05 ` macro@linux-mips.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).