gen-pass-instances.awk: Rewritten.
authorJakub Jelinek <jakub@gcc.gnu.org>
Sat, 8 Oct 2016 13:50:50 +0000 (15:50 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 8 Oct 2016 13:50:50 +0000 (15:50 +0200)
commit80994c4654c32987e32430121e442df861226966
treed0cc5e44ba938d606ad3daf9de36fd79d3cc9d04
parent478167be6297adb9774abfea589b6b1d0a7f227e
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: r240888
gcc/config/i386/i386-passes.def [new file with mode: 0644]