Re:Conditional instructions in the ARM1 processor, reverse e...
by sklogic on Wednesday February 03, 2016 @05:45AM
(#11025790)
Conditional instructions had been removed for one reason, not related to the register encoding: they were at odds with the OoO execution.
Re:Conditional instructions in the ARM1 processor, reverse e...
by cesarb on Wednesday February 03, 2016 @08:20AM
(#11026284)
Yes, as the designers of the RISC-V ISA (an unrelated recently-designed ISA) explain (http://riscv.org/spec/riscv-spec-v2.0.pdf page 17):
"Both conditional move and predicated instructions add complexity to out-of-order microarchitectures, adding an implicit third source operand due to the need to copy the original value of the destination architectural register into the renamed destination physical register if the predicate is false."
But removing predicated instructions on 64-bit ARM freed four bits on the encoding of every instruction. What's the obvious use for four extra instruction bits? Adding one bit to each register field, thus doubling the number of registers. That is, my guess is that having twice the number of ISA-visible registers was a consequence of removing the predication bits, not its cause.
At the same time, the 64-bit ISA doubled the number of registers, which probably was made possible by the instruction encoding bits freed by removing this conditional instructions feature.