|
From: Philippe W. <phi...@sk...> - 2017-05-17 21:03:15
|
On Wed, 2017-05-17 at 11:06 +0000, sv...@va... wrote: > Author: iraisr > Date: Wed May 17 12:06:53 2017 > New Revision: 16393 > > Log: > Fix test fb_test_amd64. > Follow up to r16372. > > The test is now built if the compiler understands AVX > instructions. On gcc20 compile farm machine, the test still fails to compile with the error: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../include -I../../../coregrind -I../../../include -I../../../VEX/pub -I../../../VEX/pub -DVGA_amd64=1 -DVGO_linux=1 -DVGP_amd64_linux=1 -DVGPV_amd64_linux_vanilla=1 -DVGA_SEC_x86=1 -DVGP_SEC_amd64_linux=1 -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector -m64 -O -fno-strict-aliasing -MT fb_test_amd64-fb_test_amd64.o -MD -MP -MF .deps/fb_test_amd64-fb_test_amd64.Tpo -c -o fb_test_amd64-fb_test_amd64.o `test -f 'fb_test_amd64.c' || echo './'`fb_test_amd64.c fb_test_amd64.h: Assembler messages: fb_test_amd64.h:71: Error: no such instruction: `adcxq %r14,%r8' fb_test_amd64.h:81: Error: no such instruction: `adcxl %r14d,%r8d' fb_test_amd64.h:71: Error: no such instruction: `adcxq %r14,%r8' fb_test_amd64.h:81: Error: no such instruction: `adcxl %r14d,%r8d' fb_test_amd64.h:71: Error: no such instruction: `adoxq %r14,%r8' fb_test_amd64.h:81: Error: no such instruction: `adoxl %r14d,%r8d' fb_test_amd64.h:71: Error: no such instruction: `adoxq %r14,%r8' fb_test_amd64.h:81: Error: no such instruction: `adoxl %r14d,%r8d' make[5]: *** [fb_test_amd64-fb_test_amd64.o] Error 1 The gcc and as versions are: gcc (Debian 4.7.2-5) 4.7.2 GNU assembler (GNU Binutils for Debian) 2.22 The config.log effectively sets BUILD_AVX_TESTS to yes, based on the configure test. Not too clear to me what are these adcx* instructions, and if they are supposed to be supported according to the configure test, which checks vmovupd and vaddpd instructions. Philippe |