diff options
author | David Edelsohn <edelsohn@gnu.org> | 1996-02-28 00:19:30 +0000 |
---|---|---|
committer | David Edelsohn <edelsohn@gnu.org> | 1996-02-28 00:19:30 +0000 |
commit | 64305719ea0df5314788e0abbd987fdfa26f2ca3 (patch) | |
tree | b54d45141680bc52d6640da52d405568cfc74d03 /gcc | |
parent | 685f39066bb11fba9434c10d21c98a29e51d9093 (diff) | |
download | gcc-64305719ea0df5314788e0abbd987fdfa26f2ca3.zip gcc-64305719ea0df5314788e0abbd987fdfa26f2ca3.tar.gz gcc-64305719ea0df5314788e0abbd987fdfa26f2ca3.tar.bz2 |
add 'H' to print_operand for six-bit mask
From-SVN: r11357
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index b611ee1..cb05d88 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)) |