From patchwork Tue Jul 17 11:32:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [aarch64] Fix misplaced parenthesis From: Marcus Shawcroft X-Patchwork-Id: 171397 Message-Id: <50054D3A.1070500@arm.com> To: "gcc-patches@gcc.gnu.org" Date: Tue, 17 Jul 2012 12:32:10 +0100 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 + * config/aarch64/aarch64.c (aarch64_rtx_costs): + Move misplaced parenthesis. + +2012-07-17 Marcus Shawcroft + * config/aarch64/aarch64-simd.md (*aarch64_simd_mov): Do not emit lsl for a shift of 0. (*aarch64_simd_mov): 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)