gen-pass-instances.awk: Rewritten.
authorJakub Jelinek <jakub@redhat.com>
Sat, 8 Oct 2016 12:04:37 +0000 (14:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 8 Oct 2016 12:04:37 +0000 (14:04 +0200)
commit478167be6297adb9774abfea589b6b1d0a7f227e
treec64fb4d05bc6d2df0c0fe2e1a7a2146b140e04c9
parentee19ef45ba9dc5a783303e353d538e83dabe3377
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/ChangeLog
gcc/Makefile.in
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/t-i386
gcc/gen-pass-instances.awk