72a7f9c1f5 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement EXTP, EXTPDP, EXTPDPV, EXTPV, EXTR[_RS].W, EXTR_S.H, EXTRV[_RS].W and EXTRV_S.H instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D14174 
llvm-svn: 253332 
							
						 
						
							2015-11-17 12:54:15 +00:00  
				
					
						
							
							
								 
						
							
								246b21f66a 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement SUBQ[_S].PH, SUBQ_S.W, SUBQH[_R].PH, SUBQH[_R].W, SUBU[_S].PH, SUBU[_S].QB and SUBUH[_R].QB instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D14114 
llvm-svn: 253329 
							
						 
						
							2015-11-17 10:11:22 +00:00  
				
					
						
							
							
								 
						
							
								3e0588d033 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement PRECEQ.W.PHL, PRECEQ.W.PHR, PRECEQU.PH.QBL, PRECEQU.PH.QBLA, PRECEQU.PH.QBR, PRECEQU.PH.QBRA, PRECEU.PH.QBL, PRECEU.PH.QBLA, PRECEU.PH.QBR and PRECEU.PH.QBRA instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D14279 
llvm-svn: 253326 
							
						 
						
							2015-11-17 09:43:29 +00:00  
				
					
						
							
							
								 
						
							
								d1dea944b1 
								
							 
						 
						
							
							
								
								Added microMIPSDSPr1 assembler and disassembler tests to existing microMIPSDSPr2 test files.  
							
							... 
							
							
							
							llvm-svn: 253320 
							
						 
						
							2015-11-17 07:58:27 +00:00  
				
					
						
							
							
								 
						
							
								32fb5c40d2 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement SHRA[_R].PH, SHRAV[_R].PH, SHRAV[_R].QB, SHRAV_R.W, SHRA_R.W, SHRL.PH, SHRL.QB, SHRLV.PH and SHRLV.QB instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D14010 
llvm-svn: 253041 
							
						 
						
							2015-11-13 13:14:25 +00:00  
				
					
						
							
							
								 
						
							
								797c2aec6b 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement LWM16, SB16, SH16, SW16, SWSP and SWM16 instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11406 
llvm-svn: 252885 
							
						 
						
							2015-11-12 13:21:33 +00:00  
				
					
						
							
							
								 
						
							
								ea4f653d18 
								
							 
						 
						
							
							
								
								[mips][ias] Range check uimm2 operands and fix a bug this revealed.  
							
							... 
							
							
							
							Summary:
The bug was that the MIPS32R6/MIPS64R6/microMIPS32R6 versions of LSA and DLSA
(unlike the MSA version) failed to account for the off-by-one encoding of the
immediate. The range is actually 1..4 rather than 0..3.
Reviewers: vkalintiris
Subscribers: atanasyan, dsanders, llvm-commits
Differential Revision: http://reviews.llvm.org/D14015 
llvm-svn: 252295 
							
						 
						
							2015-11-06 12:22:31 +00:00  
				
					
						
							
							
								 
						
							
								18148671ee 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement PAUSE, RDHWR, RDPGPR, SDBBP, SSNOP, SYNC, SYNCI and WAIT instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D12628 
llvm-svn: 251510 
							
						 
						
							2015-10-28 11:04:29 +00:00  
				
					
						
							
							
								 
						
							
								2cf61020b8 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement SHLL.PH, SHLL_S.PH, SHLL.QB, SHLLV.PH, SHLLV_S.PH, SHLLV.QB, SHLLV_S.W, SHLL_S.W, SHRA.QB and SHRA_R.QB instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D13929 
llvm-svn: 251098 
							
						 
						
							2015-10-23 06:39:29 +00:00  
				
					
						
							
							
								 
						
							
								0f596814e9 
								
							 
						 
						
							
							
								
								[mips][msa] Remove copy_u.d and move copy_u.w to MSA64.  
							
							... 
							
							
							
							Summary:
The forwards compatibility strategy employed by MIPS is to consider registers
to be infinitely sign-extended. Then on ISA's with a wider register, the result
of existing instructions are sign-extended to register width and zero-extended
counterparts are added. copy_u.w on MSA32 and copy_u.w on MSA64 violate this
strategy and we have therefore corrected the MSA specs to fix this.
We still keep track of sign/zero-extension during legalization but we now
match copy_s.[wd] where required.
No change required to clang since __builtin_msa_copy_u_[wd] will map to
copy_s.[wd] where appropriate for the target.
Reviewers: vkalintiris
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D13472 
llvm-svn: 250887 
							
						 
						
							2015-10-21 09:58:54 +00:00  
				
					
						
							
							
								 
						
							
								5292083584 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement ADDQ.PH, ADDQ_S.W, ADDQH.PH, ADDQH.W, ADDSC, ADDU.PH, ADDU_S.QB, ADDWC and ADDUH.QB instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D13130 
llvm-svn: 250685 
							
						 
						
							2015-10-19 07:16:26 +00:00  
				
					
						
							
							
								 
						
							
								d0a7d6e4ee 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement ABSQ.QB, ABSQ_S.PH, ABSQ_S.W, ABSQ_S.QB, INSV, MADD, MADDU, MSUB, MSUBU, MULT and MULTU instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D13721 
llvm-svn: 250683 
							
						 
						
							2015-10-19 06:34:44 +00:00  
				
					
						
							
							
								 
						
							
								4c4f21b971 
								
							 
						 
						
							
							
								
								Commited two test files which are forgotten during commit of patch for  http://reviews.llvm.org/D13376  
							
							... 
							
							
							
							llvm-svn: 250512 
							
						 
						
							2015-10-16 13:03:10 +00:00  
				
					
						
							
							
								 
						
							
								3c88fbd367 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement LB, LBE, LBU and LBUE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11633 
llvm-svn: 250511 
							
						 
						
							2015-10-16 12:24:58 +00:00  
				
					
						
							
							
								 
						
							
								54b1eb4c73 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement DPA.W.PH, DPAQ_S.W.PH, DPAQ_SA.L.W, DPAQX_S.W.PH, DPAQX_SA.W.PH, DPAU.H.QBL, DPAU.H.QBR and DPAX.W.PH instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D13376 
llvm-svn: 250382 
							
						 
						
							2015-10-15 08:59:45 +00:00  
				
					
						
							
							
								 
						
							
								3a3c4b8a39 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement BREAK16, LI16, MOVE16, SDBBP16, SUBU16 and XOR16 instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11292#inline-103143 
llvm-svn: 250381 
							
						 
						
							2015-10-15 08:39:07 +00:00  
				
					
						
							
							
								 
						
							
								3ef4dd7bc8 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement LLE and SCE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11630 
llvm-svn: 250379 
							
						 
						
							2015-10-15 08:11:50 +00:00  
				
					
						
							
							
								 
						
							
								a766eff5a0 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement LWLE, LWRE, SWLE and SWRE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11631 
llvm-svn: 250377 
							
						 
						
							2015-10-15 07:23:06 +00:00  
				
					
						
							
							
								 
						
							
								2e386d3d07 
								
							 
						 
						
							
							
								
								[mips][micromips] Initial support for micrmomips DSP instructions and addu.qb implementation  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D12798 
llvm-svn: 250058 
							
						 
						
							2015-10-12 16:07:25 +00:00  
				
					
						
							
							
								 
						
							
								bb65d730bf 
								
							 
						 
						
							
							
								
								[mips][disassembler] Changed CHECK-EB directives to CHECK so div/divu are tested.  
							
							... 
							
							
							
							llvm-svn: 249386 
							
						 
						
							2015-10-06 10:08:14 +00:00  
				
					
						
							
							
								 
						
							
								d245267be0 
								
							 
						 
						
							
							
								
								[mips][disassembler] Merged disassembler tests into the corresponding ISA/ASE subdirectories.  
							
							... 
							
							
							
							llvm-svn: 249384 
							
						 
						
							2015-10-06 10:02:35 +00:00  
				
					
						
							
							
								 
						
							
								31bfdb5a82 
								
							 
						 
						
							
							
								
								[mips][disassembler] Moved DSP tests into proper place and corrected formatting.  
							
							... 
							
							
							
							llvm-svn: 249383 
							
						 
						
							2015-10-06 09:28:48 +00:00  
				
					
						
							
							
								 
						
							
								5a8dffc618 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement JALRC16, JRCADDIUSP and JRC16 instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11219 
llvm-svn: 249317 
							
						 
						
							2015-10-05 14:00:09 +00:00  
				
					
						
							
							
								 
						
							
								2960f3a346 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement CACHEE, WRPGPR and WSBH instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D10337 
llvm-svn: 249004 
							
						 
						
							2015-10-01 12:49:27 +00:00  
				
					
						
							
							
								 
						
							
								df19a5e605 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Fix an invalid read for lwm32 and reserved reglist values.  
							
							... 
							
							
							
							Summary:
Some values of 'reglist' are reserved and cause the disassembler to read past
the end of the Regs array. Treat lwm32's containing reserved values as invalid
instructions.
Reviewers: zoran.jovanovic
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12959 
llvm-svn: 247990 
							
						 
						
							2015-09-18 14:20:54 +00:00  
				
					
						
							
							
								 
						
							
								7ba636cb4c 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement TEQ, TGE, TGEU, TLT, TLTU and TNE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D9658 
llvm-svn: 247880 
							
						 
						
							2015-09-17 10:14:09 +00:00  
				
					
						
							
							
								 
						
							
								6e6a2c9cd7 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement PREFX, LHUE, LBE, LBUE, LHE, LWE, SBE, SHE and SWE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D9189 
llvm-svn: 247780 
							
						 
						
							2015-09-16 09:14:35 +00:00  
				
					
						
							
							
								 
						
							
								dc4b8c2761 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Fix an issue with disassembling lwm32 instruction  
							
							... 
							
							
							
							Fixed microMIPS disassembler crash on test case generated by llvm-mc-fuzzer.
Differential Revision: http://reviews.llvm.org/D12881 
llvm-svn: 247698 
							
						 
						
							2015-09-15 15:21:27 +00:00  
				
					
						
							
							
								 
						
							
								7beb737b46 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement CACHEE and PREFE instructions for microMIPS32r6  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11632 
llvm-svn: 247670 
							
						 
						
							2015-09-15 10:05:10 +00:00  
				
					
						
							
							
								 
						
							
								e4e83a7bc1 
								
							 
						 
						
							
							
								
								[mips] Added support for various EVA ASE instructions.  
							
							... 
							
							
							
							Summary:
Added support for the following instructions:
CACHEE, LBE, LBUE, LHE, LHUE, LWE, LLE, LWLE, LWRE, PREFE,
SBE, SHE, SWE, SCE, SWLE, SWRE, TLBINV, TLBINVF
This required adding some infrastructure for the EVA ASE.
Patch by Scott Egerton.
Reviewers: vkalintiris, dsanders
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11139 
llvm-svn: 247669 
							
						 
						
							2015-09-15 10:02:16 +00:00  
				
					
						
							
							
								 
						
							
								715f8f1332 
								
							 
						 
						
							
							
								
								[mips] Add missing disassembler tests for MIPS64-MIPS64R5.  
							
							... 
							
							
							
							llvm-svn: 247422 
							
						 
						
							2015-09-11 16:24:11 +00:00  
				
					
						
							
							
								 
						
							
								9676db005e 
								
							 
						 
						
							
							
								
								[mips] Add missing MIPS32 - MIPS32R5 disassembler tests.  
							
							... 
							
							
							
							llvm-svn: 247420 
							
						 
						
							2015-09-11 15:28:19 +00:00  
				
					
						
							
							
								 
						
							
								aba4daab10 
								
							 
						 
						
							
							
								
								[mips] Attempt to fix llvm-s390x-linux1  
							
							... 
							
							
							
							It doesn't seem to like the '|&' in the test command.
llvm-svn: 247418 
							
						 
						
							2015-09-11 14:57:54 +00:00  
				
					
						
							
							
								 
						
							
								9bbda77006 
								
							 
						 
						
							
							
								
								[mips] Add missing MIPS-IV disassembler tests.  
							
							... 
							
							
							
							llvm-svn: 247417 
							
						 
						
							2015-09-11 14:54:58 +00:00  
				
					
						
							
							
								 
						
							
								ff338fa355 
								
							 
						 
						
							
							
								
								[mips] Add missing MIPS-III disassembler tests.  
							
							... 
							
							
							
							llvm-svn: 247416 
							
						 
						
							2015-09-11 14:48:46 +00:00  
				
					
						
							
							
								 
						
							
								3b571d05f8 
								
							 
						 
						
							
							
								
								[mips] Add missing MIPS-II disassembler tests.  
							
							... 
							
							
							
							These tests were found by llvm-mc-fuzzer (see http://reviews.llvm.org/D12723 )
and were verified by checking the disassembler output is accepted by GAS.
llvm-svn: 247414 
							
						 
						
							2015-09-11 14:34:41 +00:00  
				
					
						
							
							
								 
						
							
								44c1d0c4f1 
								
							 
						 
						
							
							
								
								Re-commit r247405: [mips] Add missing MIPS-I disassembler tests.  
							
							... 
							
							
							
							These tests were found by llvm-mc-fuzzer (see http://reviews.llvm.org/D12723 )
and verified by checking the disassembler output is accepted by GAS.
The problematic tests from the previous commit have been moved to
valid-xfail.txt for now.
Also, give invalid instructions some coverage. invalid-xfail.txt contains
instructions that should be invalid but successfully disassemble.
llvm-svn: 247407 
							
						 
						
							2015-09-11 12:59:03 +00:00  
				
					
						
							
							
								 
						
							
								c6a2034d0f 
								
							 
						 
						
							
							
								
								Revert r247405: [mips] Add missing MIPS-I disassembler tests.  
							
							... 
							
							
							
							A small number of the added tests have operands that change on each round trip.
llvm-svn: 247406 
							
						 
						
							2015-09-11 12:42:38 +00:00  
				
					
						
							
							
								 
						
							
								f05bf32b38 
								
							 
						 
						
							
							
								
								[mips] Add missing MIPS-I disassembler tests.  
							
							... 
							
							
							
							These tests were found by llvm-mc-fuzzer (see http://reviews.llvm.org/D12723 )
and verified by checking the disassembler output is accepted by GAS.
llvm-svn: 247405 
							
						 
						
							2015-09-11 12:24:06 +00:00  
				
					
						
							
							
								 
						
							
								6b28f09d67 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement ADDU16, AND16, ANDI16, NOT16, OR16, SLL16 and SRL16 instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11178 
llvm-svn: 247146 
							
						 
						
							2015-09-09 13:55:45 +00:00  
				
					
						
							
							
								 
						
							
								d9790793d6 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement CACHEE and PREFE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11628 
llvm-svn: 247125 
							
						 
						
							2015-09-09 09:10:46 +00:00  
				
					
						
							
							
								 
						
							
								2da1437d62 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement LLE, LUI, LW and LWE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D1179 
llvm-svn: 247017 
							
						 
						
							2015-09-08 15:02:50 +00:00  
				
					
						
							
							
								 
						
							
								9eaa30d2bf 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement SB, SBE, SCE, SH and SHE instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11801 
llvm-svn: 246999 
							
						 
						
							2015-09-08 10:18:38 +00:00  
				
					
						
							
							
								 
						
							
								68be5f21a9 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Add microMIPS32r6 and microMIPS64r6 tests for existing 16-bit LBU16, LHU16, LW16, LWGP and LWSP instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D10956 
llvm-svn: 246987 
							
						 
						
							2015-09-08 08:25:34 +00:00  
				
					
						
							
							
								 
						
							
								7b85682541 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement ABS.fmt, CEIL.L.fmt, CEIL.W.fmt, FLOOR.L.fmt, FLOOR.W.fmt, TRUNC.L.fmt, TRUNC.W.fmt, RSQRT.fmt and SQRT.fmt instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11674 
llvm-svn: 246968 
							
						 
						
							2015-09-07 13:01:04 +00:00  
				
					
						
							
							
								 
						
							
								ada7091812 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement BC16, BEQZC16 and BNEZC16 instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11181 
llvm-svn: 246963 
							
						 
						
							2015-09-07 11:56:37 +00:00  
				
					
						
							
							
								 
						
							
								14f308e44f 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, MAX.fmt, MIN.fmt, MAXA.fmt, MINA.fmt and CMP.condn.fmt instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D12141 
llvm-svn: 246960 
							
						 
						
							2015-09-07 10:31:31 +00:00  
				
					
						
							
							
								 
						
							
								89ca2b982e 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement ADD.fmt, SUB.fmt, MOV.fmt, MUL.fmt, DIV.fmt, MADDF.fmt, MSUBF.fmt and NEG.fmt instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D11978 
llvm-svn: 246919 
							
						 
						
							2015-09-05 09:25:30 +00:00  
				
					
						
							
							
								 
						
							
								56585d517b 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Add microMIPS32r6 and microMIPS64r6 tests for existing 16-bit ADDIUR1SP, ADDIUR2, ADDIUS5 and ADDIUSP instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D10955 
llvm-svn: 245554 
							
						 
						
							2015-08-20 11:51:49 +00:00  
				
					
						
							
							
								 
						
							
								2fe8466f6e 
								
							 
						 
						
							
							
								
								[mips][microMIPS] Implement DDIV, DMOD, DDIVU and DMODU instructions  
							
							... 
							
							
							
							Differential Revision: http://reviews.llvm.org/D10953 
llvm-svn: 245297 
							
						 
						
							2015-08-18 14:40:43 +00:00