[x265] [PATCH] asm: intrapred dc4 sse2

Steve Borho steve at borho.org
Thu Feb 26 00:29:42 CET 2015


On Wed, Feb 25, 2015 at 5:23 PM, dave <dtyx265 at gmail.com> wrote:
> On 02/25/2015 02:30 PM, Steve Borho wrote:
>>
>> On Wed, Feb 25, 2015 at 7:34 AM, chen <chenm003 at 163.com> wrote:
>>>
>>> it's right, just move pw_257 into const.asm in future
>>
>> I pushed this one, but then realized that the -m32 build is broken on
>> LInux. It looks to be caused by the usage of r4b
>
> I will look into it.  Is there an option in cmake to build in 32 bits or do
> I just need to add -m32 to CMAKE_CXX_FLAGS and CMAKE_C_FLAGS?

This works for me (assuming you have 32bit headers and libs already)

cd build; mkdir m32; cd m32
export CFLAGS=-m32
export CXXFLAGS=-m32
cmake ../../source
make

The generated build scripts remember -m32 so you don't need to keep
those CFLAGS env vars once the makefiles are generated.

-- 
Steve Borho


More information about the x265-devel mailing list