]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.c (print_operand): Remove.
authorMaciej W. Rozycki <macro@codesourcery.com>
Tue, 18 Sep 2012 15:57:53 +0000 (15:57 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Tue, 18 Sep 2012 15:57:53 +0000 (15:57 +0000)
* config/rs6000/rs6000.c (print_operand) <'c'>: Remove.
* config/rs6000/spe.md: Remove a leftover comment.

From-SVN: r191431

gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/spe.md

index 4b58a9b2835bd84528be07e57dc3f6ac96766723..c8949837517cf1ee9232497a60bd33ec4fa63c7c 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/rs6000/rs6000.c (print_operand) <'c'>: Remove.
+       * config/rs6000/spe.md: Remove a leftover comment.
+
 2012-09-18  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/54592
index a5a3848e58565c0dac6c42bdbb0baed095c478e9..a880e5e3f8a7941ff5f432c47f428868404dd260 100644 (file)
@@ -14659,14 +14659,6 @@ print_operand (FILE *file, rtx x, int code)
       /* %c is output_addr_const if a CONSTANT_ADDRESS_P, otherwise
         output_operand.  */
 
-    case 'c':
-      /* X is a CR register.  Print the number of the GT bit of the CR.  */
-      if (GET_CODE (x) != REG || ! CR_REGNO_P (REGNO (x)))
-       output_operand_lossage ("invalid %%c value");
-      else
-       fprintf (file, "%d", 4 * (REGNO (x) - CR0_REGNO) + 1);
-      return;
-
     case 'D':
       /* Like 'J' but get to the GT bit only.  */
       gcc_assert (REG_P (x));
index bf59b6cf5527e2baf2c3d7aaf61764b07b76268d..e190be87ac2bc1b6633f9e3e6ee4984e1f8c76dc 100644 (file)
   "mfspefscr %0"
   [(set_attr "type" "vecsimple")])
 
-;; FP comparison stuff.
-
 ;; Flip the GT bit.
 (define_insn "e500_flip_gt_bit"
   [(set (match_operand:CCFP 0 "cc_reg_operand" "=y")