This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: xscale arm build bootstrap fails
- From: Nick Clifton <nickc at redhat dot com>
- To: Richard dot Earnshaw at arm dot com, jeroen dot dobbelaere at acunia dot com
- Cc: gcc at gcc dot gnu dot org
- Date: 27 Feb 2003 16:07:48 +0000
- Subject: Re: xscale arm build bootstrap fails
- References: <200302261344.h1QDi3Q02532@pc960.cambridge.arm.com>
Hi Richard, Hi Jeroen
> > libbackend.a(sched-rgn.o)(.text+0x15a0): In function `compute_dom_prob_ps':
> > /usr/src/cvs-others/gcc-trees/gcc-head/build-tmp-0/gcc/../../gcc/gcc/sched-rgn.c:1105: undefined reference to `__extendsfdf2'
> > libbackend.a(sched-rgn.o)(.text+0x15bc):/usr/src/cvs-others/gcc-trees/gcc-head/build-tmp-0/gcc/../../gcc/gcc/sched-rgn.c:1105: undefined reference to `__extendsfdf2'
> This is because the extendsfdf2 pattern was renamed to an anonymous
> pattern when support for the Maverick co-processor was added, but no
> expander was added.
>
> Nick, this is a serious regression introduced by the Maverick port.
Sorry about that. Fixed with this patch.
Cheers
Nick
2003-02-27 Nick Clifton <nickc at redhat dot com>
* config/arm/arm.md (extendsfdf2): Add pattern accidentally
deleted when cirrus instructions were added.
Index: gcc/config/arm/arm.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.md,v
retrieving revision 1.122
diff -c -3 -p -w -r1.122 arm.md
*** gcc/config/arm/arm.md 26 Feb 2003 11:26:37 -0000 1.122
--- gcc/config/arm/arm.md 27 Feb 2003 15:59:52 -0000
***************
*** 3693,3698 ****
--- 3693,3705 ----
(set_attr "pool_range" "32,32")]
)
+ (define_expand "extendsfdf2"
+ [(set (match_operand:DF 0 "s_register_operand" "")
+ (float_extend:DF (match_operand:SF 1 "s_register_operand" "")))]
+ "TARGET_ARM && TARGET_ANY_HARD_FLOAT"
+ ""
+ )
+
(define_insn "*arm_extendsfdf2"
[(set (match_operand:DF 0 "s_register_operand" "=f")
(float_extend:DF (match_operand:SF 1 "s_register_operand" "f")))]