Commit 60d0536b by Nick Clifton Committed by Nick Clifton

Add cpp support for ARM920 and ARM920T processor types.

Minor formatting tidies in arm.c and arm.md

From-SVN: r27657
parent d4308a83
Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
types.
Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com> Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
* i386/djgpp.h (LIB_SPEC): New. * i386/djgpp.h (LIB_SPEC): New.
......
...@@ -73,7 +73,7 @@ static int const_ok_for_op RTX_CODE_PROTO ((Hint, Rcode)); ...@@ -73,7 +73,7 @@ static int const_ok_for_op RTX_CODE_PROTO ((Hint, Rcode));
/* True if we are currently building a constant table. */ /* True if we are currently building a constant table. */
int making_const_table; int making_const_table;
/* Define the information needed to generate branch insns. This is /* Define the information needed to generate branch insns. This is
stored from the compare operation. */ stored from the compare operation. */
rtx arm_compare_op0, arm_compare_op1; rtx arm_compare_op0, arm_compare_op1;
......
...@@ -141,6 +141,8 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -141,6 +141,8 @@ Unrecognized value in TARGET_CPU_DEFAULT.
%{march=arm8:-D__ARM_ARCH_4__} \ %{march=arm8:-D__ARM_ARCH_4__} \
%{march=arm810:-D__ARM_ARCH_4__} \ %{march=arm810:-D__ARM_ARCH_4__} \
%{march=arm9:-D__ARM_ARCH_4T__} \ %{march=arm9:-D__ARM_ARCH_4T__} \
%{march=arm920:-D__ARM_ARCH_4__} \
%{march=arm920t:-D__ARM_ARCH_4T__} \
%{march=arm9tdmi:-D__ARM_ARCH_4T__} \ %{march=arm9tdmi:-D__ARM_ARCH_4T__} \
%{march=strongarm:-D__ARM_ARCH_4__} \ %{march=strongarm:-D__ARM_ARCH_4__} \
%{march=strongarm110:-D__ARM_ARCH_4__} \ %{march=strongarm110:-D__ARM_ARCH_4__} \
...@@ -171,6 +173,8 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -171,6 +173,8 @@ Unrecognized value in TARGET_CPU_DEFAULT.
%{mcpu=arm8:-D__ARM_ARCH_4__} \ %{mcpu=arm8:-D__ARM_ARCH_4__} \
%{mcpu=arm810:-D__ARM_ARCH_4__} \ %{mcpu=arm810:-D__ARM_ARCH_4__} \
%{mcpu=arm9:-D__ARM_ARCH_4T__} \ %{mcpu=arm9:-D__ARM_ARCH_4T__} \
%{mcpu=arm920:-D__ARM_ARCH_4__} \
%{mcpu=arm920t:-D__ARM_ARCH_4T__} \
%{mcpu=arm9tdmi:-D__ARM_ARCH_4T__} \ %{mcpu=arm9tdmi:-D__ARM_ARCH_4T__} \
%{mcpu=strongarm:-D__ARM_ARCH_4__} \ %{mcpu=strongarm:-D__ARM_ARCH_4__} \
%{mcpu=strongarm110:-D__ARM_ARCH_4__} \ %{mcpu=strongarm110:-D__ARM_ARCH_4__} \
...@@ -317,7 +321,7 @@ function tries to return. */ ...@@ -317,7 +321,7 @@ function tries to return. */
#define TARGET_APCS_FLOAT (target_flags & ARM_FLAG_APCS_FLOAT) #define TARGET_APCS_FLOAT (target_flags & ARM_FLAG_APCS_FLOAT)
#define TARGET_APCS_REENT (target_flags & ARM_FLAG_APCS_REENT) #define TARGET_APCS_REENT (target_flags & ARM_FLAG_APCS_REENT)
/* Note: TARGET_SHORT_BY_BYTES is really a misnomer. What it means is /* Note: TARGET_SHORT_BY_BYTES is really a misnomer. What it means is
that short values sould not be accessed using word load instructions that short values should not be accessed using word load instructions
as there is a possibility that they may not be word aligned and this as there is a possibility that they may not be word aligned and this
would generate an MMU fault. On processors which do not have a 16 bit would generate an MMU fault. On processors which do not have a 16 bit
load instruction therefore, short values must be loaded by individual load instruction therefore, short values must be loaded by individual
......
...@@ -4267,7 +4267,7 @@ ...@@ -4267,7 +4267,7 @@
;; Often the return insn will be the same as loading from memory, so set attr ;; Often the return insn will be the same as loading from memory, so set attr
(define_insn "return" (define_insn "return"
[(return)] [(return)]
"USE_RETURN_INSN(FALSE)" "USE_RETURN_INSN (FALSE)"
"* "*
{ {
extern int arm_ccfsm_state; extern int arm_ccfsm_state;
...@@ -4287,7 +4287,7 @@ ...@@ -4287,7 +4287,7 @@
[(match_operand 1 "cc_register" "") (const_int 0)]) [(match_operand 1 "cc_register" "") (const_int 0)])
(return) (return)
(pc)))] (pc)))]
"USE_RETURN_INSN(TRUE)" "USE_RETURN_INSN (TRUE)"
"* "*
{ {
extern int arm_ccfsm_state; extern int arm_ccfsm_state;
...@@ -4308,7 +4308,7 @@ ...@@ -4308,7 +4308,7 @@
[(match_operand 1 "cc_register" "") (const_int 0)]) [(match_operand 1 "cc_register" "") (const_int 0)])
(pc) (pc)
(return)))] (return)))]
"USE_RETURN_INSN(TRUE)" "USE_RETURN_INSN (TRUE)"
"* "*
{ {
extern int arm_ccfsm_state; extern int arm_ccfsm_state;
...@@ -5974,7 +5974,7 @@ ...@@ -5974,7 +5974,7 @@
(match_operand:SI 1 "general_operand" "g")) (match_operand:SI 1 "general_operand" "g"))
(clobber (reg:SI 14))]) (clobber (reg:SI 14))])
(return)] (return)]
"(GET_CODE (operands[0]) == SYMBOL_REF && USE_RETURN_INSN(FALSE) "(GET_CODE (operands[0]) == SYMBOL_REF && USE_RETURN_INSN (FALSE)
&& !get_frame_size () && !current_function_calls_alloca && !get_frame_size () && !current_function_calls_alloca
&& !frame_pointer_needed && !current_function_args_size)" && !frame_pointer_needed && !current_function_args_size)"
"* "*
...@@ -6002,7 +6002,7 @@ ...@@ -6002,7 +6002,7 @@
(match_operand:SI 2 "general_operand" "g"))) (match_operand:SI 2 "general_operand" "g")))
(clobber (reg:SI 14))]) (clobber (reg:SI 14))])
(return)] (return)]
"(GET_CODE (operands[1]) == SYMBOL_REF && USE_RETURN_INSN(FALSE) "(GET_CODE (operands[1]) == SYMBOL_REF && USE_RETURN_INSN (FALSE)
&& !get_frame_size () && !current_function_calls_alloca && !get_frame_size () && !current_function_calls_alloca
&& !frame_pointer_needed && !current_function_args_size)" && !frame_pointer_needed && !current_function_args_size)"
"* "*
...@@ -6034,7 +6034,7 @@ ...@@ -6034,7 +6034,7 @@
(clobber (reg:SI 14))]) (clobber (reg:SI 14))])
(use (match_dup 0)) (use (match_dup 0))
(return)] (return)]
"(GET_CODE (operands[1]) == SYMBOL_REF && USE_RETURN_INSN(FALSE) "(GET_CODE (operands[1]) == SYMBOL_REF && USE_RETURN_INSN (FALSE)
&& !get_frame_size () && !current_function_calls_alloca && !get_frame_size () && !current_function_calls_alloca
&& !frame_pointer_needed && !current_function_args_size)" && !frame_pointer_needed && !current_function_args_size)"
"* "*
......
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