Cell und Branches

Planet

50% water, 50% air, the glass is always full!
PSN-Name: PlanetJumble
#1
Aus dem Artikel, der heute auf der Hauptseite in den News benannt wurde:

To limit hardware overhead for branch speculation, branches can be “hinted” by the programmer or compiler. The branch hint instruction notifies the hardware of an upcoming branch address and branch target, and the hardware responds (assuming that local store slots are available) by pre-fetching at least seventeen instructions at the branch target address. A three-source bitwise select instruction can be used to further eliminate branches from the code.
Quelle
Somit ist es definitiv für einen angepassten Compiler möglich, kommende Branches anzukündigen oder ganz zu vermeiden. Mann wird sicherlich früher oder später herausfinden, wie komplexe Algorithmen wie Physik oder KI auf einer SPU zu programmieren sind. Aber selbst wenn ein real existierendes Beispiel vorliegt, das PS3- und Cell-Bashing wird wohl nie aufhören.
 
Top