Question: What is predication and how can it be used to speed up program execution?
What is predication and how can it be used to speed up program execution?
Step by Step Solution
3.49 Rating (156 Votes )
There are 3 Steps involved in it
Predication is a feature of both the ARM and the Itanium IA64 The execution of instructions is predicated on the value of some variable In the ARM it is just the condition codes for example ADDEQ r0r1r2 performs the addition only if the Zbit is set add on equal The Itanium has 64 predicate registers and the equivalent operation in p1 add r0 r1r2 In this case the addition takes place if predicate register p1 is true ie 1 Predication allows you to reduce the number of branches because the if is included in the instruction ... View full answer
Get step-by-step solutions from verified subject matter experts
