public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics
@ 2005-01-13 5:10 tbptbp at gmail dot com
2005-01-13 5:11 ` [Bug target/19418] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: tbptbp at gmail dot com @ 2005-01-13 5:10 UTC (permalink / raw)
To: gcc-bugs
Would it be possible to add those, as far as know, new casting intrinsics?
As ICC8.1 doesn't support straight C casts (neither does msvc2k3), they are
bound to appear sooner or later in code.
Excerpt from the only documentation i've found about them:
Intrinsics for Casting Support
This version of the Intel C++ Compiler supports casting between
various SP, DP, and INT vector types. These intrinsics do not convert
values; they just change the type.
extern __m128 _mm_castpd_ps(__m128d in);
extern __m128i _mm_castpd_si128(__m128d in);
extern __m128d _mm_castps_pd(__m128 in);
extern __m128i _mm_castps_si128(__m128 in);
extern __m128 _mm_castsi128_ps(__m128i in);
extern __m128d _mm_castsi128_pd(__m128i in);
--
Summary: _mm_cast*, icc8.1 new intrinsics
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbptbp at gmail dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
@ 2005-01-13 5:11 ` pinskia at gcc dot gnu dot org
2005-01-13 5:40 ` rth at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-13 5:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-13 05:11 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Component|c |target
Ever Confirmed| |1
GCC host triplet|cygwin |
GCC target triplet| |i?86-*-*, x86_64-*-*
Keywords| |ssemmx
Last reconfirmed|0000-00-00 00:00:00 |2005-01-13 05:11:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
2005-01-13 5:11 ` [Bug target/19418] " pinskia at gcc dot gnu dot org
@ 2005-01-13 5:40 ` rth at gcc dot gnu dot org
2005-01-13 5:44 ` tbptbp at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-13 5:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-01-13 05:40 -------
What file does Intel put them in?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
2005-01-13 5:11 ` [Bug target/19418] " pinskia at gcc dot gnu dot org
2005-01-13 5:40 ` rth at gcc dot gnu dot org
@ 2005-01-13 5:44 ` tbptbp at gmail dot com
2005-01-13 5:47 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tbptbp at gmail dot com @ 2005-01-13 5:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tbptbp at gmail dot com 2005-01-13 05:44 -------
They are described in the SSE2 documentation chapter and defined in emmintrin.h
that way:
/*
* Support for casting between various SP, DP, INT vector types.
* Note that these do no conversion of values, they just change
* the type.
*/
extern __m128 _mm_castpd_ps(__m128d in);
extern __m128i _mm_castpd_si128(__m128d in);
extern __m128d _mm_castps_pd(__m128 in);
extern __m128i _mm_castps_si128(__m128 in);
extern __m128 _mm_castsi128_ps(__m128i in);
extern __m128d _mm_castsi128_pd(__m128i in);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
` (2 preceding siblings ...)
2005-01-13 5:44 ` tbptbp at gmail dot com
@ 2005-01-13 5:47 ` pinskia at gcc dot gnu dot org
2005-01-14 3:51 ` tbptbp at gmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-13 5:47 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2005-01-13 05:11:35 |2005-01-13 05:47:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
` (3 preceding siblings ...)
2005-01-13 5:47 ` pinskia at gcc dot gnu dot org
@ 2005-01-14 3:51 ` tbptbp at gmail dot com
2005-01-20 10:25 ` rth at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: tbptbp at gmail dot com @ 2005-01-14 3:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tbptbp at gmail dot com 2005-01-14 03:51 -------
While we're at it, in pmmintrin.h, the DAZ related macros are conditionnalized
on __SSE3__ definition and that's not quite right.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
` (4 preceding siblings ...)
2005-01-14 3:51 ` tbptbp at gmail dot com
@ 2005-01-20 10:25 ` rth at gcc dot gnu dot org
2005-01-20 19:07 ` cvs-commit at gcc dot gnu dot org
2005-01-20 19:09 ` rth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-20 10:25 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-01-13 05:47:29 |2005-01-20 10:22:05
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
` (5 preceding siblings ...)
2005-01-20 10:25 ` rth at gcc dot gnu dot org
@ 2005-01-20 19:07 ` cvs-commit at gcc dot gnu dot org
2005-01-20 19:09 ` rth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-20 19:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-20 19:06 -------
Subject: Bug 19418
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-01-20 19:06:28
Modified files:
gcc : ChangeLog
gcc/config/i386: emmintrin.h
Log message:
PR target/19418
* config/i386/emmintrin.h (_mm_castpd_ps, _mm_castpd_si128): New.
(_mm_castps_pd, _mm_castps_si128): New.
(_mm_castsi128_ps, _mm_castsi128_pd): New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7203&r2=2.7204
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/emmintrin.h.diff?cvsroot=gcc&r1=1.12&r2=1.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/19418] _mm_cast*, icc8.1 new intrinsics
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
` (6 preceding siblings ...)
2005-01-20 19:07 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-20 19:09 ` rth at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-20 19:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-01-20 19:09 -------
Fixed.
If someone wants to go over the rest of the headers item by item and compare
them to the Intel documentation, that would be great. But by eyes claim
they'll go on strike if I try to do that.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19418
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-01-20 19:09 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-13 5:10 [Bug c/19418] New: _mm_cast*, icc8.1 new intrinsics tbptbp at gmail dot com
2005-01-13 5:11 ` [Bug target/19418] " pinskia at gcc dot gnu dot org
2005-01-13 5:40 ` rth at gcc dot gnu dot org
2005-01-13 5:44 ` tbptbp at gmail dot com
2005-01-13 5:47 ` pinskia at gcc dot gnu dot org
2005-01-14 3:51 ` tbptbp at gmail dot com
2005-01-20 10:25 ` rth at gcc dot gnu dot org
2005-01-20 19:07 ` cvs-commit at gcc dot gnu dot org
2005-01-20 19:09 ` rth 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).