Altivec
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    what is Altivec? does mos suport it? and what is it good for?
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »12.03.04 - 23:14
    Profile Visit Website
  • JKD
  • Order of the Butterfly
    Order of the Butterfly
    JKD
    Posts: 456 from 2003/4/4
    From: South of heaven
    He's a threadstarter....twisted threadstarter....

    Seriously though, Altivec is designed for performing operations on data streams...similar PC technology is SSE/SSE2.

    What do I mean by operations on data streams..decoding etc.

    It's a very fast, 'small' instruction set and can operate on multiple words of data at once performing various mathematical operations that might take multiple passes on a CPU or even an FPU.

    For a reference(of a very optimal example), compare the speed of say dnetc-72 regular core with an altivec enabled one.

    Alternatively USE THE BLOODY GOOGLE :-)

    Steve
  • »12.03.04 - 23:22
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    haha thank you :-D
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »12.03.04 - 23:32
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Donar
    Posts: 142 from 2003/12/27
    From: Germany
    I have heard Altivec will be enabled in MOS 1.5.
    The current dnetc has the Altivec code inside but is not enabled. I think i saw a screenshot of a 1 GHz G4 counting 10 Mkeys.
  • »13.03.04 - 06:42
    Profile
  • Butterfly
    Butterfly
    ultraspec
    Posts: 94 from 2004/1/29
    Quote:


    poundsmack wrote:
    what is Altivec? does mos suport it? and what is it good for?


    Altivec is something all you Gentoo users will be obsessed with :)
  • »15.03.04 - 17:00
    Profile Visit Website
  • Caterpillar
    Caterpillar
    Atheist
    Posts: 24 from 2003/2/24
    From: Vancouver, Bri...
    Altivec can be used for really, really, really fast vector graphics (from what I was told).

    Anyone for "Tepest 20,000"??


    BTW: I think it's;
    "WHEN THERE'S NO MORE ROOM IN HELL, THE DEAD WILL WALK the EARTH.",
    but I could be wrong there too. :-?
  • »23.03.04 - 01:59
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    HEy Poundsmack

    I thought I told you dont start any more threads until you OWN A PEGASOS!



    magnetic :-o Quote:

    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »23.03.04 - 03:35
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    dholm
    Posts: 296 from 2003/9/1
    From: Malmo, Sweden
    AltiVec can (amongst other things) be used to speed up applications where arithmetic or data manipulation operations on multiple data (vectors) can be carried out at the same time. It's most most frequently in applications that encode or decode video or audio data, because they tend to be very easy to divide into sequence of datablocks. Most applications can utilise AltiVec though, given that the developer(s) take this into account from the start.
    Usually you can speed up operations with a factor of 2-10 times. Photoshop on OSX uses AltiVec, which is why it is so fast and can compete with the latest of Intel CPUs in benchmarks.

    AltiVec existed originally only in IBMs POWER CPUs but was imported into the G4. Vector calculation in consumer-grade CPUs has existed since the middle 90s though. PA-RISC was the first "standard" CPU to support it, later Intel joined in with MMX, SSE and now SSE2. AMD call their vector unit 3DNow and Sun has something called VIS in some of their Sparc CPUs.
  • »23.03.04 - 10:27
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    MarK
    Posts: 641 from 2004/1/25
    From: Prague, The Cz...
    AltiVec is a G4's vector unit. Like other units, it runs paralelly with each other, it means, that your CPU can process (iirc) four integer mathematical instructions, one float mathematical instruction, one load/store instruction, one branch instruction, and for more four altivec instructions. This means, that the G4 can process upto 11 instructions at a single CPU cycle at ideal state, ofcourse.

    The altivec itself contains four units (as above), vector permute unit, two integer and one float unit. As the AltiVec instruction works only with 128 bit data, it can operate with 4 32 bit floats through single instruction, 4 32 bit integers, 8 16 bit integers, and 16 8 bit integers. In practice it's far more complicated, that I explain here. Simply, to process, say, 16 bytes, each alone, it's enough to use a single instruction. Without altivec, You would require atleast 15 more instructions and so more CPU cycles :-D
  • »23.03.04 - 10:30
    Profile