471,319 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

icc, gcc sse alignement

Hi,
I try to learn mmx and sse, to begin with i try to understand some
examples i found on the net.
Basically all __m128 vectors are 16 bit aligned, but one some
examples saw them 64 aligned. Is there any specific reason ?
I use icc most of the time, but some time I try to use gcc as well,
but I didn't get same result and even whorse
i got segfault sometimes, is this can be related to alignement
problem ?

Any ideas ?

Jul 3 '07 #1
2 2111
easter bunny wrote:
Hi,
I try to learn mmx and sse, to begin with i try to understand some
examples i found on the net.
Basically all __m128 vectors are 16 bit aligned, but one some
examples saw them 64 aligned. Is there any specific reason ?
[...]

Are you looking for comp.lang.asm.x86?

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

--
Thomas
http://www.netmeister.org/news/learn2quote.html
Jul 3 '07 #2
On 3 juil, 23:25, "Thomas J. Gritzan" <Phygon_ANTIS...@gmx.dewrote:
easter bunny wrote:
Hi,
I try to learn mmx and sse, to begin with i try to understand some
examples i found on the net.
Basically all __m128 vectors are 16 bit aligned, but one some
examples saw them 64 aligned. Is there any specific reason ?

[...]

Are you looking for comp.lang.asm.x86?

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

--
Thomashttp://www.netmeister.org/news/learn2quote.html
Actually not because this a common issue with c/c++ and not really x86
asm.
I don't want to use asm code, just sse instrincs in my c++ code.

But anyway i will post in an other group if this is more appropriate.

Thanks for your answers
Jul 4 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by michael | last post: by
30 posts views Thread by JKop | last post: by
3 posts views Thread by Arto Huusko | last post: by
7 posts views Thread by Zero | last post: by
1 post views Thread by tota | last post: by
2 posts views Thread by tobiasoed | last post: by
4 posts views Thread by Pascal | last post: by
10 posts views Thread by Lionel B | last post: by
reply views Thread by vanillasnake21 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.