git.videolan.org Git - x264.git/summary

x264 git repository

http://git.videolan.org/?p=x264.git;a=summary

Les articles publiés sur le site

  • arm : Don’t use vcmp.f64 for testing for an all-zeros register

    16 novembre 2016, par Martin Storsjö
    arm: Don't use vcmp.f64 for testing for an all-zeros register
    
    On iOS, vcmp.f64 can behave as if the register was zero, if the
    register (interpreted as a f64), was a denormal number.
    
    The vcmp.f64 (and other VFP instructions) will trap to the kernel
    (which is supposed to implement the FP operation, which it apparently
    doesn't do properly on iOS) if the value is a denormal. If this happens,
    the whole comparison ends up way more costly.
    
    • [DH] common/arm/deblock-a.S
  • checkasm : arm/aarch64 : Fix the amount of space reserved for stack parameters

    14 novembre 2016, par Martin Storsjö
    checkasm: arm/aarch64: Fix the amount of space reserved for stack parameters
    
    Even if MAX_ARGS - 2 (for arm) or MAX_ARGS - 6 (for aarch64) parameters
    are passed on the stack to checkasm_checked_call, we actually only
    need to store MAX_ARGS - 4 (for arm) or MAX_ARGS - 8 (for aarch64)
    parameters on the stack when calling the tested function.
    
    • [DH] tools/checkasm-aarch64.S
    • [DH] tools/checkasm-arm.S
  • checkasm : arm : preserve the stack alignment in x264_checkasm_checked_call

    14 novembre 2016, par Janne Grunau
    checkasm: arm: preserve the stack alignment in x264_checkasm_checked_call
    
    The stack used by x264_checkasm_checked_call_neon was a multiple of 4
    when the checked function is called. AAPCS requires a double word (8 byte)
    aligned stack public interfaces. Since both calls are public interfaces
    the stack is misaligned when the checked is called.
    
    This can cause issues if code called within this (which includes
    the C implementations) relies on the stack alignment.
    
    • [DH] tools/checkasm-arm.S
  • ppc : AltiVec sub8x8_dct_dc

    14 novembre 2016, par Alexandra Hájková
    ppc: AltiVec sub8x8_dct_dc
    
    • [DH] common/dct.c
    • [DH] common/ppc/dct.c
    • [DH] common/ppc/dct.h
  • ppc : AltiVec add8x8_idct_dc

    14 novembre 2016, par Alexandra Hájková
    ppc: AltiVec add8x8_idct_dc
    
    • [DH] common/dct.c
    • [DH] common/ppc/dct.c
    • [DH] common/ppc/dct.h