This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[aarch64] Fix misplaced parenthesis


I've committed this patch to the aarch64 branch to fix a misplaced parenthesis.

Marcus
Index: gcc/ChangeLog.aarch64
===================================================================
--- gcc/ChangeLog.aarch64	(revision 189571)
+++ gcc/ChangeLog.aarch64	(working copy)
@@ -1,5 +1,10 @@
 2012-07-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
+	* config/aarch64/aarch64.c (aarch64_rtx_costs):
+	Move misplaced parenthesis.
+
+2012-07-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
 	* config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>):
 	Do not emit lsl for a shift of 0.
 	(*aarch64_simd_mov<mode>): Likwise.
Index: gcc/config/aarch64/aarch64.c
===================================================================
--- gcc/config/aarch64/aarch64.c	(revision 189570)
+++ gcc/config/aarch64/aarch64.c	(working copy)
@@ -4191,7 +4191,7 @@
       op1 = XEXP (x, 1);
 
       *cost = COSTS_N_INSNS (1);
-      if (GET_MODE_CLASS (GET_MODE (x) == MODE_INT))
+      if (GET_MODE_CLASS (GET_MODE (x)) == MODE_INT)
 	{
 	  if (CONST_INT_P (op1)
 	      && exact_log2 (INTVAL (op1)) > 0)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]