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: [PATCH, MIPS] Add seq Octeon instruction


Adam Nemet wrote:
>> (define_insn "*seq_<GPR:mode><GPR2:mode>_seq"
>>   [(set (match_operand:GPR2 0 "register_operand" "=d,d,d")
>> 	(eq:GPR2 (match_operand:GPR 1 "register_operand" "%d,d,d")
>> 		 (match_operand:GPR 2 "reg_imm10_operand" "d,J,YB")))]
>>   "ISA_HAS_SEQ_SNE"
>>   "@
>>     seq\t%0,%1,%2
>>     sltiu\t%0,%1,1
>>     seqi\t%0,%1,%2"
> 
> Did you intentionally separate the d and YB constraints into different
> alternatives (I guess for better documentation) as opposed to just using
> seq for both?   (gas can figure out which one to use just like for slt.)

Never mind, I understand now :).

Adam


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