uname -a says
Code: Select all
Linux odroid 3.8.13.16 #1 SMP PREEMPT Tue Feb 11 10:47:21 BRST 2014 armv7l armv7l armv7l GNU/Linux
Code: Select all
# g++ -I. -I.. -I/usr/include -I/usr/include -D__STDC_CONSTANT_MACROS -Wall -finline-functions -fomit-frame-pointer -I/usr/include -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -MT zm_image.o -MD -MP -MF .deps/zm_image.Tpo -c -o zm_image.o zm_image.cpp
Code: Select all
zm_image.cpp: In member function ‘bool Image::ReadRaw(const char*)’:
zm_image.cpp:597:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( statbuf.st_size != size )
^
zm_image.cpp: At global scope:
zm_image.cpp:2991:165: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("sse2"))) void sse2_fastblend(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count, double blendpercent) {
^
zm_image.cpp:3333:147: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("sse2"))) void sse2_delta8_gray8(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3361:146: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("sse2"))) void sse2_delta8_rgba(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3416:146: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("sse2"))) void sse2_delta8_bgra(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3471:146: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("sse2"))) void sse2_delta8_argb(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3527:146: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("sse2"))) void sse2_delta8_abgr(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3583:148: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_delta8_rgba(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3635:148: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_delta8_bgra(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3687:148: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_delta8_argb(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3740:148: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_delta8_abgr(const uint8_t* col1, const uint8_t* col2, uint8_t* result, unsigned long count) {
^
zm_image.cpp:3992:134: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_convert_rgba_gray8(const uint8_t* col1, uint8_t* result, unsigned long count) {
^
zm_image.cpp:4038:134: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_convert_yuyv_gray8(const uint8_t* col1, uint8_t* result, unsigned long count) {
^
zm_image.cpp:4655:176: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_deinterlace_4field_gray8(uint8_t* col1, uint8_t* col2, unsigned int threshold, unsigned int width, unsigned int height) {
^
zm_image.cpp:4784:175: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_deinterlace_4field_rgba(uint8_t* col1, uint8_t* col2, unsigned int threshold, unsigned int width, unsigned int height) {
^
zm_image.cpp:4960:175: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_deinterlace_4field_bgra(uint8_t* col1, uint8_t* col2, unsigned int threshold, unsigned int width, unsigned int height) {
^
zm_image.cpp:5136:175: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_deinterlace_4field_argb(uint8_t* col1, uint8_t* col2, unsigned int threshold, unsigned int width, unsigned int height) {
^
zm_image.cpp:5312:175: warning: target attribute is not supported on this machine [-Wattributes]
__attribute__((noinline,__target__("ssse3"))) void ssse3_deinterlace_4field_abgr(uint8_t* col1, uint8_t* col2, unsigned int threshold, unsigned int width, unsigned int height) {
^
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_gray8(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:4780:3: error: unknown register name ‘%xmm7’ in ‘asm’
);
^
zm_image.cpp:4780:3: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:4780:3: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:4780:3: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:4780:3: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:4780:3: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:4780:3: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:4780:3: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp:4780:3: error: unknown register name ‘%eax’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_rgba(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:4956:3: error: unknown register name ‘%xmm7’ in ‘asm’
);
^
zm_image.cpp:4956:3: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:4956:3: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:4956:3: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:4956:3: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:4956:3: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:4956:3: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:4956:3: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp:4956:3: error: unknown register name ‘%eax’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_bgra(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:5132:3: error: unknown register name ‘%xmm7’ in ‘asm’
);
^
zm_image.cpp:5132:3: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:5132:3: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:5132:3: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:5132:3: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:5132:3: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:5132:3: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:5132:3: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp:5132:3: error: unknown register name ‘%eax’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_argb(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:5308:3: error: unknown register name ‘%xmm7’ in ‘asm’
);
^
zm_image.cpp:5308:3: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:5308:3: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:5308:3: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:5308:3: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:5308:3: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:5308:3: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:5308:3: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp:5308:3: error: unknown register name ‘%eax’ in ‘asm’
zm_image.cpp: In function ‘void ssse3_deinterlace_4field_abgr(uint8_t*, uint8_t*, unsigned int, unsigned int, unsigned int)’:
zm_image.cpp:5485:3: error: unknown register name ‘%xmm7’ in ‘asm’
);
^
zm_image.cpp:5485:3: error: unknown register name ‘%xmm6’ in ‘asm’
zm_image.cpp:5485:3: error: unknown register name ‘%xmm5’ in ‘asm’
zm_image.cpp:5485:3: error: unknown register name ‘%xmm4’ in ‘asm’
zm_image.cpp:5485:3: error: unknown register name ‘%xmm3’ in ‘asm’
zm_image.cpp:5485:3: error: unknown register name ‘%xmm2’ in ‘asm’
zm_image.cpp:5485:3: error: unknown register name ‘%xmm1’ in ‘asm’
zm_image.cpp:5485:3: error: unknown register name ‘%xmm0’ in ‘asm’
zm_image.cpp:5485:3: error: unknown register name ‘%eax’ in ‘asm’
Code: Select all
/tmp/ccNMDI1G.s: Assembler messages:
/tmp/ccNMDI1G.s:26709: Error: ARM register expected -- `mov [sp,#32],%eax'
/tmp/ccNMDI1G.s:26710: Error: bad instruction `movd %eax,%xmm4'
/tmp/ccNMDI1G.s:26711: Error: bad instruction `pshufd $0x0,%xmm4,%xmm4'
/tmp/ccNMDI1G.s:26712: Error: bad instruction `pxor %xmm0,%xmm0'
/tmp/ccNMDI1G.s:26714: Error: bad instruction `movdqa (r3),%xmm1'
/tmp/ccNMDI1G.s:26715: Error: bad instruction `movdqa (r2),%xmm2'
/tmp/ccNMDI1G.s:26716: Error: bad instruction `movdqa %xmm1,%xmm5'
/tmp/ccNMDI1G.s:26717: Error: bad instruction `pmaxub %xmm2,%xmm1'
/tmp/ccNMDI1G.s:26718: Error: bad instruction `pminub %xmm5,%xmm2'
/tmp/ccNMDI1G.s:26719: Error: bad instruction `psubb %xmm2,%xmm1'
/tmp/ccNMDI1G.s:26720: Error: bad instruction `movdqa %xmm1,%xmm7'
/tmp/ccNMDI1G.s:26723: Error: bad instruction `movdqa (r3),%xmm1'
/tmp/ccNMDI1G.s:26724: Error: bad instruction `movdqa (r2),%xmm2'
/tmp/ccNMDI1G.s:26725: Error: bad instruction `movdqa %xmm1,%xmm6'
/tmp/ccNMDI1G.s:26726: Error: bad instruction `pmaxub %xmm2,%xmm1'
/tmp/ccNMDI1G.s:26727: Error: bad instruction `pminub %xmm6,%xmm2'
/tmp/ccNMDI1G.s:26728: Error: bad instruction `psubb %xmm2,%xmm1'
/tmp/ccNMDI1G.s:26729: Error: bad instruction `pavgb %xmm7,%xmm1'
/tmp/ccNMDI1G.s:26730: Error: bad instruction `movdqa %xmm1,%xmm2'