Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ppc_intrinsics -- astrcmp misdefined?



On Sunday, Aug 31, 2003, at 23:02 US/Pacific, Brian Barnes wrote:
And get abs + fabs in there too :)

fabs/fabsf ppc_intrinsics, you do not need to use as GCC already "inlines" for absf/fabsf.
Also in newer versions of GCC, it will use fsel more.

If you are doing lot of floating point, I would try this option: -funsafe-math-optimizations.
It might help you in speed but might hurt you in precision.

Also abs I found using the recommend way in the PPC compiler guide was no faster than what GCC emitted (branches).

Thanks,
Andrew Pinski
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.

References: 
 >ppc_intrinsics -- astrcmp misdefined? (From: Brian Barnes <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.