public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19820] New: How to get results from a V2SF ?
@ 2005-02-08 17:26 plm at netspace dot net dot au
  2005-02-08 18:58 ` [Bug c/19820] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: plm at netspace dot net dot au @ 2005-02-08 17:26 UTC (permalink / raw)
  To: gcc-bugs

This is probably not really a bug, just a hole in the documentation. While
google can demonstrate how to get values into vectors, and the info pages the
names of the manipulation functions avaliable, there seems to be no
documentation on how to get at the results of the manipulation.

How do you get at the results?

typedef float V2SF __attribute__((vector_size(8)));

int main()
{
  V2SF a = { 2.0, 3.0 };
  V2SF b = { 4.0, 5.0 };
  V2SF c;

  c = __builtin_ia32_pfmul(a,b);  
  
  /* how to get at the values in c? */
    
  return 0;
};

-- 
           Summary: How to get results from a V2SF ?
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: plm at netspace dot net dot au
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c/19820] How to get results from a V2SF ?
  2005-02-08 17:26 [Bug c/19820] New: How to get results from a V2SF ? plm at netspace dot net dot au
@ 2005-02-08 18:58 ` pinskia at gcc dot gnu dot org
  2005-06-19 14:57 ` pinskia at gcc dot gnu dot org
  2005-06-20 18:42 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-08 18:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-08 13:37 -------
Hmm, I thought this was documented but you use an union.

-- 


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


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

* [Bug c/19820] How to get results from a V2SF ?
  2005-02-08 17:26 [Bug c/19820] New: How to get results from a V2SF ? plm at netspace dot net dot au
  2005-02-08 18:58 ` [Bug c/19820] " pinskia at gcc dot gnu dot org
@ 2005-06-19 14:57 ` pinskia at gcc dot gnu dot org
  2005-06-20 18:42 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-19 14:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |documentation


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


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

* [Bug c/19820] How to get results from a V2SF ?
  2005-02-08 17:26 [Bug c/19820] New: How to get results from a V2SF ? plm at netspace dot net dot au
  2005-02-08 18:58 ` [Bug c/19820] " pinskia at gcc dot gnu dot org
  2005-06-19 14:57 ` pinskia at gcc dot gnu dot org
@ 2005-06-20 18:42 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-20 18:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-20 18:42 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-20 18:42:25
               date|                            |


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


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

end of thread, other threads:[~2005-06-20 18:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-08 17:26 [Bug c/19820] New: How to get results from a V2SF ? plm at netspace dot net dot au
2005-02-08 18:58 ` [Bug c/19820] " pinskia at gcc dot gnu dot org
2005-06-19 14:57 ` pinskia at gcc dot gnu dot org
2005-06-20 18:42 ` pinskia at gcc dot gnu dot 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).