From: Nick Clifton Date: Mon, 21 Jun 1999 07:25:35 +0000 (+0000) Subject: Add cpp support for ARM920 and ARM920T processor types. X-Git-Tag: releases/libgcj-2.95.0~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60d0536b1edb935829a92be6526393e7c3a31896;p=thirdparty%2Fgcc.git Add cpp support for ARM920 and ARM920T processor types. Minor formatting tidies in arm.c and arm.md From-SVN: r27657 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b97ace123e11..6a02178dd87d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Jun 21 14:58:42 1999 Nick Clifton + + * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu + types. + Mon Jun 21 06:22:21 1999 Mark Elbrecht * i386/djgpp.h (LIB_SPEC): New. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 7a2b4727c416..d2c037c88e39 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -73,7 +73,7 @@ static int const_ok_for_op RTX_CODE_PROTO ((Hint, Rcode)); /* True if we are currently building a constant 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. */ rtx arm_compare_op0, arm_compare_op1; diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 807340f9799a..629f04abad36 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -141,6 +141,8 @@ Unrecognized value in TARGET_CPU_DEFAULT. %{march=arm8:-D__ARM_ARCH_4__} \ %{march=arm810:-D__ARM_ARCH_4__} \ %{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=strongarm:-D__ARM_ARCH_4__} \ %{march=strongarm110:-D__ARM_ARCH_4__} \ @@ -171,6 +173,8 @@ Unrecognized value in TARGET_CPU_DEFAULT. %{mcpu=arm8:-D__ARM_ARCH_4__} \ %{mcpu=arm810:-D__ARM_ARCH_4__} \ %{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=strongarm:-D__ARM_ARCH_4__} \ %{mcpu=strongarm110:-D__ARM_ARCH_4__} \ @@ -317,7 +321,7 @@ function tries to return. */ #define TARGET_APCS_FLOAT (target_flags & ARM_FLAG_APCS_FLOAT) #define TARGET_APCS_REENT (target_flags & ARM_FLAG_APCS_REENT) /* 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 would generate an MMU fault. On processors which do not have a 16 bit load instruction therefore, short values must be loaded by individual diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index f632d773a3a2..599621da0be1 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -4267,7 +4267,7 @@ ;; Often the return insn will be the same as loading from memory, so set attr (define_insn "return" [(return)] - "USE_RETURN_INSN(FALSE)" + "USE_RETURN_INSN (FALSE)" "* { extern int arm_ccfsm_state; @@ -4287,7 +4287,7 @@ [(match_operand 1 "cc_register" "") (const_int 0)]) (return) (pc)))] - "USE_RETURN_INSN(TRUE)" + "USE_RETURN_INSN (TRUE)" "* { extern int arm_ccfsm_state; @@ -4308,7 +4308,7 @@ [(match_operand 1 "cc_register" "") (const_int 0)]) (pc) (return)))] - "USE_RETURN_INSN(TRUE)" + "USE_RETURN_INSN (TRUE)" "* { extern int arm_ccfsm_state; @@ -5974,7 +5974,7 @@ (match_operand:SI 1 "general_operand" "g")) (clobber (reg:SI 14))]) (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 && !frame_pointer_needed && !current_function_args_size)" "* @@ -6002,7 +6002,7 @@ (match_operand:SI 2 "general_operand" "g"))) (clobber (reg:SI 14))]) (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 && !frame_pointer_needed && !current_function_args_size)" "* @@ -6034,7 +6034,7 @@ (clobber (reg:SI 14))]) (use (match_dup 0)) (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 && !frame_pointer_needed && !current_function_args_size)" "*