projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685f390
)
add 'H' to print_operand for six-bit mask
author
David Edelsohn
<edelsohn@gnu.org>
Wed, 28 Feb 1996 00:19:30 +0000
(
00:19
+0000)
committer
David Edelsohn
<edelsohn@gnu.org>
Wed, 28 Feb 1996 00:19:30 +0000
(
00:19
+0000)
From-SVN: r11357
gcc/config/rs6000/rs6000.c
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/rs6000.c
b/gcc/config/rs6000/rs6000.c
index b611ee1288aa8da625832ddab3f99d69bfb2d2ca..cb05d880a2b71f858b46d3466835e21de9d11b36 100644
(file)
--- 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))