diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2011-05-04 19:07:03 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-05-04 19:07:03 +0200 |
commit | 7a2f720889eaee0e35a62ccb8e5685f1da944243 (patch) | |
tree | 49cc51b064e8ba033a5fbdc6dc629e0026a3aeca /gcc | |
parent | a2d429315808d17638a4e3500a9ccb9ffe547d23 (diff) | |
download | gcc-7a2f720889eaee0e35a62ccb8e5685f1da944243.zip gcc-7a2f720889eaee0e35a62ccb8e5685f1da944243.tar.gz gcc-7a2f720889eaee0e35a62ccb8e5685f1da944243.tar.bz2 |
i386.c (ix86_reorg): Run move_or_delete_vzeroupper first.
* config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first.
From-SVN: r173383
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 16 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 8 |
2 files changed, 14 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5412506..ca85616 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-05-04 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first. + 2011-05-04 Eric Botcazou <ebotcazou@adacore.com> * stor-layout.c (variable_size): Do not issue errors. @@ -263,9 +267,9 @@ 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> - From Mike Frysinger: - * config/bfin/bfin.c (bfin_cpus[]): Add 0.4 for - bf542/bf544/bf547/bf548/bf549. + From Mike Frysinger: + * config/bfin/bfin.c (bfin_cpus[]): Add 0.4 for + bf542/bf544/bf547/bf548/bf549. 2011-05-03 Uros Bizjak <ubizjak@gmail.com> @@ -575,9 +579,9 @@ 2011-05-02 Stuart Henderson <shenders@gcc.gnu.org> - PR target/47951 - * config/bfin/bfin.md (loop_end): Use matching constraints to ensure - inputs match the output. + PR target/47951 + * config/bfin/bfin.md (loop_end): Use matching constraints to ensure + inputs match the output. 2011-05-02 Andreas Schwab <schwab@linux-m68k.org> diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 79dd5da..786bc6d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -30444,6 +30444,10 @@ ix86_reorg (void) with old MDEP_REORGS that are not CFG based. Recompute it now. */ compute_bb_for_insn (); + /* Run the vzeroupper optimization if needed. */ + if (TARGET_VZEROUPPER) + move_or_delete_vzeroupper (); + if (optimize && optimize_function_for_speed_p (cfun)) { if (TARGET_PAD_SHORT_FUNCTION) @@ -30455,10 +30459,6 @@ ix86_reorg (void) ix86_avoid_jump_mispredicts (); #endif } - - /* Run the vzeroupper optimization if needed. */ - if (TARGET_VZEROUPPER) - move_or_delete_vzeroupper (); } /* Return nonzero when QImode register that must be represented via REX prefix |