Re: need help on porting from 32bit to 64bit.
Re: need help on porting from 32bit to 64bit.
- Subject: Re: need help on porting from 32bit to 64bit.
- From: Alastair Houghton <email@hidden>
- Date: Mon, 3 May 2010 22:51:56 +0100
On 3 May 2010, at 20:09, Nathan Herring wrote:
> GNU also has some compiler intrinsics to perform the same, so you can avoid the cost of the function call to OS services.
IMO it's better to use the OSByteOrder/NSByteOrder/CFByteOrder APIs instead. They will expand to compiler intrinsics or assembly language as appropriate anyway.
Which you use is, as Jean-Daniel remarked, mainly a matter of taste.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden