[Libre-soc-dev] Attempt to run baselines: error

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon May 24 12:11:06 BST 2021

i'm inserting "attn" at random locations to get it to stop, and memcpy is
going into a non-returning loop. adding "blr" right at the top of memcpy
and putting the attn after the return from memcpy, exits ok.

    mr 29,7
    bl memcpy
    attn      <--
    lfs 12,512(30)


perhaps this is as simple as: the arguments for the function haven't
been set up.

it *should* be possible to initialise some FPRs and GPRs and
pass them in as arguments: more complex than that (things on
the stack) it should be possible to compile a bare-metal program
that calls ff_mpadsp_apply_window_float() into assembler.

i leave it with you?


More information about the Libre-soc-dev mailing list