From fb5e0707d18e9fd0bc6a0e92b6571512aafd0e43 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 18 Sep 2012 15:57:53 +0000 Subject: [PATCH] rs6000.c (print_operand): Remove. * config/rs6000/rs6000.c (print_operand) <'c'>: Remove. * config/rs6000/spe.md: Remove a leftover comment. From-SVN: r191431 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.c | 8 -------- gcc/config/rs6000/spe.md | 2 -- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b58a9b2835..c8949837517 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-18 Maciej W. Rozycki + + * config/rs6000/rs6000.c (print_operand) <'c'>: Remove. + * config/rs6000/spe.md: Remove a leftover comment. + 2012-09-18 Jakub Jelinek PR target/54592 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a5a3848e585..a880e5e3f8a 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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)); diff --git a/gcc/config/rs6000/spe.md b/gcc/config/rs6000/spe.md index bf59b6cf552..e190be87ac2 100644 --- a/gcc/config/rs6000/spe.md +++ b/gcc/config/rs6000/spe.md @@ -2945,8 +2945,6 @@ "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")