[PATCH 0/2] Optimize current hart scratch access

Anup Patel anup at brainfault.org
Fri Apr 5 05:15:39 PDT 2024


On Mon, Mar 18, 2024 at 8:19 PM Samuel Holland
<samuel.holland at sifive.com> wrote:
>
> 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

Applied this series to the riscv/opensbi repo.

Regards,
Anup

>
>  lib/utils/timer/aclint_mtimer.c        | 18 +++---------------
>  platform/generic/allwinner/sun20i-d1.c |  2 +-
>  2 files changed, 4 insertions(+), 16 deletions(-)
>
> --
> 2.43.1
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi



More information about the opensbi mailing list