This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

I don't understand the use of 'match_dup'


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


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