Liste des Groupes | Revenir à c arch |
mitchalsup@aol.com (MitchAlsup1) writes:--------------
Architecture defines the primitives, Hardware provides the primitives,>>
My argument is that this is a SW decision (in the compiler) not a
HW decision (other than providing the PREDs).
That's a position, not an argument. Do you have an argument for your
position?
When there is an else-clause, the PRED uses 1 fewer instruction:Since PREDs are not>
predicted (unless you think they are predicted BOTH ways) they do
not diminish the performance of the branch predictors.
Nor increase it.
But it sounds like you think that the compilerCompiler is setup to use PRED when the then-clause is 8 or fewer
should choose predication when the condition is not particularly
predictable. How should the compiler know that?
>
- anton
Les messages affichés proviennent d'usenet.