[x264-devel] [PATCH 11/11] checkasm: aarch64: Check register clobbering

Henrik Gramner henrik at gramner.com
Tue Aug 25 22:26:46 CEST 2015


On Tue, Aug 25, 2015 at 9:17 PM, Janne Grunau <janne-x264 at jannau.net> wrote:
> hackish idea to support it on ios:
>
> instead of passing two extra paramters, pass a pointer to a struct
> holding the function pointer, the pointer to ok and the first argument
>
> x264_checkasm_call then just needs to write the first argument to x0 but
> all other args don't need to be touched (except copying stacked
> arguments).

You could also do some evil preprocessor hacks to figure out sizeof()
each argument and pass that information to checkasm_call(). But just
skipping ios is probably fine for now.


More information about the x264-devel mailing list