On Mar 28, 2014, at 9:03 AM, Gerriet M. Denkmann wrote:

> I need something like:
> 
> vU1024 a = ...
> vU1024 b = ...
> a += b
> 
> can one do (A):
> vU1024Add( &a, &b, &a);
> 
> or do I have to write (B):
> vU1024 temp;
> vU1024Add( &a, &b, &temp) ;
> memcpy(&a, &temp, sizeof(a) );
> 
> I tried (A) and it seems to work.
> But this could be some (undocumented) implementation detail, and I am kind of 
> reluctant to rely on it.
> Any authoritative answers?

You're more likely to get an answer from the perfoptimization-dev list 
<https://lists.apple.com/mailman/listinfo/perfoptimization-dev>.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to