• 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: -fast destroys ppc_intrinsic functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -fast destroys ppc_intrinsic functions


  • Subject: Re: -fast destroys ppc_intrinsic functions
  • From: email@hidden
  • Date: Mon, 2 Feb 2004 11:19:40 -0800

"Note that -ffast-math, -fstrict-aliasing and -malign-natural are unsafe in some situations." (These are some of the options turned on by '-fast'...)

The man page for gcc will tell you what flags are turned on by '-fast' so you can enable what you really need. It's not a panacea.


-ChrisF

On Jan 31, 2004, at 6:34 PM, Brian Barnes wrote:

Can anybody tell me how I can still use ppc_intrinsic functions (like astrcmp, __frsqrtes, __fmadds) when I have the -fast flag on? I've tried lots of different combinations to no avail.

For instance:

-fast -mcpu=G4 -mtune=G4 -force_cpusubtype_ALL

Doesn't seem to make it work. I find it hard to believe this compiler option and these calls would be mutually exclusive :)

[>] Brian
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: -fast destroys ppc_intrinsic functions (part II)
      • From: "email@hidden" <email@hidden>
    • Re: -fast destroys ppc_intrinsic functions
      • From: Brian Barnes <email@hidden>
  • Prev by Date: Re: math.h, -lmx and ZeroLink
  • Next by Date: Re: Code collapse/expand
  • Previous by thread: Re: Perforce Integration Issue
  • Next by thread: Re: -fast destroys ppc_intrinsic functions
  • Index(es):
    • Date
    • Thread