From 478167be6297adb9774abfea589b6b1d0a7f227e Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 8 Oct 2016 14:04:37 +0200 Subject: gen-pass-instances.awk: Rewritten. * gen-pass-instances.awk: Rewritten. * Makefile.in (pass-instances.def): Depend on $(PASSES_EXTRA), pass $(PASSES_EXTRA) after passes.def to the script. * config/i386/t-i386 (PASSES_EXTRA): Add i386-passes.def. * config/i386/i386-passes.def: New file. * config/i386/i386-protos.h (make_pass_insert_vzeroupper, make_pass_stv): Declare. * config/i386/i386.c (pass_stv::pass_stv): Initialize timode_p to false. (pass_stv::gate): Depending on timode_p member require TARGET_64BIT or !TARGET_64BIT. (pass_stv::clone, pass_stv::set_pass_param): New methods. (pass_stv::timode_p): New non-static data member. (ix86_option_override): Don't register passes here. From-SVN: r240887 --- gcc/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gcc/Makefile.in') diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 15c48bcd7e5..705b574bb8e 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2158,9 +2158,10 @@ s-bversion: BASE-VER CFLAGS-toplev.o += -DTARGET_NAME=\"$(target_noncanonical)\" -pass-instances.def: $(srcdir)/passes.def $(srcdir)/gen-pass-instances.awk +pass-instances.def: $(srcdir)/passes.def $(PASSES_EXTRA) \ + $(srcdir)/gen-pass-instances.awk $(AWK) -f $(srcdir)/gen-pass-instances.awk \ - $(srcdir)/passes.def > pass-instances.def + $(srcdir)/passes.def $(PASSES_EXTRA) > pass-instances.def $(out_object_file): $(out_file) $(COMPILE) $< -- cgit v1.2.1