diff options
author | Jan Hubicka <jh@suse.cz> | 2003-06-05 13:25:43 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-06-05 11:25:43 +0000 |
commit | 6262f66a0b8447d73ef78f83e329a760c3650798 (patch) | |
tree | 47df5d3bb94e2d3dd729fc9a9416f81735b22c4c /gcc | |
parent | 3a30516dd0a950adc398ef870b975d0d0d7529ac (diff) | |
download | gcc-6262f66a0b8447d73ef78f83e329a760c3650798.zip gcc-6262f66a0b8447d73ef78f83e329a760c3650798.tar.gz gcc-6262f66a0b8447d73ef78f83e329a760c3650798.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <jh@suse.cz> + + * i386.md (align): Fix warning; clarify what to do when no p2align + is available. + 2003-06-05 Nick Clifton <nickc@redhat.com> * 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 ""; } |