This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix prefetch address generation for XScale


Hi Richard,

> >   This patch fixes the problem by creating a new operand printing
> >   code: 'p' which treats the operand as the contents of a MEM and
> >   calls outpu_address on it.
> 
> See the generic 'a' code.

Doh!  Thanks.  I have appleid this patch instead.

Cheers
        Nick

2001-12-21  Nick Clifton  <nickc@cambridge.redhat.com>

	* config/arm/arm.md (prefetch): Use 'a' operand code.

Index: gcc/config/arm/arm.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.md,v
retrieving revision 1.86
diff -p -c -r1.86 arm.md
*** arm.md	2001/12/08 11:16:59	1.86
--- arm.md	2001/12/21 09:29:12
***************
*** 9175,9181 ****
  	     (match_operand:SI 1 "" "")
  	     (match_operand:SI 2 "" ""))]
    "TARGET_ARM && arm_arch5e"
!   "pld\\t[%0]")
  
  ;; General predication pattern
  
--- 9175,9181 ----
  	     (match_operand:SI 1 "" "")
  	     (match_operand:SI 2 "" ""))]
    "TARGET_ARM && arm_arch5e"
!   "pld\\t%a0")
  
  ;; General predication pattern
  




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]