Commit ea7d9585 authored by mru's avatar mru

use HAVE_FAST_64BIT


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12480 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5c1ddf89
......@@ -64,7 +64,7 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride,
*(uint32_t*)(p + 3*stride)= v;
}else if(w==8){
//gcc can't optimize 64bit math on x86_32
#if defined(ARCH_X86_64) || (defined(MP_WORDSIZE) && MP_WORDSIZE >= 64)
#ifdef HAVE_FAST_64BIT
const uint64_t v= val*0x0100000001ULL;
*(uint64_t*)(p + 0*stride)= v;
if(h==1) return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment