aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-12-17 19:11:52 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2010-12-17 11:11:52 -0800
commit0d54d6cae8c1a6974c5acebe28f748b0c13d54d6 (patch)
tree92a67cb266647575f86b488979770b15ab2e8c7e
parent78feaa1f335d0f55eaa80d2cc2ca6925e1fe0d16 (diff)
downloadgcc-0d54d6cae8c1a6974c5acebe28f748b0c13d54d6.zip
gcc-0d54d6cae8c1a6974c5acebe28f748b0c13d54d6.tar.gz
gcc-0d54d6cae8c1a6974c5acebe28f748b0c13d54d6.tar.bz2
Replace "BB [%i]" with "[bb %i]" in vzeroupper RTL dump.
2010-12-17 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (move_or_delete_vzeroupper_2): Replace "BB [%i]" with "[bb %i]" in dump. (move_or_delete_vzeroupper_1): Likewise. (rescan_move_or_delete_vzeroupper): Likewise. Always dump upper 128bit state at exit. From-SVN: r167996
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/i386/i386.c11
2 files changed, 15 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 20fc90db..17ec795 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2010-12-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/i386.c (move_or_delete_vzeroupper_2): Replace
+ "BB [%i]" with "[bb %i]" in dump.
+ (move_or_delete_vzeroupper_1): Likewise.
+ (rescan_move_or_delete_vzeroupper): Likewise. Always dump
+ upper 128bit state at exit.
+
2010-12-17 Joseph Myers <joseph@codesourcery.com>
* config/interix.opt: New.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e9c14d0..a5603e6 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -131,7 +131,7 @@ move_or_delete_vzeroupper_2 (basic_block bb,
int count = BLOCK_INFO (bb)->count;
if (dump_file)
- fprintf (dump_file, " BB [%i] entry: upper 128bits: %d\n",
+ fprintf (dump_file, " [bb %i] entry: upper 128bits: %d\n",
bb->index, state);
/* BB_END changes when it is deleted. */
@@ -267,7 +267,7 @@ move_or_delete_vzeroupper_2 (basic_block bb,
}
if (dump_file)
- fprintf (dump_file, " BB [%i] exit: upper 128bits: %d\n",
+ fprintf (dump_file, " [bb %i] exit: upper 128bits: %d\n",
bb->index, state);
}
@@ -282,7 +282,7 @@ move_or_delete_vzeroupper_1 (basic_block block)
enum upper_128bits_state state;
if (dump_file)
- fprintf (dump_file, " Process BB [%i]: status: %d\n",
+ fprintf (dump_file, " Process [bb %i]: status: %d\n",
block->index, BLOCK_INFO (block)->processed);
if (BLOCK_INFO (block)->processed)
@@ -331,7 +331,7 @@ rescan_move_or_delete_vzeroupper (basic_block block)
enum upper_128bits_state state;
if (dump_file)
- fprintf (dump_file, " Rescan BB [%i]: status: %d\n",
+ fprintf (dump_file, " Rescan [bb %i]: status: %d\n",
block->index, BLOCK_INFO (block)->rescanned);
if (BLOCK_INFO (block)->rescanned)
@@ -359,6 +359,9 @@ rescan_move_or_delete_vzeroupper (basic_block block)
{
if (state == used)
BLOCK_INFO (block)->state = state;
+ if (dump_file)
+ fprintf (dump_file, " [bb %i] exit: upper 128bits: %d\n",
+ block->index, BLOCK_INFO (block)->state);
}
else
move_or_delete_vzeroupper_2 (block, state);