From patchwork Thu Nov 3 20:39:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: : Handle STRICT_LOW_PART in slim RTL dumps From: Uros Bizjak X-Patchwork-Id: 123506 Message-Id: To: gcc-patches@gcc.gnu.org Date: Thu, 3 Nov 2011 21:39:46 +0100 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 * 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. 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;