[llvm-commits] CVS: poolalloc/test/TEST.pavtl.Makefile TEST.poolalloc.Makefile
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 2 22:08:01 PST 2004
Changes in directory poolalloc/test:
TEST.pavtl.Makefile updated: 1.3 -> 1.4
TEST.poolalloc.Makefile updated: 1.17 -> 1.18
---
Log message:
Minor changes
---
Diffs of the changes: (+7 -4)
Index: poolalloc/test/TEST.pavtl.Makefile
diff -u poolalloc/test/TEST.pavtl.Makefile:1.3 poolalloc/test/TEST.pavtl.Makefile:1.4
--- poolalloc/test/TEST.pavtl.Makefile:1.3 Tue Mar 2 16:45:42 2004
+++ poolalloc/test/TEST.pavtl.Makefile Tue Mar 2 22:00:59 2004
@@ -5,6 +5,9 @@
##===----------------------------------------------------------------------===##
TESTNAME = $*
+CURDIR := $(shell cd .; pwd)
+PROGDIR := $(shell cd $(LEVEL)/test/Programs; pwd)/
+RELDIR := $(subst $(PROGDIR),,$(CURDIR))
VTL := /opt/intel/vtune/bin/vtl
@@ -15,7 +18,7 @@
#
P4_EVENTS := -ec
P4_EVENTS += en='2nd Level Cache Read Misses'
-P4_EVENTS += en='2nd-Level Cache Read References'
+#P4_EVENTS += en='2nd-Level Cache Read References'
#P4_EVENTS += en='1st Level Cache Load Misses Retired'
P3_EVENTS := -ec en='L2 Cache Request Misses (highly correlated)'
@@ -72,7 +75,7 @@
# Generate events for Pool Allocated CBE
#
$(PROGRAMS_TO_TEST:%=Output/test.$(TEST).pa.%): \
-Output/test.$(TEST).pa.%: Output/%.poolalloc.cbe
+Output/test.$(TEST).pa.%: Output/%.poolalloc.cbe Output/test.$(TEST).%
@echo "========================================="
@echo "Running '$(TEST)' test on '$(TESTNAME)' program"
ifeq ($(RUN_OPTIONS),)
Index: poolalloc/test/TEST.poolalloc.Makefile
diff -u poolalloc/test/TEST.poolalloc.Makefile:1.17 poolalloc/test/TEST.poolalloc.Makefile:1.18
--- poolalloc/test/TEST.poolalloc.Makefile:1.17 Tue Mar 2 16:41:41 2004
+++ poolalloc/test/TEST.poolalloc.Makefile Tue Mar 2 22:00:59 2004
@@ -5,7 +5,7 @@
#
##===----------------------------------------------------------------------===##
-CFLAGS = -O3
+CFLAGS = -O2 -fno-strict-aliasing
EXTRA_PA_FLAGS := -poolalloc-force-simple-pool-init
@@ -48,7 +48,7 @@
# This rule compiles the .c file into an executable using $CC
$(PROGRAMS_TO_TEST:%=Output/%.poolalloc.cbe): \
Output/%.poolalloc.cbe: Output/%.poolalloc.cbe.c $(PA_RT_O)
- -$(CC) $(CFLAGS) $< $(PA_RT_O) $(LLCLIBS) $(LDFLAGS) -lstdc++ -o $@
+ -$(CC) $(CFLAGS) $< $(PA_RT_O) $(LLCLIBS) $(LDFLAGS) -o $@
ifndef PROGRAMS_HAVE_CUSTOM_RUN_RULES
More information about the llvm-commits
mailing list