http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55195



--- Comment #18 from John David Anglin <danglin at gcc dot gnu.org> 2012-12-01 
20:36:08 UTC ---

Author: danglin

Date: Sat Dec  1 20:36:04 2012

New Revision: 194027



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194027

Log:

    Backport from mainline:

    2012-11-12  John David Anglin  <dave.ang...@nrc-cnrc.gc.ca>



    PR target/55195

    * config/pa/pa.md (type): Add sibcall and sh_func_adrs insn types.

    (in_branch_delay): Don't allow sibcall or sh_func_adrs insns.

    (in_nullified_branch_delay): Likewise.

    (in_call_delay): Likewise.

    Define delay for sibcall insns.  Adjust Z3 and Z4 insn reservations for

    new types.  Add opaque cond to mark all calls, sibcalls, dyncalls and

    the $$sh_func_adrs call as variable.  Update type of sibcalls and

    $$sh_func_adrs call.

    * config/pa/pa.c (pa_adjust_insn_length): Revise to return updated

    length instead of adjustment.  Handle negative and undefined call

    adjustments for insn_default_length.  Remove adjustment for millicode

    insn with unfilled delay slot.

    (pa_output_millicode_call): Update for revised millicode length.

    * config/pa/pa.h (ADJUST_INSN_LENGTH): Revise to set LENGTH.





Modified:

    branches/gcc-4_7-branch/gcc/ChangeLog

    branches/gcc-4_7-branch/gcc/config/pa/pa.c

    branches/gcc-4_7-branch/gcc/config/pa/pa.h

    branches/gcc-4_7-branch/gcc/config/pa/pa.md

Reply via email to