slower than on gcc

slower than on gcc

Hi, guys
I managed to link source files, but it takes too long time to be executed than compiled with gcc.

Makefile is like below:
CC = icc -O3 -ipo -xP
DEBUG =
RM = rm
CP = cp
SRCDIR = .
CFLAGS = -c
LDFLAGS = $(DEBUG)
ALL : HRRT_osem3d_
HRRT_osem3d_: scanner_model.o HRRT_osem3d_sbrt.o nr_utils.o
HRRT_osem3d.o matrix.h
$(CC) $(LDFLAGS) $(LIB) HRRT_osem3d.o nr_utils.o HRRT_osem3d_sbrt.o scanner_model.o
$(LIBECAT) -cxxlib-icc -limf -pthread -static -ipo -o HRRT_osem3d
HRRT_osem3d.o : $(SRCDIR)/HRRT_osem3d.c $(SRCDIR)/HRRT_osem3d_sbrt.c
HRRT_osem3d.h matrix.h
$(CC) $(CFLAGS) $(SRCDIR)/HRRT_osem3d.c
HRRT_osem3d_sbrt.o : $(SRCDIR)/HRRT_osem3d_sbrt.c $(SRCDIR)/HRRT_osem3d.h
$(CC) $(CFLAGS) $(SRCDIR)/HRRT_osem3d_sbrt.c
nr_utils.o : $(SRCDIR)/nr_utils.c
$(CC) $(CFLAGS) $(SRCDIR)/nr_utils.c
scanner_model.o : $(SRCDIR)/scanner_model.c
$(CC) $(CFLAGS) $(SRCDIR)/scanner_model.c
clean:
$(RM) HRRT_osem3d *.o
install:
$(CP) HRRT_osem3d ./bin
$(RM) HRRT_osem3d *.o
depend:
makedepend -Dunix $(CFLAGS) $(SRCDIR)/*.c

1 条帖子 / 0 全新
有关编译器优化的更完整信息,请参阅优化通知