• 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: Detecting AltiVec in kernel land
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting AltiVec in kernel land


  • Subject: Re: Detecting AltiVec in kernel land
  • From: Laurent Cerveau <email@hidden>
  • Date: Thu, 11 Apr 2002 11:26:05 +0200

There may be different solutions :
- The firmware is putting a property called "altivec" into teh device tree for the cpu related node. You can parse for it
- There is a sysctl selector ( HW_VECTORUNIT) (look at sysctl.h in Kernel.framework)

Laurent

On Wednesday, April 10, 2002, at 09:33 PM, Stephan wrote:

I'd like to use AltiVec code in my IOAudioFamily kext. How am I supposed to detect presence of an AltiVec engine? The user land Gestalt(gestaltPowerPCProcessorFeatures, &processorAttributes) function seems not to be available in kernel mode. Do I have to read the PVR register and use a feature lookup table? If so, where to find a Version->Feature table?

-Stephan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Detecting AltiVec in kernel land
      • From: David DeHaven <email@hidden>
References: 
 >Detecting AltiVec in kernel land (From: Stephan <email@hidden>)

  • Prev by Date: Re: reading audio files off a CD under X
  • Next by Date: Re: reading audio files off a CD under X
  • Previous by thread: Detecting AltiVec in kernel land
  • Next by thread: Re: Detecting AltiVec in kernel land
  • Index(es):
    • Date
    • Thread