Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
75db85d8
Commit
75db85d8
authored
Mar 22, 2011
by
Richard Henderson
Committed by
Richard Henderson
Mar 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove alpha-unicosmk code from the backend.
From-SVN: r171309
parent
96e45421
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
49 additions
and
23 deletions
+49
-23
gcc/ChangeLog
+43
-0
gcc/config/alpha/alpha-protos.h
+0
-8
gcc/config/alpha/alpha.c
+0
-0
gcc/config/alpha/alpha.h
+1
-4
gcc/config/alpha/alpha.md
+0
-0
gcc/config/alpha/constraints.md
+0
-5
gcc/config/alpha/predicates.md
+5
-6
No files found.
gcc/ChangeLog
View file @
75db85d8
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
...
...
gcc/config/alpha/alpha-protos.h
View file @
75db85d8
...
...
@@ -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
);
gcc/config/alpha/alpha.c
View file @
75db85d8
This diff is collapsed.
Click to expand it.
gcc/config/alpha/alpha.h
View file @
75db85d8
...
...
@@ -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
...
...
gcc/config/alpha/alpha.md
View file @
75db85d8
This diff is collapsed.
Click to expand it.
gcc/config/alpha/constraints.md
View file @
75db85d8
...
...
@@ -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")
...
...
gcc/config/alpha/predicates.md
View file @
75db85d8
...
...
@@ -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"
(i
f_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"
))))
(i
or (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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment