This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pentium4 branch prediction hints support


> 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?
Hmm, I see, gas in intel mode accepts it, nasm not. Would be OK to issue the
"db 43H ;" instead?  (I would like to keep the hint and branch on same line,
as it at least partly reduces confusion of random reader.

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]