From daf2852b883762d921361462dad1f99320faca2a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 12 Mar 2020 13:41:28 -0600 Subject: [PATCH] Support for the CPEN control register was removed in rev .50 of the RXv1 Instruction Set Architecture manual in Feb 2009. This patch removes it from GCC. * config/rx/rx.md (CTRLREG_CPEN): Remove. * config/rx/rx.c (rx_print_operand): Remove CTRLREG_CPEN support. --- gcc/ChangeLog | 5 +++++ gcc/config/rx/rx.c | 1 - gcc/config/rx/rx.md | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a43b453178d..b184a1af8e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-03-12 Darius Galis + + * config/rx/rx.md (CTRLREG_CPEN): Remove. + * config/rx/rx.c (rx_print_operand): Remove CTRLREG_CPEN support. + 2020-03-12 Richard Biener PR tree-optimization/94103 diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 0a51124c529..151ad39d9f0 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -641,7 +641,6 @@ rx_print_operand (FILE * file, rtx op, int letter) case CTRLREG_PSW: fprintf (file, "psw"); break; case CTRLREG_USP: fprintf (file, "usp"); break; case CTRLREG_FPSW: fprintf (file, "fpsw"); break; - case CTRLREG_CPEN: fprintf (file, "cpen"); break; case CTRLREG_BPSW: fprintf (file, "bpsw"); break; case CTRLREG_BPC: fprintf (file, "bpc"); break; case CTRLREG_ISP: fprintf (file, "isp"); break; diff --git a/gcc/config/rx/rx.md b/gcc/config/rx/rx.md index 0cf5025a6d9..df08a9e5c3e 100644 --- a/gcc/config/rx/rx.md +++ b/gcc/config/rx/rx.md @@ -79,7 +79,6 @@ (CTRLREG_PSW 0) (CTRLREG_USP 2) (CTRLREG_FPSW 3) - (CTRLREG_CPEN 4) (CTRLREG_BPSW 8) (CTRLREG_BPC 9) (CTRLREG_ISP 10) -- 2.30.2