Correct options in GCC manual.

        * doc/invoke.texi (Option Summary, ARC Options): Remove
        -mold-di-patterns, -mCPU=A5, -mA5. Add -mlra,
        -mlra-priority-compact, -mlra-priority-noncompact,
        -mlra-priority-none and -mucb-count.
        Mark
        -mbarrel_shifter, -mdpfp_compact, -mdpfp_fast,
        -mdsp_packa, -mmac_24, -mmac_d16, -mmpy_option, -mspfp_compact,
        -mspfp_fast as deprecated and replace by
        equivalents without '_'. Partition options into groups are reorder
        alphabetically in groups. Update summary to match detailed list.

Conflicts: removed v2/EM stuff, re-added mcrc,
        Where there are positive and negative (-mno) options, just list the
        former in the summary.
	gcc/ChangeLog.ARC
	gcc/doc/invoke.texi
	* doc/extend.texi (ARC Built-in Functions): New section defining
	generic ARC built-in functions.
	(ARC SIMD Built-in Functions): New section defining SIMD specific
	built-in functions.
        * doc/extend.texi (ARC Built-in Functions): Remove description of EM
        specific functions.
	* doc/extend.tex (Declaring Attributes of Functions): Extended
	description of short_call and long_call attributes for ARC and
	added index entries.
	* doc/extend.texi (ARC Built-in Functions): Use deftypefn for
	built-ins.
	* doc/invoke.texi (Option Summary): Remove -margonaut,
	-mbig-endian, -mEB, -mlittle-endian, -mEL. Change -mEA to -mea and
	-multcost to -mmultcost.
	(ARC Options): Mark -margonaut, -mbig-endian, -mEB,
	-mlittle-endian, -mEL, -mEA and -multcost as
	deprecated. Consistent description of ARC v2 EM architecture
	throughout. Use -mcpu=ARCv2EM to specify ARC v2 EM architecture
	with -mARCv2EM and -mEM as aliases. Provided -mea as replacement
	for -mEA and -mmultcost as replacements for -multcost. -mmul32x16
	not for ARC v2 EM, -mmul64 for ARC600 only. -msimd for ARC700
	only. -mlra marked as experimental. -mtune match CPU names of
	-mcpu and mark lower case alternatives as deprecated. Remove
	-mdev_rem and -mcode_density from deprecated.

Conflicts:
	gcc/ChangeLog.ARC
	gcc/doc/extend.texi
	gcc/doc/invoke.texi
        * doc/extend.texi (Declaring Attributes of Functions): Correct
        typo for interrupt attribute. Note that branch-and-link has a
        21-bit offset.
        (ARC Built-in Functions): Correct first argument of deftypefn in
        some places.
        * doc/invoke.texi (ARC Options): Note that -mshort-calls has a
        21-bit range. Clarify meaning of options passed through to the linker.

        * doc/invoke.texi (ARC Options): Add -mARC601 alias
        and index entry for -mARC601 cpu option.

Conflicts:
	gcc/ChangeLog.ARC
	gcc/doc/extend.texi
	gcc/doc/invoke.texi
        * gcc/config/arc/arc.c (arc_expand_epilogue): Use gen_simple_return.
        (arc_print_operand): Don't use .nd suffix for return instructions.
        (arc_ccfsm_record_condition): Change type of second parameter to bool.
        Changed all callers.
        Disregard deleted delay slot insns.
        (arc_ifcvt): Fix logic to detect SEQUENCEs.
        When coanging an RTX_FRAME_RELATED_P, add a suitable
        REG_FRAME_RELATED_EXPR note.
        * config/arc/arc.md (return_i): Rename to ...
        (simple_return): ... this.
        (p_return_i):  Call arc_ccfsm_record_condition.
        (return): New define_expand.
        * config/arc/arc-protos.h (arc_ccfsm_record_condition): Update
        prototype.
        * recog.c (verify_changes): Verify that changes[i].old is non-zero
        before applying REG_P.

Conflicts:
	gcc/ChangeLog.ARC
	gcc/config/arc/arc.md
Fix ChangeLog typo.
Tidy up manual following review.

gcc:
	* doc/invoke.texi (ARC Options): Correct text for -mdsp-packa,
	-mxy and the -mtune options for ARC700, ARC700-xmac, ARC725D and
	ARC750D. Fix bad line-wrapping.  Spell check and correct this
	section.
	* doc/extend.texi (Declaring Attributes of Functions):
	Spell check and correct this section.
	(ARC Built-in Functions): Change -mEA to -mea.  Spell check and
	correct this section.

Conflicts:
	gcc/ChangeLog.ARC
	gcc/doc/extend.texi
	gcc/doc/invoke.texi
        * config/arc/arc.c (arc_pad_return): Don't disgorge the delay slot
        insn if the delay slot is annulled or clobbers the condition of
        the return insn.

Conflicts:
	gcc/ChangeLog.ARC
        * config/arc/arc.md (attribute length): Conditionalized move insns
        have length 8 unless they use an u6_immediate_operand or
        register_operand input.

Conflicts:
	gcc/ChangeLog.ARC
        * config/arc/predicates.md (mult_operator): Check TARGET_NOMPY_SET.
        Move before commutative_operator.
        (commutative_operator): Use mult_operator.

Conflicts:
	gcc/ChangeLog.ARC
2013-05-29  Vineet Gupta  <vgupta@synopsys.com>

        * config/arc/arc.h (DWARF2_FRAME_INFO): Don't define unconditionally

Conflicts:
	gcc/ChangeLog.ARC
        * config/arc/arc.md (umul_600): Output LIMM before register operand.
        (umul64_600): Likewise.

Conflicts:
	gcc/ChangeLog.ARC
        * config/arc/arc.h (DRIVER_SELF_SPECS): Fix typo: %<A6 -> %<mA6

Conflicts:
	gcc/ChangeLog.ARC
        * common/config/arc/arc-common.c (arc_handle_option): Allow multiple
        identical -mcpu options.
        * config/arc/arc.md (doloop_begin_i): Don't try to find
        next_active_insn of simple_return.
        * config/arc/arc-protos.h (arc_is_shortcall_p): Declare.
        * config/arc/arc.c (arc_attribute_table): Add medium_call
        attribute entry.
        (arc_comp_type_attributes): Check medium_call attribute.
        (arc_encode_section_info): Process medium_call attribute.
        (arc_is_longcall_p): Return false if SYMBOL_REF_MEDIUM_CALL_P is set.
        (arc_is_shortcall_p): New function.
        * config/arc/arc.h (SYMBOL_FLAG_MEDIUM_CALL): Define.
        (SYMBOL_FLAG_LONG_CALL): Bump up bit number.
        (SYMBOL_REF_MEDIUM_CALL_P): Define.
        * config/arc/constraints.md (Cbp): Use arc_is_shortcall_p.
        * doc/extend.texi: Add documentation for medium_call attribute.

Conflicts:
	gcc/ChangeLog.ARC
        * config/arc/arc.opt: Update optin names, replacing '_' hyphenation
        with '-' hypphenation.
        * config/arc/arc.h (CPP_SPEC): Likewise.
        (ASM_SPEC): Likewise.
        Remove invalid / SELF_SPEC translated option alternatives.
        (DRIVER_SPELF_SPECS): Use option alternatives for mARC5|mA5 and
        mav2em|mARCv2EM|mEM .
        Also remove from processed options mARC5/mA7/ARCv2EM/mEM .
        Add backwards compatibility translations from '_' hypenated options
        to '-' hyphenated options.

Conflicts:
	gcc/ChangeLog.ARC
	gcc/config/arc/arc.h
	gcc/config/arc/arc.opt
        * config/arc/arc.h (ASM_SPEC): Replace -mdsp with -mdsp-packa.

Conflicts:
	gcc/ChangeLog.ARC
	gcc/config/arc/arc.h