]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000.c (rs6000_secondary_reload_direct_move): Remove redundant code.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 10 Nov 2015 21:52:50 +0000 (21:52 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 10 Nov 2015 21:52:50 +0000 (21:52 +0000)
2015-11-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_secondary_reload_direct_move):
Remove redundant code.

From-SVN: r230136

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 84481efb5ae0a4e01e542900775ac83bffa33cb1..764dd3cae43e6d95d2d540b4f6926ff05bd79a31 100644 (file)
@@ -1,3 +1,8 @@
+2015-11-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       * config/rs6000/rs6000.c (rs6000_secondary_reload_direct_move):
+       Remove redundant code.
+
 2015-11-10  Jeff Law  <law@redhat.com>
 
        * config/ft32/ft32.c (ft32_print_operand): Supply mode to
index ca93609bb6bda4c28420886d717ed53de05ec0e0..7b6aca9e8136db9087432b756669fdf1dd91c445 100644 (file)
@@ -18150,28 +18150,7 @@ rs6000_secondary_reload_direct_move (enum rs6000_reg_type to_type,
        }
     }
 
-  if (TARGET_POWERPC64 && size == 16)
-    {
-      /* Handle moving 128-bit values from GPRs to VSX point registers on
-        power8 when running in 64-bit mode using XXPERMDI to glue the two
-        64-bit values back together.  */
-      if (to_type == VSX_REG_TYPE && from_type == GPR_REG_TYPE)
-       {
-         cost = 3;                     /* 2 mtvsrd's, 1 xxpermdi.  */
-         icode = reg_addr[mode].reload_vsx_gpr;
-       }
-
-      /* Handle moving 128-bit values from VSX point registers to GPRs on
-        power8 when running in 64-bit mode using XXPERMDI to get access to the
-        bottom 64-bit value.  */
-      else if (to_type == GPR_REG_TYPE && from_type == VSX_REG_TYPE)
-       {
-         cost = 3;                     /* 2 mfvsrd's, 1 xxpermdi.  */
-         icode = reg_addr[mode].reload_gpr_vsx;
-       }
-    }
-
-  else if (!TARGET_POWERPC64 && size == 8)
+  else if (size == 8)
     {
       /* Handle moving 64-bit values from GPRs to floating point registers on
         power8 when running in 32-bit mode using FMRGOW to glue the two 32-bit