> Rather than just a sequence of NOP's, should the first NOP be a
> unconditional branch to the beginning of the real function?  I don't
> know if this applies to AArch64 cpus, but I believe some cpus can handle
> such branches already in the decode unit, thus avoiding any extra cycles
> for skipping the NOPs.

nops are very cheap. Typically they are already discard in the frontend.
It's unlikely all of this is worth it.

-Andi

-- 
a...@linux.intel.com -- Speaking for myself only

Reply via email to