I don't understand the use of 'match_dup'

ZengNan znxmu@yahoo.com.cn
Thu Feb 2 14:55:00 GMT 2006


I don't understand the use of match_dup, even if I've read GCC Internals. For example, in mips.md,
 
(define_expand "seq"
[(set (match_operand:SI 0 "register_operand" "=d")
 (eq:SI (match_dup 1) (match_dup 2)))]
....
 
and in i386.md,
 
(define_expend "seq"
[(match_dup 1)
 (set (match_operand:QI 0 "register_operand" "")
        (eq:QI (cc0) (const_int 0)))]
......
 
What does "match_dup" means in the two patterns?


	

	
		
___________________________________________________________ 
ÑÅ»¢1GÃâ·ÑÓÊÏä°Ù·Ö°Ù·ÀÀ¬»øÐÅ 
http://cn.mail.yahoo.com/

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org



More information about the crossgcc mailing list