REGISTER SAVING FOR FUNCTION CALLING

    公开(公告)号:US20210096864A1

    公开(公告)日:2021-04-01

    申请号:US16584775

    申请日:2019-09-26

    Abstract: Described herein are techniques for saving registers in the event of a function call. The techniques include modifying a program including a block of code designated as a calling code that calls a function. The modifying includes modifying the calling code to set a register usage mask indicating which registers are in use at the time of the function call. The modifying also includes modifying the function to combine the information of the register usage mask with information indicating registers used by the function to generate registers to be saved and save the registers to be saved.

Patent Agency Ranking