Commit 75db85d8 by Richard Henderson Committed by Richard Henderson

Remove alpha-unicosmk code from the backend.

From-SVN: r171309
parent 96e45421
2011-03-22 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK.
(alpha_option_override, direct_return): Likewise.
(alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise.
(alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise.
(alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise.
(alpha_start_function, alpha_output_function_end_prologue): Likewise.
(alpha_expand_epilogue, alpha_end_function): Likewise.
(alpha_init_libfuncs): Likewise.
(struct machine_function): Remove unicosmk members.
(print_operand) ['t']: Remove.
(unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset,
unicosmk_output_module_name, unicosmk_output_common,
current_section_align, unicosmk_output_text_section_asm_op,
unicosmk_output_data_section_asm_op, unicosmk_init_sections,
unicosmk_section_type_flags, unicosmk_unique_section,
unicosmk_asm_named_section, unicosmk_insert_attributes,
unicosmk_output_align, unicosmk_defer_case_vector,
unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors,
SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib,
unicosmk_output_ssib, unicosmk_add_call_info_word,
unicosmk_extern_head, unicosmk_output_default_externs,
unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list,
unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex,
unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK.
* config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove.
(UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove.
(mulsi3): Don't test TARGET_ABI_UNICOSMK.
(*mulsi_se, mulvsi3): Likewise.
(divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise.
(*divmodsi_internal, call, call_value, realign): Likewise.
(moddi3, umoddi3): Likewise; remove duplicate expander.
(moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove.
(*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove.
(*movdi_nofix): Remove r/U alternative.
(umk_mismatch_args, arg_home_umk, *call_value_umk): Remove.
* config/alpha/constraints.md ("U"): Remove.
* config/alpha/predicates.md (call_operand"): Don't test
TARGET_ABI_UNICOSMK.
2011-03-22 Joseph Myers <joseph@codesourcery.com>
* target.def (handle_option): Take gcc_options and
......
......@@ -118,14 +118,6 @@ extern HOST_WIDE_INT alpha_vms_initial_elimination_offset (unsigned int,
extern rtx unicosmk_add_call_info_word (rtx);
#if TARGET_ABI_UNICOSMK
extern void unicosmk_defer_case_vector (rtx, rtx);
extern void unicosmk_add_extern (const char *);
extern void unicosmk_output_align (FILE *, int);
extern void unicosmk_output_common (FILE *, const char *, int, int);
extern int unicosmk_initial_elimination_offset (int, int);
#endif
extern int some_small_symbolic_operand_int (rtx *, void *);
extern int tls_symbolic_operand_1 (rtx, int, int);
extern rtx resolve_reload_operand (rtx);
......@@ -148,10 +148,7 @@ extern enum alpha_fp_trap_mode alpha_fptm;
/* These are for target os support and cannot be changed at runtime. */
#define TARGET_ABI_WINDOWS_NT 0
#define TARGET_ABI_OPEN_VMS 0
#define TARGET_ABI_UNICOSMK 0
#define TARGET_ABI_OSF (!TARGET_ABI_WINDOWS_NT \
&& !TARGET_ABI_OPEN_VMS \
&& !TARGET_ABI_UNICOSMK)
#define TARGET_ABI_OSF (!TARGET_ABI_WINDOWS_NT && !TARGET_ABI_OPEN_VMS)
#ifndef TARGET_AS_CAN_SUBTRACT_LABELS
#define TARGET_AS_CAN_SUBTRACT_LABELS TARGET_GAS
......
......@@ -110,11 +110,6 @@
"@internal A high-part symbol"
(match_code "high"))
(define_constraint "U"
"@internal A UNICOSMK symbol"
(and (match_test "TARGET_ABI_UNICOSMK")
(match_operand 0 "symbolic_operand")))
(define_constraint "W"
"A vector zero constant"
(and (match_code "const_vector")
......
......@@ -295,14 +295,13 @@
;; Return 1 if OP is a valid operand for the MEM of a CALL insn.
;;
;; For TARGET_ABI_OSF, we want to restrict to R27 or a pseudo.
;; For TARGET_ABI_UNICOSMK, we want to restrict to registers.
(define_predicate "call_operand"
(if_then_else (match_code "reg")
(match_test "!TARGET_ABI_OSF
|| REGNO (op) == 27 || REGNO (op) > LAST_VIRTUAL_REGISTER")
(and (match_test "!TARGET_ABI_UNICOSMK")
(match_code "symbol_ref"))))
(ior (match_code "symbol_ref")
(and (match_code "reg")
(ior (match_test "!TARGET_ABI_OSF")
(match_test "!HARD_REGISTER_P (op)")
(match_test "REGNO (op) == R27_REG")))))
;; Return true if OP is a LABEL_REF, or SYMBOL_REF or CONST referencing
;; a (non-tls) variable known to be defined in this file.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment