[x265] profiling x265
dave
dtyx265 at gmail.com
Mon Jun 8 22:50:24 CEST 2015
Wow, thanks Min. I did a decent amount of searching on the internet but
didn't find this.
On 06/08/2015 12:52 PM, chen wrote:
> no answer in gcc website.
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52544
>
> At 2015-06-09 03:26:10,dave <dtyx265 at gmail.com> wrote:
>
> cmake/make already has the build option -msseX. I don't think it
> is needed when linking because it's not used when linking without
> -finstrument-functions
> On 06/08/2015 11:56 AM, chen wrote:
>> it is Intrinsic functions, you need add '-msse2' or '-msse4' on
>> your gcc cmdline
>> At 2015-06-09 02:24:51,dave <dtyx265 at gmail.com> wrote:
>>
>> I would like to profile x265 with lttng by using
>> -finstrument-functions but when I add it to CXX flags I get
>> the following when linking,
>>
>> Linking CXX executable x265
>> /usr/bin/cmake -E cmake_link_script
>> CMakeFiles/cli.dir/link.txt --verbose=1
>> /usr/bin/c++ -finstrument-functions -O3 -DNDEBUG
>> CMakeFiles/cli.dir/input/input.cpp.o
>> CMakeFiles/cli.dir/input/yuv.cpp.o
>> CMakeFiles/cli.dir/input/y4m.cpp.o
>> CMakeFiles/cli.dir/output/output.cpp.o
>> CMakeFiles/cli.dir/output/reconplay.cpp.o
>> CMakeFiles/cli.dir/output/yuv.cpp.o
>> CMakeFiles/cli.dir/output/y4m.cpp.o
>> CMakeFiles/cli.dir/output/raw.cpp.o
>> CMakeFiles/cli.dir/filters/filters.cpp.o
>> CMakeFiles/cli.dir/x265.cpp.o -o x265 -rdynamic
>> libx265.so.60 -lpthread -lrt -ldl
>> -Wl,-rpath,/home/shakezula/Development/x265.hg/build/linux:
>> libx265.so.60: undefined reference to `_mm_hadd_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to
>> `_mm_unpackhi_epi64(long long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_storeu_si128(long
>> long __vector*, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_hsub_epi16(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_storeh_pi(int
>> __vector*, float __vector)'
>> libx265.so.60: undefined reference to `_mm_shuffle_epi8(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_sll_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_hadd_epi16(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_srai_epi32(long
>> long __vector, int)'
>> libx265.so.60: undefined reference to `_mm_sub_epi16(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_srai_epi16(long
>> long __vector, int)'
>> libx265.so.60: undefined reference to `_mm_madd_epi16(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_cvtsi32_si128(int)'
>> libx265.so.60: undefined reference to
>> `_mm_unpackhi_epi16(long long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_add_epi16(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_set1_epi32(int)'
>> libx265.so.60: undefined reference to `_mm_loadu_si128(long
>> long __vector const*)'
>> libx265.so.60: undefined reference to
>> `_mm_unpacklo_epi32(long long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_sra_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_packs_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_add_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to
>> `_mm_unpacklo_epi64(long long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_load_si128(long
>> long __vector const*)'
>> libx265.so.60: undefined reference to `_mm_sub_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_hsub_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_storel_epi64(long
>> long __vector*, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_set_epi32(int,
>> int, int, int)'
>> libx265.so.60: undefined reference to
>> `_mm_unpacklo_epi16(long long __vector, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_store_si128(long
>> long __vector*, long long __vector)'
>> libx265.so.60: undefined reference to `_mm_castsi128_ps(long
>> long __vector)'
>> libx265.so.60: undefined reference to `_mm_mullo_epi32(long
>> long __vector, long long __vector)'
>> libx265.so.60: undefined reference to
>> `_mm_unpackhi_epi32(long long __vector, long long __vector)'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [x265] Error 1
>> make[2]: Leaving directory
>> `/home/shakezula/Development/x265.hg/build/linux'
>> make[1]: *** [CMakeFiles/cli.dir/all] Error 2
>> make[1]: Leaving directory
>> `/home/shakezula/Development/x265.hg/build/linux'
>> make: *** [all] Error 2
>>
>> I tried using |-finstrument-functions-exclude-file-list= with
>> the intrinsic headers and everything in source/common/vec but
>> I get the same results. Any help would be greatly appreciated.
>>
>> thanks,
>> Dave
>> |
>>
>>
>>
>> _______________________________________________
>> x265-devel mailing list
>> x265-devel at videolan.org
>> https://mailman.videolan.org/listinfo/x265-devel
>
>
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20150608/f53c3a27/attachment-0001.html>
More information about the x265-devel
mailing list