Re: CodeWarrior Intrinsic Functions in XCode
Re: CodeWarrior Intrinsic Functions in XCode
- Subject: Re: CodeWarrior Intrinsic Functions in XCode
- From: Eric Albert <email@hidden>
- Date: Sun, 31 Jul 2005 16:11:28 -0700
On Jul 31, 2005, at 3:48 PM, email@hidden wrote:
CodeWarrior had intrinsic functions to call assember routines like __abs(int), __fabs(float), etc. How do you do that in XCode?
Many of them are in <ppc_intrinsics.h>, though the set of functions in there isn't exactly the same as CodeWarrior has. For example, __fabs is present, but __abs is not. Most of the CodeWarrior intrinsics are present, though.
As for __abs specifically, I'd hope that the overhead of the function call for abs isn't measurable in your code. There are certainly some applications where that matters, but that's rather unusual.
Hope this helps,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden