diff mbox

: Handle STRICT_LOW_PART in slim RTL dumps

Message ID CAFULd4ZA8qyLJdMeT8qX8SW=N3Ntv0rSRaUdmbRgiHpAw0okbw@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 3, 2011, 8:39 p.m. UTC
Hello!

Currently slim RTL dump prints STRICT_LOW_PART as:

   48 strict_low_part=flags:CCZ!=0

Attached patch fixes these dumps to print:

   48 strict_low_part(ax:QI)=flags:CCZ!=0

2011-11-03  Uros Bizjak  <ubizjak@gmail.com>

	* sched-vis.c (print_value): Handle STRICT_LOW_PART.

Tested on x86_64-pc-linux-gnu by dumping a couple of long compiles.

OK for mainline?

Uros.

Comments

Richard Henderson Nov. 3, 2011, 8:47 p.m. UTC | #1
On 11/03/2011 01:39 PM, Uros Bizjak wrote:
> 2011-11-03  Uros Bizjak  <ubizjak@gmail.com>
> 
> 	* sched-vis.c (print_value): Handle STRICT_LOW_PART.

Ok.


r~
diff mbox

Patch

Index: sched-vis.c
===================================================================
--- sched-vis.c	(revision 180840)
+++ sched-vis.c	(working copy)
@@ -511,6 +511,12 @@ 
       sprintf (t, "#%d", SUBREG_BYTE (x));
       cur = safe_concat (buf, cur, t);
       break;
+    case STRICT_LOW_PART:
+      print_value (t, XEXP (x, 0), verbose);
+      cur = safe_concat (buf, cur, "strict_low_part(");
+      cur = safe_concat (buf, cur, t);
+      cur = safe_concat (buf, cur, ")");
+      break;
     case SCRATCH:
       cur = safe_concat (buf, cur, "scratch");
       break;