Commit 782d5172 by Reza Yazdani Committed by Sebastian Pop

re PR bootstrap/45680 (cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing)

Fix PR45680.

2010-09-16  Reza Yazdani  <reza.yazdani@amd.com>

	PR bootstrap/45680
	* config/i386/i386.c (min_insn_size): Moved out of the
	ASM_OUTPUT_MAX_SKIP_PAD ifdef.

From-SVN: r164345
parent 0cac82a0
2010-09-16 Reza Yazdani <reza.yazdani@amd.com>
PR bootstrap/45680
* config/i386/i386.c (min_insn_size): Moved out of the
ASM_OUTPUT_MAX_SKIP_PAD ifdef.
2010-09-16 Jan Hubicka <jh@suse.cz> 2010-09-16 Jan Hubicka <jh@suse.cz>
* lto-cgraph.c (lto_output_node): Fix handling of clones. * lto-cgraph.c (lto_output_node): Fix handling of clones.
......
...@@ -27564,7 +27564,6 @@ x86_function_profiler (FILE *file, int labelno ATTRIBUTE_UNUSED) ...@@ -27564,7 +27564,6 @@ x86_function_profiler (FILE *file, int labelno ATTRIBUTE_UNUSED)
} }
} }
#ifdef ASM_OUTPUT_MAX_SKIP_PAD
/* We don't have exact information about the insn sizes, but we may assume /* We don't have exact information about the insn sizes, but we may assume
quite safely that we are informed about all 1 byte insns and memory quite safely that we are informed about all 1 byte insns and memory
address sizes. This is enough to eliminate unnecessary padding in address sizes. This is enough to eliminate unnecessary padding in
...@@ -27626,6 +27625,8 @@ min_insn_size (rtx insn) ...@@ -27626,6 +27625,8 @@ min_insn_size (rtx insn)
return 2; return 2;
} }
#ifdef ASM_OUTPUT_MAX_SKIP_PAD
/* AMD K8 core mispredicts jumps when there are more than 3 jumps in 16 byte /* AMD K8 core mispredicts jumps when there are more than 3 jumps in 16 byte
window. */ window. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment