summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-05 11:25:43 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-05 11:25:43 +0000
commit2bf8a343a9f8a5613a22dbb2dd3d4eb505da3d66 (patch)
tree47df5d3bb94e2d3dd729fc9a9416f81735b22c4c
parent4f889607eeef2ab0494646c63b31dad7ea85d642 (diff)
downloadppe42-gcc-2bf8a343a9f8a5613a22dbb2dd3d4eb505da3d66.tar.gz
ppe42-gcc-2bf8a343a9f8a5613a22dbb2dd3d4eb505da3d66.zip
* i386.md (align): Fix warning; clarify what to do when no p2align
is available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67485 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.md7
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 30e69fb52ac..c9af64a056b 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 a027a7623ba..b255df24321 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 "";
}
OpenPOWER on IntegriCloud