On 10/08/10 10:08, Christoffer Haglund wrote:

> Ok, I think I understand. This means the test application I sent in my
> previous mail shows the lack of alignment-awareness rather than an
> actual bug, right?

Well it's a bug in your application rather than a bug in valgrind.

I'm not quite sure how the compiler's vectoriser knows that it is safe 
to use an instruction that requires 16 byte alignment to process an 
array of ints, but it is certainly entitled to assume that an array of 
int's is 4 byte aligned and you have tricked it with your cast.

Tom

-- 
Tom Hughes ([email protected])
http://compton.nu/

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to