[PATCH 0/2] Optimize current hart scratch access

Samuel Holland samuel.holland at sifive.com
Mon Mar 18 07:49:27 PDT 2024


These patches save about 280 bytes of code size in the generic platform
firmware.


Samuel Holland (2):
  lib: utils/timer: Optimize current hart scratch access
  platform: generic: allwinner: Optimize current hart scratch access

 lib/utils/timer/aclint_mtimer.c        | 18 +++---------------
 platform/generic/allwinner/sun20i-d1.c |  2 +-
 2 files changed, 4 insertions(+), 16 deletions(-)

-- 
2.43.1




More information about the opensbi mailing list