 |
 |
g4/alti-vec machine code examples?
|
 |
|
 |
|
Forum Regular
Join Date: Aug 2002
Status:
Offline
|
|
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
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status:
Offline
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |