From: Jan Hubicka Date: Thu, 5 Jun 2003 11:25:43 +0000 (+0200) Subject: i386.md (align): Fix warning; clarify what to do when no p2align is available. X-Git-Tag: releases/gcc-3.4.0~6143 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6262f66a0b8447d73ef78f83e329a760c3650798;p=thirdparty%2Fgcc.git i386.md (align): Fix warning; clarify what to do when no p2align is available. * i386.md (align): Fix warning; clarify what to do when no p2align is available. From-SVN: r67485 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30e69fb52ac8..c9af64a056b4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 5 13:23:51 CEST 2003 Jan Hubicka + + * i386.md (align): Fix warning; clarify what to do when no p2align + is available. + 2003-06-05 Nick Clifton * config.gcc (m32r-elf): Revert previous delta. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index a027a7623bad..b255df243217 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -14289,9 +14289,12 @@ "" { #ifdef ASM_OUTPUT_MAX_SKIP_ALIGN - ASM_OUTPUT_MAX_SKIP_ALIGN (asm_out_file, 4, INTVAL (operands[0])); + ASM_OUTPUT_MAX_SKIP_ALIGN (asm_out_file, 4, (int)INTVAL (operands[0])); #else - ASM_OUTPUT_ALIGN (asm_out_file, 4); + /* It is tempting to use ASM_OUTPUT_ALIGN here, but we don't want to do that. + The align insn is used to avoid 3 jump instructions in the row to improve + branch prediction and the benefits hardly outweight the cost of extra 8 + nops on the average inserted by full alignment pseudo operation. */ #endif return ""; }