diff mbox

rs6000: Remove 'A' output modifier

Message ID d9ce24546948aa22bcaa21011922d6210232037d.1349303103.git.segher@kernel.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool Oct. 3, 2012, 10:28 p.m. UTC
It was used for old POWER only, which has been removed.

Tested etc.; okay to apply?


Segher


2012-10-04  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/
	* config/rs6000/rs6000.c (print_operand) ['A']: Delete.

---
 gcc/config/rs6000/rs6000.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

Comments

David Edelsohn Oct. 3, 2012, 10:47 p.m. UTC | #1
On Wed, Oct 3, 2012 at 6:28 PM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> It was used for old POWER only, which has been removed.
>
> Tested etc.; okay to apply?
>
>
> Segher
>
>
> 2012-10-04  Segher Boessenkool  <segher@kernel.crashing.org>
>
> gcc/
>         * config/rs6000/rs6000.c (print_operand) ['A']: Delete.

Okay.

Thanks, David
diff mbox

Patch

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 211087b..846a939 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -14676,17 +14676,6 @@  print_operand (FILE *file, rtx x, int code)
     {
       /* %a is output_address.  */
 
-    case 'A':
-      /* If X is a constant integer whose low-order 5 bits are zero,
-	 write 'l'.  Otherwise, write 'r'.  This is a kludge to fix a bug
-	 in the AIX assembler where "sri" with a zero shift count
-	 writes a trash instruction.  */
-      if (GET_CODE (x) == CONST_INT && (INTVAL (x) & 31) == 0)
-	putc ('l', file);
-      else
-	putc ('r', file);
-      return;
-
     case 'b':
       /* If constant, low-order 16 bits of constant, unsigned.
 	 Otherwise, write normally.  */