• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CodeWarrior Intrinsic Functions in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >CodeWarrior Intrinsic Functions in XCode (From: email@hidden)

  • Prev by Date: CodeWarrior Intrinsic Functions in XCode
  • Next by Date: Re: No launchable executable
  • Previous by thread: CodeWarrior Intrinsic Functions in XCode
  • Index(es):
    • Date
    • Thread