From 6262f66a0b8447d73ef78f83e329a760c3650798 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 5 Jun 2003 13:25:43 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30e69fb..c9af64a 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 a027a76..b255df2 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 ""; } -- 2.7.4