Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > g4/alti-vec machine code examples?

g4/alti-vec machine code examples?
Thread Tools
Forum Regular
Join Date: Aug 2002
Status: Offline
Reply With Quote
Feb 5, 2003, 11:46 PM
 
anyone know where I can find this stuff?

I'm wanting a page that will show the machine code, and the stages leading back to the programmer's code...

any ideas?

thanks,

Jason
     
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status: Offline
Reply With Quote
Feb 5, 2003, 11:57 PM
 
I would try doing research at http://www.altivec.org and checking out Motorola's documentaiton on Altivec.

From the way you phrased your question, it *sounds* like you are asking how compilers turn written high level code into altivec machine code. My understanding is that altivec capable compilers are not nearly that advanced. You have to directly code for altivec. There is a 1 to 1 correspondence between high level language calls and machine code. The above two sources would likely be best for finding those function calls. Motorola has a Programmers' Interface Manual, or PIM. I stumbled across that along my search for high speed linear algebra solutions. That's probably the best document.

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
Forum Regular
Join Date: Aug 2002
Status: Offline
Reply With Quote
Feb 6, 2003, 12:44 AM
 
thanks!
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Feb 7, 2003, 08:32 AM
 
Originally posted by rustyclockwork:
anyone know where I can find this stuff?

I'm wanting a page that will show the machine code, and the stages leading back to the programmer's code...

any ideas?

thanks,

Jason
Take a look at distributed.net's client which are available.
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Feb 7, 2003, 08:33 AM
 
Originally posted by Detrius:
I would try doing research at http://www.altivec.org and checking out Motorola's documentaiton on Altivec.

From the way you phrased your question, it *sounds* like you are asking how compilers turn written high level code into altivec machine code. My understanding is that altivec capable compilers are not nearly that advanced. You have to directly code for altivec. There is a 1 to 1 correspondence between high level language calls and machine code. The above two sources would likely be best for finding those function calls. Motorola has a Programmers' Interface Manual, or PIM. I stumbled across that along my search for high speed linear algebra solutions. That's probably the best document.
You can also use the -fenable-altivec siwtch on gcc's command line and some stuff will get altivec optimized.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:45 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2