From: David Edelsohn Date: Wed, 28 Feb 1996 00:19:30 +0000 (+0000) Subject: add 'H' to print_operand for six-bit mask X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64305719ea0df5314788e0abbd987fdfa26f2ca3;p=gcc.git add 'H' to print_operand for six-bit mask From-SVN: r11357 --- diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index b611ee1288a..cb05d880a2b 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2054,6 +2054,15 @@ print_operand (file, x, code) print_operand (file, x, 0); return; + case 'H': + /* If constant, output low-order six bits. Otherwise, + write normally. */ + if (INT_P (x)) + fprintf (file, "%d", INT_LOWPART (x) & 63); + else + print_operand (file, x, 0); + return; + case 'I': /* Print `i' if this is a constant, else nothing. */ if (INT_P (x))