This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/21981] __m64 return value should be returned in %mm0
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2005 14:16:35 -0000
- Subject: [Bug target/21981] __m64 return value should be returned in %mm0
- References: <20050609125635.21981.uros@kss-loka.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-09 14:16 -------
Confirmed, ICC returns it in %mm0.
Note this is the testcase which I used:
#include <mmintrin.h>
__m64
aaa (__m64 x, __m64 y)
{
__m64 mm1;
mm1 = _mm_add_pi8 (x, y);
return mm1;
}
int main() {
__m64 mm0;
__m64 mm1;
union ttt {
__m64 mm;
char x[8];
} temp;
temp.mm = aaa (mm0, mm1);
printf ("%i\n", temp.x[0]);
return 0;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2005-06-09 14:16:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21981