This is the mail archive of the gcc@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: A doubt about constraint modifiers


Mohamed Shafi wrote:
In cris i saw this patten

(define_insn "*andhi_lowpart"
  [(set (strict_low_part
	 (match_operand:HI 0 "register_operand"	       "=r,r, r,r,r,r"))
	(and:HI (match_operand:HI 1 "register_operand" "%0,0, 0,0,0,r")
		(match_operand:HI 2 "general_operand"   "r,Q>,L,O,g,!To")))]

Here = is used.

This is incorrect since when the last alternative matches, nothing tells the compiler that operand 0 is also an input.



Bernd -- This footer brought to you by insane German lawmakers. Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368 Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif


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