[FFmpeg-devel] [PATCH 1/3] common: add ff_parity()
Clément Bœsch
u at pkh.me
Thu Jan 7 22:53:00 CET 2016
On Sun, Jan 03, 2016 at 08:25:38PM +0100, Clément Bœsch wrote:
> On Sun, Jan 03, 2016 at 08:21:00PM +0100, Clément Bœsch wrote:
> > ---
> > configure | 2 ++
> > libavutil/x86/intmath.h | 9 +++++++++
> > 2 files changed, 11 insertions(+)
> >
> > diff --git a/configure b/configure
> > index 6710f85..610be92 100755
> > --- a/configure
> > +++ b/configure
> > @@ -1738,6 +1738,7 @@ BUILTIN_LIST="
> > machine_rw_barrier
> > MemoryBarrier
> > mm_empty
> > + parity
> > rdtsc
> > sarestart
> > sync_val_compare_and_swap
> > @@ -5242,6 +5243,7 @@ check_builtin sarestart signal.h "SA_RESTART"
> > check_builtin sync_val_compare_and_swap "" "int *ptr; int oldval, newval; __sync_val_compare_and_swap(ptr, oldval, newval)"
> > check_builtin gmtime_r time.h "time_t *time; struct tm *tm; gmtime_r(time, tm)"
> > check_builtin localtime_r time.h "time_t *time; struct tm *tm; localtime_r(time, tm)"
> > +check_builtin parity "" "__builtin_parity(123)"
> >
> > case "$custom_allocator" in
> > jemalloc)
> > diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h
> > index 611ef88..9c36bf2 100644
> > --- a/libavutil/x86/intmath.h
> > +++ b/libavutil/x86/intmath.h
>
> ... moved locally to libavutil/intmath.h under proper ff_parity_c
> ifdefery, sorry for the noise.
>
applied with these changes
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160107/2b0f54e1/attachment.sig>
More information about the ffmpeg-devel
mailing list