This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

indirect branches in ARMv8

Please clarify that with me... With

"The current Program Counter (PC) cannot be referred to by number as if part of
the general register file and therefore cannot be used as the source or destination
of arithmetic instructions, or as the base, index or transfer register of load and
store instructions.
"

in the programming guide what indirect branches, eg. a BTAC (Branch Target Address cache) of A53 is supposed to handle? I can think of only svc, hvc, smc, eret.

By removing instructions that refer directly to the PC a number of indirect branches got significantly reduced from ARMv7 to ARMv8.

Thanks!

Marek