Re: Using vBigNum in a C tool
Re: Using vBigNum in a C tool
- Subject: Re: Using vBigNum in a C tool
- From: Graham J Lee <email@hidden>
- Date: Wed, 22 Jun 2005 10:14:31 +0100
On 20 Jun 2005, at 22:02, Cameron Hayne wrote:
On 20-Jun-05, at 2:35 PM, Mark Bessey wrote:
It looks like you probably haven't enabled Altivec in your target or
project build settings. You'll want to "Get Info" on your target and
make sure that "Enable Altivec Extensions" is enabled in the build
settings.
For what it's worth (this is a documentation issue) - I have always
been reading that option as if it were "Enable Altivec-extensions" -
i.e. extensions to Altivec. I had assumed that Altivec itself was
always enabled. But I've never used Altivec explicitly so it was never
really an issue. I started to wonder about this with the new (for gcc
4) auto-vectorizing.
There's a tickybox in XCode 2.1 (I assume it was there in 2.0 too, but
I never really used that) for enable/disabling auto-vectorisation.
For info, I did take my XC1.5 vBigNum project home last night and
import it into XC2.1 on my own computer. It compiled first time but
issued warnings that the vector forms of malloc and memcpy (I assume it
meant ones that aligned on vector boundaries) weren't in use because
-faltivec had been issued without -maltivec. So I had to dig through
the various build config settings to find *another* box for enabling
Altivec. I haven't tried a universal build yet...
Cheers,
Graham.
--
Graham Lee GPG Key ID: 01D5B9D8
UNIX Systems Manager, Oxford Physics Practical Course
Coordinator, UKUUG Apple SIG
(http://lists.ukuug.org/mailman/listinfo/apple-sig)
Technical bod, Oxford Mac Users' Group (http://www.oxmug.org)
_______________________________________________
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