From 64305719ea0df5314788e0abbd987fdfa26f2ca3 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 28 Feb 1996 00:19:30 +0000 Subject: [PATCH] add 'H' to print_operand for six-bit mask From-SVN: r11357 --- gcc/config/rs6000/rs6000.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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)) -- 2.30.2