aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/pcre2-10.32/Makefile
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-04-26 16:35:30 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-04-26 16:35:30 +0200
commit24e97bd87918f2c487416744ba12a78aba35a9e5 (patch)
tree839da3cc5ca3ca9976a9e4002e27754501e7fe11 /test/monniaux/pcre2-10.32/Makefile
parent6d1223d053f1ff10792d5ed5d00d3830ff61e9d7 (diff)
downloadcompcert-kvx-24e97bd87918f2c487416744ba12a78aba35a9e5.tar.gz
compcert-kvx-24e97bd87918f2c487416744ba12a78aba35a9e5.zip
Changes to include a -O1 -fschedule-insns2 gcc run as well
Diffstat (limited to 'test/monniaux/pcre2-10.32/Makefile')
-rw-r--r--test/monniaux/pcre2-10.32/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/monniaux/pcre2-10.32/Makefile b/test/monniaux/pcre2-10.32/Makefile
index 28e03f60..35f1e049 100644
--- a/test/monniaux/pcre2-10.32/Makefile
+++ b/test/monniaux/pcre2-10.32/Makefile
@@ -33,11 +33,12 @@ HFILES = config.h pcre2_internal.h pcre2posix.h \
pcre2.h pcre2_intmodedep.h pcre2_ucp.h
K1C_GCC_OFILES=$(CFILES:.c=.gcc.k1c.o)
+K1C_GCC_OFILES_O1=$(CFILES:.c=.gcc.o1.k1c.o)
K1C_CCOMP_OFILES=$(CFILES:.c=.ccomp.k1c.o)
K1C_GCC_SFILES=$(CFILES:.c=.gcc.k1c.s)
K1C_CCOMP_SFILES=$(CFILES:.c=.ccomp.k1c.s)
-all: pcre2test.gcc.k1c.out pcre2test.ccomp.k1c.out $(K1C_GCC_SFILES) $(K1C_CCOMP_SFILES)
+all: pcre2test.gcc.o1.k1c.out pcre2test.gcc.k1c.out pcre2test.ccomp.k1c.out $(K1C_GCC_SFILES) $(K1C_CCOMP_SFILES)
ALL_CFLAGS = -DHAVE_CONFIG_H -DPCRE2_CODE_UNIT_WIDTH=8
EXECUTE_ARGS = testdata/testinput6
@@ -50,6 +51,9 @@ $(K1C_GCC_SFILES) $(K1C_CCOMP_SFILES): $(HFILES)
pcre2test.gcc.k1c: $(K1C_GCC_OFILES)
$(K1C_CC) $(K1C_CFLAGS) -o $@ $+ ../clock.gcc.k1c.o
+pcre2test.gcc.o1.k1c: $(K1C_GCC_OFILES_O1)
+ $(K1C_CC) $(K1C_CFLAGS_O1) -o $@ $+ ../clock.gcc.k1c.o
+
pcre2test.ccomp.k1c: $(K1C_CCOMP_OFILES)
$(K1C_CCOMP) $(K1C_CCOMPFLAGS) -o $@ $+ ../clock.gcc.k1c.o