Line number handling in RTL reorganization

Paolo Carlini pcarlini@unitus.it
Thu Jun 5 14:59:00 GMT 2003


Jan Hubicka wrote:

>Hi,
>this patch implements the idea of replacing line numbers notes via locators
>placed directly in the insn RTLs.
>
This hunk, however, belongs to your align patch, I think...

Paolo.

>Index: config/i386/i386.md
>===================================================================
>RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.md,v
>retrieving revision 1.465
>diff -c -3 -p -r1.465 i386.md
>*** config/i386/i386.md	5 Jun 2003 00:23:21 -0000	1.465
>--- config/i386/i386.md	5 Jun 2003 10:05:20 -0000
>***************
>*** 14289,14297 ****
>    ""
>  {
>  #ifdef ASM_OUTPUT_MAX_SKIP_ALIGN
>!   ASM_OUTPUT_MAX_SKIP_ALIGN (asm_out_file, 4, INTVAL (operands[0]));
>  #else
>!   ASM_OUTPUT_ALIGN (asm_out_file, 4);
>  #endif
>    return "";
>  }
>--- 14289,14300 ----
>    ""
>  {
>  #ifdef ASM_OUTPUT_MAX_SKIP_ALIGN
>!   ASM_OUTPUT_MAX_SKIP_ALIGN (asm_out_file, 4, (int)INTVAL (operands[0]));
>  #else
>!   /* 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 "";
>  }
>



More information about the Gcc-patches mailing list