* pa.c (pa_reorg): If TARGET_BIG_SWITCH, then do not explode
commita66555b2754a08e4e6d922dad9108b7d634e2153
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jul 1997 17:02:37 +0000 (25 17:02 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jul 1997 17:02:37 +0000 (25 17:02 +0000)
tree6efe17b5c1f3712932f0777e4cc93730a0356e51
parentc75336f70516cb24955ba13cf58c759f7f166eb0
    * pa.c (pa_reorg): If TARGET_BIG_SWITCH, then do not explode
        ADDR_VEC insns.  Slightly rework code which explodes ADDR_VEC
        insns.
        * pa.h (TARGET_BIG_SWITCH): Define.
        (TARGET_SWITCHES): Add "big-switch" and "no-big-switch".
        (CASE_VECTOR_MODE): Use TI or DI depending on TARGET_BIG_SWITCH.
        (CASE_DROPS_THROUGH): Remove definition.
        (ASM_OUTPUT_ADDR_VEC_ELT): Rewrite to handle TARGET_BIG_SWITCH.
        (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
        * pa.md (casesi): Rework to avoid some potential long branch
        problems (also makes generated code faster!).  Handle
        TARGET_BIG_SWITCH.
        (casesi0): Corresponding changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14528 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/pa.md