Recently I've been having fun compiling Buzz with the free Intel C Compiller 10.0 for Linux and it compiled Buzz fine with -O3, but it started complaining when I used the -fast option:
- Code: Select all
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c bitinstructions.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c board.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c book.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c consolecolors.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c dts.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c eval.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c hash.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c log.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c magicmoves.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c main.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c movegen.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c moveordering.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c mt19937-64.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c recog.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c search.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c thread.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c timemanager.c
icc -g -x c -DNDEBUG -D_POSIX -fast -static -w -c xboard.c
icc -s -pthread -static bitinstructions.o board.o book.o consolecolors.o dts.o eval.o hash.o log.o magicmoves.o main.o movegen.o moveordering.o mt19937-64.o recog.o search.o thread.o timemanager.o xboard.o -o Buzz
ipo: remark #11000: performing multi-file optimizations
ipo: remark #11006: generating assembly file /tmp/icccit1IBas_.s
log.c(71): (col. 3) remark: REVERSED LOOP WAS VECTORIZED.
log.c(85): (col. 3) remark: REVERSED LOOP WAS VECTORIZED.
search.c(247): (col. 5) remark: LOOP WAS VECTORIZED.
search.c(248): (col. 5) remark: LOOP WAS VECTORIZED.
/tmp/icccit1IBas_.s: Assembler messages:
/tmp/icccit1IBas_.s:34652: Error: no such instruction: `palignr $13,(%ebx),%xmm0'
/tmp/icccit1IBas_.s:34657: Error: no such instruction: `palignr $13,%xmm0,%xmm1'/tmp/icccit1IBas_.s:34781: Error: no such instruction: `palignr $11,(%ebx),%xmm0'
/tmp/icccit1IBas_.s:34786: Error: no such instruction: `palignr $11,%xmm0,%xmm1'icc: error #10014: problem during multi-file optimization compilation (code 1)
make: *** [Buzz] Error 1
I don't use any assembly at all for the code for the Intel Compiler, so I have no idea about what I have done wrong or how to fix this error. Anyone else had problems like this with the Intel Compiler?