• Dimitris Papastamos's avatar
    Optimize/cleanup BPIALL workaround · d9bd656c
    Dimitris Papastamos authored
    
    
    In the initial implementation of this workaround we used a dedicated
    workaround context to save/restore state.  This patch reduces the
    footprint as no additional context is needed.
    
    Additionally, this patch reduces the memory loads and stores by 20%,
    reduces the instruction count and exploits static branch prediction to
    optimize the SMC path.
    
    Change-Id: Ia9f6bf06fbf8a9037cfe7f1f1fb32e8aec38ec7d
    Signed-off-by: default avatarDimitris Papastamos <dimitris.papastamos@arm.com>
    d9bd656c
context.h 11.4 KB