diff mbox

remove unused fiields in init_expmed_rtl expmed.c

Message ID 1366885894.53695.YahooMailNeo@web87403.mail.ir2.yahoo.com
State New
Headers show

Commit Message

Graham Stott April 25, 2013, 10:31 a.m. UTC
All,
 
The struture init_expmed_rtl defined in expmed.c has many fields which are totally unused
this patch removes them.
 
Bootstraped x86_64 all langauges 
 
Graham
 
gcc/ChangeLog
    * expmed.c: (init_expmed_rtl) Remove unused fields reg_fld, plus_fld, mult_fld, sdiv_fld1, udiv_fld1,
     sdiv_32_fld1, smod_32_fld1, wide_mult_fld1, wide_lshr_fld1, shift_fld1, shift_mult_fld1 shift_add_fld1,
     shift_sub0_fld1, shift_sub1_fld1.

Comments

Richard Biener April 25, 2013, 10:43 a.m. UTC | #1
On Thu, Apr 25, 2013 at 12:31 PM, Graham Stott
<graham.stott@btinternet.com> wrote:
> All,
>
> The struture init_expmed_rtl defined in expmed.c has many fields which are totally unused
> this patch removes them.
>
> Bootstraped x86_64 all langauges
>
Ok.

Thanks,
Richard.

> Graham
>
> gcc/ChangeLog
>     * expmed.c: (init_expmed_rtl) Remove unused fields reg_fld, plus_fld, mult_fld, sdiv_fld1, udiv_fld1,
>      sdiv_32_fld1, smod_32_fld1, wide_mult_fld1, wide_lshr_fld1, shift_fld1, shift_mult_fld1 shift_add_fld1,
>      shift_sub0_fld1, shift_sub1_fld1.
>
> Index: gcc/expmed.c
> ===================================================================
> --- gcc/expmed.c (revision 198200)
> +++ gcc/expmed.c (working copy)
> @@ -69,22 +69,22 @@
>
>  struct init_expmed_rtl
>  {
> -  struct rtx_def reg;  rtunion reg_fld[2];
> -  struct rtx_def plus; rtunion plus_fld1;
> +  struct rtx_def reg;
> +  struct rtx_def plus;
>    struct rtx_def neg;
> -  struct rtx_def mult; rtunion mult_fld1;
> -  struct rtx_def sdiv; rtunion sdiv_fld1;
> -  struct rtx_def udiv; rtunion udiv_fld1;
> -  struct rtx_def sdiv_32; rtunion sdiv_32_fld1;
> -  struct rtx_def smod_32; rtunion smod_32_fld1;
> -  struct rtx_def wide_mult; rtunion wide_mult_fld1;
> -  struct rtx_def wide_lshr; rtunion wide_lshr_fld1;
> +  struct rtx_def mult;
> +  struct rtx_def sdiv;
> +  struct rtx_def udiv;
> +  struct rtx_def sdiv_32;
> +  struct rtx_def smod_32;
> +  struct rtx_def wide_mult;
> +  struct rtx_def wide_lshr;
>    struct rtx_def wide_trunc;
> -  struct rtx_def shift; rtunion shift_fld1;
> -  struct rtx_def shift_mult; rtunion shift_mult_fld1;
> -  struct rtx_def shift_add; rtunion shift_add_fld1;
> -  struct rtx_def shift_sub0; rtunion shift_sub0_fld1;
> -  struct rtx_def shift_sub1; rtunion shift_sub1_fld1;
> +  struct rtx_def shift;
> +  struct rtx_def shift_mult;
> +  struct rtx_def shift_add;
> +  struct rtx_def shift_sub0;
> +  struct rtx_def shift_sub1;
>    struct rtx_def zext;
>    struct rtx_def trunc;
>
diff mbox

Patch

Index: gcc/expmed.c
===================================================================
--- gcc/expmed.c (revision 198200)
+++ gcc/expmed.c (working copy)
@@ -69,22 +69,22 @@ 
 
 struct init_expmed_rtl
 {
-  struct rtx_def reg;  rtunion reg_fld[2];
-  struct rtx_def plus; rtunion plus_fld1;
+  struct rtx_def reg;
+  struct rtx_def plus;
   struct rtx_def neg;
-  struct rtx_def mult; rtunion mult_fld1;
-  struct rtx_def sdiv; rtunion sdiv_fld1;
-  struct rtx_def udiv; rtunion udiv_fld1;
-  struct rtx_def sdiv_32; rtunion sdiv_32_fld1;
-  struct rtx_def smod_32; rtunion smod_32_fld1;
-  struct rtx_def wide_mult; rtunion wide_mult_fld1;
-  struct rtx_def wide_lshr; rtunion wide_lshr_fld1;
+  struct rtx_def mult;
+  struct rtx_def sdiv;
+  struct rtx_def udiv;
+  struct rtx_def sdiv_32;
+  struct rtx_def smod_32;
+  struct rtx_def wide_mult;
+  struct rtx_def wide_lshr;
   struct rtx_def wide_trunc;
-  struct rtx_def shift; rtunion shift_fld1;
-  struct rtx_def shift_mult; rtunion shift_mult_fld1;
-  struct rtx_def shift_add; rtunion shift_add_fld1;
-  struct rtx_def shift_sub0; rtunion shift_sub0_fld1;
-  struct rtx_def shift_sub1; rtunion shift_sub1_fld1;
+  struct rtx_def shift;
+  struct rtx_def shift_mult;
+  struct rtx_def shift_add;
+  struct rtx_def shift_sub0; 
+  struct rtx_def shift_sub1;
   struct rtx_def zext;
   struct rtx_def trunc;