This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: pentium4 branch prediction hints support
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: pentium4 branch prediction hints support
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 4 Jun 2001 13:36:04 -0700
- Cc: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- References: <20010602185002.C17823@atrey.karlin.mff.cuni.cz>
On Sat, Jun 02, 2001 at 06:50:02PM +0200, Jan Hubicka wrote:
> * i386.c (x86_branch_hints): New global variable
> (print_operand): Support outputting of branch prediction hints.
> * i386.md (conditional jump patterns): Add branch prediction hints
> to the template.
> * i386.h (x86_branch_hints): Declare
> (TARGET_BRANCH_PREDICTION_HINTS): New macro.
> (PRINT_OPERAND_FUNCT_VALID_P): New.
> * flow.c (final_forward_branch_p): New function.
Wrong file name.
> + fputs (ASSEMBLER_DIALECT ? "ds: " : "ds ; ", file);
Are you sure this is the right syntax for intel mode?
If so, ok. Otherwise, you might have to issue ".byte 0xYY\n"
or something.
r~