Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								5da53436d5 
								
							 
						 
						
							
							
								
								Convert the uses of '|&' to use '2>&1 |' instead, which works on old  
							
							 
							
							... 
							
							
							
							versions of Bash. In addition, I can back out the change to the lit
built-in shell test runner to support this.
This should fix the majority of fallout on Darwin, but I suspect there
will be a few straggling issues.
llvm-svn: 159544 
							
						 
						
							2012-07-02 18:37:59 +00:00  
						
					 
				
					
						
							
							
								 
								Chandler Carruth
							
						 
						
							 
							
							
							
							
								
							
							
								a5a29f970e 
								
							 
						 
						
							
							
								
								Convert all tests using TCL-style quoting to use shell-style quoting.  
							
							 
							
							... 
							
							
							
							This was done through the aid of a terrible Perl creation. I will not
paste any of the horrors here. Suffice to say, it require multiple
staged rounds of replacements, state carried between, and a few
nested-construct-parsing hacks that I'm not proud of. It happens, by
luck, to be able to deal with all the TCL-quoting patterns in evidence
in the LLVM test suite.
If anyone is maintaining large out-of-tree test trees, feel free to poke
me and I'll send you the steps I used to convert things, as well as
answer any painful questions etc. IRC works best for this type of thing
I find.
Once converted, switch the LLVM lit config to use ShTests the same as
Clang. In addition to being able to delete large amounts of Python code
from 'lit', this will also simplify the entire test suite and some of
lit's architecture.
Finally, the test suite runs 33% faster on Linux now. ;]
For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s
llvm-svn: 159525 
							
						 
						
							2012-07-02 12:47:22 +00:00  
						
					 
				
					
						
							
							
								 
								Manman Ren
							
						 
						
							 
							
							
							
							
								
							
							
								98a5bf24a9 
								
							 
						 
						
							
							
								
								X86: add more GATHER intrinsics in LLVM  
							
							 
							
							... 
							
							
							
							Corrected type for index of llvm.x86.avx2.gather.d.pd.256
  from 256-bit to 128-bit.
Corrected types for src|dst|mask of llvm.x86.avx2.gather.q.ps.256
  from 256-bit to 128-bit.
Support the following intrinsics:
  llvm.x86.avx2.gather.d.q, llvm.x86.avx2.gather.q.q
  llvm.x86.avx2.gather.d.q.256, llvm.x86.avx2.gather.q.q.256
  llvm.x86.avx2.gather.d.d, llvm.x86.avx2.gather.q.d
  llvm.x86.avx2.gather.d.d.256, llvm.x86.avx2.gather.q.d.256
llvm-svn: 159402 
							
						 
						
							2012-06-29 00:54:20 +00:00  
						
					 
				
					
						
							
							
								 
								Manman Ren
							
						 
						
							 
							
							
							
							
								
							
							
								a09820414a 
								
							 
						 
						
							
							
								
								X86: add GATHER intrinsics (AVX2) in LLVM  
							
							 
							
							... 
							
							
							
							Support the following intrinsics:
llvm.x86.avx2.gather.d.pd, llvm.x86.avx2.gather.q.pd
llvm.x86.avx2.gather.d.pd.256, llvm.x86.avx2.gather.q.pd.256
llvm.x86.avx2.gather.d.ps, llvm.x86.avx2.gather.q.ps
llvm.x86.avx2.gather.d.ps.256, llvm.x86.avx2.gather.q.ps.256
Modified Disassembler to handle VSIB addressing mode.
llvm-svn: 159221 
							
						 
						
							2012-06-26 19:47:59 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								ef479ea854 
								
							 
						 
						
							
							
								
								Add intrinsics, code gen, assembler and disassembler support for the SSE4a extrq and insertq instructions.  
							
							 
							
							... 
							
							
							
							This required light surgery on the assembler and disassembler
because the instructions use an uncommon encoding. They are
the only two instructions in x86 that use register operands
and two immediates.
llvm-svn: 157634 
							
						 
						
							2012-05-29 19:05:25 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								6cff5ad411 
								
							 
						 
						
							
							
								
								Missed some register numbers.  
							
							 
							
							... 
							
							
							
							llvm-svn: 155706 
							
						 
						
							2012-04-27 12:21:46 +00:00  
						
					 
				
					
						
							
							
								 
								Benjamin Kramer
							
						 
						
							 
							
							
							
							
								
							
							
								b1a17c425a 
								
							 
						 
						
							
							
								
								Update edis test for r155704.  
							
							 
							
							... 
							
							
							
							llvm-svn: 155705 
							
						 
						
							2012-04-27 12:14:03 +00:00  
						
					 
				
					
						
							
							
								 
								Richard Barton
							
						 
						
							 
							
							
							
							
								
							
							
								def81b9155 
								
							 
						 
						
							
							
								
								Add -disassemble support for -show-inst and -show-encode capability llvm-mc. Also refactor so all MC paraphernalia are created once for all uses as much as possible.  
							
							 
							
							... 
							
							
							
							The test change is to account for the fact that the default disassembler behaviour has changed with regards to specifying the assembly syntax to use.
llvm-svn: 154809 
							
						 
						
							2012-04-16 11:32:10 +00:00  
						
					 
				
					
						
							
							
								 
								Charles Davis
							
						 
						
							 
							
							
							
							
								
							
							
								74c282b5ef 
								
							 
						 
						
							
							
								
								Add retw and lretw instructions. Also, fix Intel syntax parsing for all  
							
							 
							
							... 
							
							
							
							ret instructions.
llvm-svn: 154468 
							
						 
						
							2012-04-11 01:10:53 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								4eb9616b24 
								
							 
						 
						
							
							
								
								Add the tests that were supposed to go with r153935 that I forgot svn add  
							
							 
							
							... 
							
							
							
							llvm-svn: 154165 
							
						 
						
							2012-04-06 07:09:59 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								7629d63bc4 
								
							 
						 
						
							
							
								
								Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 153935 
							
						 
						
							2012-04-03 05:20:24 +00:00  
						
					 
				
					
						
							
							
								 
								Eli Bendersky
							
						 
						
							 
							
							
							
							
								
							
							
								f33086052d 
								
							 
						 
						
							
							
								
								Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu  
							
							 
							
							... 
							
							
							
							* Removed test/lib/llvm.exp - it is no longer needed 
* Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files
  left in the test suite so this code is no longer required. test/lit.cfg is
  now much shorter and clearer 
* Removed a lot of duplicate code in lit.local.cfg files that need access to
  the root configuration, by adding a "root" attribute to the TestingConfig
  object. This attribute is dynamically computed to provide the same
  information as was previously provided by the custom getRoot functions. 
* Documented the config.root attribute in docs/CommandGuide/lit.pod
llvm-svn: 153408 
							
						 
						
							2012-03-25 09:02:19 +00:00  
						
					 
				
					
						
							
							
								 
								Kevin Enderby
							
						 
						
							 
							
							
							
							
								
							
							
								987cef1fe2 
								
							 
						 
						
							
							
								
								Change the second line of the test added for r152414 to use CHECK-NEXT.  
							
							 
							
							... 
							
							
							
							Suggestion by Bill Wendling!
llvm-svn: 152582 
							
						 
						
							2012-03-12 21:38:09 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								ebb10df441 
								
							 
						 
						
							
							
								
								Fix disasm of iret, sysexit, and sysret when displayed with Intel syntax.  
							
							 
							
							... 
							
							
							
							Patch by Kay Tiong Khoo!
llvm-svn: 152487 
							
						 
						
							2012-03-10 07:37:27 +00:00  
						
					 
				
					
						
							
							
								 
								Kevin Enderby
							
						 
						
							 
							
							
							
							
								
							
							
								014e1cde5f 
								
							 
						 
						
							
							
								
								Fix the x86 disassembler to at least print the lock prefix if it is the first  
							
							 
							
							... 
							
							
							
							prefix.  Added a FIXME to remind us this still does not work when it is not the
first prefix.
llvm-svn: 152414 
							
						 
						
							2012-03-09 17:52:49 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								6491c8020e 
								
							 
						 
						
							
							
								
								X86 disassembler support for jcxz, jecxz, and jrcxz. Fixes PR11643. Patch by Kay Tiong Khoo.  
							
							 
							
							... 
							
							
							
							llvm-svn: 151510 
							
						 
						
							2012-02-27 01:54:29 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								66a3597a4a 
								
							 
						 
						
							
							
								
								Add vmfunc instruction to X86 assembler and disassembler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 150899 
							
						 
						
							2012-02-19 01:39:49 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								ed7aa46366 
								
							 
						 
						
							
							
								
								Add X86 assembler and disassembler support for AMD SVM instructions. Original patch by Kay Tiong Khoo. Few tweaks by me for code density and to reduce replication.  
							
							 
							
							... 
							
							
							
							llvm-svn: 150873 
							
						 
						
							2012-02-18 08:19:49 +00:00  
						
					 
				
					
						
							
							
								 
								Eli Bendersky
							
						 
						
							 
							
							
							
							
								
							
							
								924f9a671d 
								
							 
						 
						
							
							
								
								Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed.  
							
							 
							
							... 
							
							
							
							Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.
llvm-svn: 150664 
							
						 
						
							2012-02-16 06:28:33 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								2ba766ae84 
								
							 
						 
						
							
							
								
								Add disassembler support for VPERMIL2PD and VPERMIL2PS.  
							
							 
							
							... 
							
							
							
							llvm-svn: 147368 
							
						 
						
							2011-12-30 06:23:39 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								03a0beda88 
								
							 
						 
						
							
							
								
								Add FMA4 instructions to disassembler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 147367 
							
						 
						
							2011-12-30 05:20:36 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								d773607eee 
								
							 
						 
						
							
							
								
								Fix execution domains for PS/PD FMA3 instructions. Add SS/SD forms o FMA3 instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 147353 
							
						 
						
							2011-12-29 20:43:40 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								8cab06a214 
								
							 
						 
						
							
							
								
								Expose FMA3 instructions to the disassembler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 147351 
							
						 
						
							2011-12-29 20:03:14 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								b05d9e9bea 
								
							 
						 
						
							
							
								
								Add X86 SARX, SHRX, and SHLX instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142779 
							
						 
						
							2011-10-23 22:18:24 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								980d59832a 
								
							 
						 
						
							
							
								
								Add X86 RORX instruction  
							
							 
							
							... 
							
							
							
							llvm-svn: 142741 
							
						 
						
							2011-10-23 07:34:00 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								e94d277db8 
								
							 
						 
						
							
							
								
								Add X86 MULX instruction for disassembler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142738 
							
						 
						
							2011-10-23 00:33:32 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								ef309c3384 
								
							 
						 
						
							
							
								
								Rename PEXTR to PEXT. Add intrinsics for BMI instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142480 
							
						 
						
							2011-10-19 07:48:35 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								96fa597828 
								
							 
						 
						
							
							
								
								Add X86 PEXTR and PDEP instructions.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142141 
							
						 
						
							2011-10-16 16:50:08 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								aea148c366 
								
							 
						 
						
							
							
								
								Add X86 BZHI instruction as well as BMI2 feature detection.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142122 
							
						 
						
							2011-10-16 07:55:05 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								0ae8d4d738 
								
							 
						 
						
							
							
								
								Add X86 INVPCID instruction. Add 32/64-bit predicates to INVEPT, INVVPID, VMREAD, and VMWRITE to remove hack from X86RecognizableInstr.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142117 
							
						 
						
							2011-10-16 07:05:40 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								25ea4e5ad3 
								
							 
						 
						
							
							
								
								Add X86 BEXTR instruction. This instruction uses VEX.vvvv to encode Operand 3 instead of Operand 2 so needs special casing in the disassembler and code emitter. Ultimately, should pass this information from tablegen  
							
							 
							
							... 
							
							
							
							llvm-svn: 142105 
							
						 
						
							2011-10-16 03:51:13 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								27ad12539d 
								
							 
						 
						
							
							
								
								Add support for X86 blsr, blsmsk, and blsi instructions. Required extra work because these are the first VEX encoded instructions to use the reg field as an opcode extension.  
							
							 
							
							... 
							
							
							
							llvm-svn: 142082 
							
						 
						
							2011-10-15 20:46:47 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								965de2c197 
								
							 
						 
						
							
							
								
								Add X86 ANDN instruction. Including instruction selection.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141947 
							
						 
						
							2011-10-14 07:06:56 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								3657fe4b17 
								
							 
						 
						
							
							
								
								Add X86 TZCNT instruction and patterns to select it. Also added core-avx2 processor which is gcc's name for Haswell.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141939 
							
						 
						
							2011-10-14 03:21:46 +00:00  
						
					 
				
					
						
							
							
								 
								Bill Wendling
							
						 
						
							 
							
							
							
							
								
							
							
								063f55ffdd 
								
							 
						 
						
							
							
								
								Revert r141854 because it was causing failures:  
							
							 
							
							... 
							
							
							
							http://lab.llvm.org:8011/builders/llvm-x86_64-linux/builds/101 
--- Reverse-merging r141854 into '.':
U    test/MC/Disassembler/X86/x86-32.txt
U    test/MC/Disassembler/X86/simple-tests.txt
D    test/CodeGen/X86/bmi.ll
U    lib/Target/X86/X86InstrInfo.td
U    lib/Target/X86/X86ISelLowering.cpp
U    lib/Target/X86/X86.td
U    lib/Target/X86/X86Subtarget.h
llvm-svn: 141857 
							
						 
						
							2011-10-13 07:48:07 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								8cc9388073 
								
							 
						 
						
							
							
								
								Add X86 TZCNT instruction and patterns to select it. Also added core-avx2 processor which is gcc's name for Haswell.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141854 
							
						 
						
							2011-10-13 07:09:14 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								271064e873 
								
							 
						 
						
							
							
								
								Add X86 LZCNT instruction. Including instruction selection support.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141651 
							
						 
						
							2011-10-11 06:44:02 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								a697852386 
								
							 
						 
						
							
							
								
								Fix disassembling of popcntw. Also remove some code that says it accounts for 64BIT_REXW_XD not existing, but it does exist.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141642 
							
						 
						
							2011-10-11 04:34:23 +00:00  
						
					 
				
					
						
							
							
								 
								Jakob Stoklund Olesen
							
						 
						
							 
							
							
							
							
								
							
							
								b253f490c3 
								
							 
						 
						
							
							
								
								Insert dummy ED table entries for pseudo-instructions.  
							
							 
							
							... 
							
							
							
							The table is indexed by opcode, so simply removing pseudo-instructions
creates a wrong mapping from opcode to table entry.
Add a test case for xorps which has a very high opcode that exposes this
problem.
llvm-svn: 141562 
							
						 
						
							2011-10-10 18:30:16 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								fe9179fa4f 
								
							 
						 
						
							
							
								
								Add Ivy Bridge 16-bit floating point conversion instructions for the X86 disassembler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141505 
							
						 
						
							2011-10-09 07:31:39 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								d9cfddc5cd 
								
							 
						 
						
							
							
								
								Add X86 disassembler support for RDFSBASE, RDGSBASE, WRFSBASE, and WRGSBASE.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141358 
							
						 
						
							2011-10-07 07:02:24 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								bf136764ae 
								
							 
						 
						
							
							
								
								Add X86 disassembler support for XSAVE, XRSTOR, and XSAVEOPT.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141354 
							
						 
						
							2011-10-07 05:53:50 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								f18c896337 
								
							 
						 
						
							
							
								
								Add support in the disassembler for ignoring the L-bit on certain VEX instructions. Mark instructions that have this behavior. Fixes PR10676.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141065 
							
						 
						
							2011-10-04 06:30:42 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								786bdb9e14 
								
							 
						 
						
							
							
								
								Add support for MOVBE and RDRAND instructions for the assembler and disassembler. Includes feature flag checking, but no instrinsic support. Fixes PR10832, PR11026 and PR11027.  
							
							 
							
							... 
							
							
							
							llvm-svn: 141007 
							
						 
						
							2011-10-03 17:28:23 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								0d0be47d03 
								
							 
						 
						
							
							
								
								Treat VEX.vvvv as a 3-bit field outside of 64-bit mode. Prevents access to registers xmm8-xmm15 outside 64-bit mode.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140997 
							
						 
						
							2011-10-03 08:14:29 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								285bc34089 
								
							 
						 
						
							
							
								
								Test updates that were supposed to go with r140993.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140994 
							
						 
						
							2011-10-03 07:53:59 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								7aea69d949 
								
							 
						 
						
							
							
								
								Fix some Intel syntax disassembly issues with instructions that implicitly use AL/AX/EAX/RAX such as ADD/SUB/ADC/SUBB/XOR/OR/AND/CMP/MOV/TEST.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140974 
							
						 
						
							2011-10-02 21:08:12 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								21c33657d6 
								
							 
						 
						
							
							
								
								Special case disassembler handling of REX.B prefix on NOP instruction to decode as XCHG R8D, EAX instead. Fixes PR10344.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140971 
							
						 
						
							2011-10-02 16:56:09 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								d07a59f288 
								
							 
						 
						
							
							
								
								Fix disassembling of INVEPT and INVVPID to take operands  
							
							 
							
							... 
							
							
							
							llvm-svn: 140955 
							
						 
						
							2011-10-01 21:20:14 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								88cb33e0d4 
								
							 
						 
						
							
							
								
								Fix disassembler handling of CRC32 which is an odd instruction that uses 0xf2 as an opcode extension and allows the opsize prefix. This necessitated adding IC_XD_OPSIZE and IC_64BIT_XD_OPSIZE contexts. Unfortunately, this increases the size of the disassembler tables. Fixes PR10702.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140954 
							
						 
						
							2011-10-01 19:54:56 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								45faba98b4 
								
							 
						 
						
							
							
								
								Fix VEX decoding in i386 mode. Fixes PR11008.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140515 
							
						 
						
							2011-09-26 05:12:43 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								526adabe87 
								
							 
						 
						
							
							
								
								Don't allow 32-bit only instructions to be disassembled in 64-bit mode. Fixes part of PR10700.  
							
							 
							
							... 
							
							
							
							llvm-svn: 140370 
							
						 
						
							2011-09-23 06:57:25 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								6d1872b77a 
								
							 
						 
						
							
							
								
								Fix register printing in disassembling of push/pop of segment registers and in/out in Intel syntax mode. Fixes PR10960  
							
							 
							
							... 
							
							
							
							llvm-svn: 140299 
							
						 
						
							2011-09-22 07:01:50 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								ee8157cb41 
								
							 
						 
						
							
							
								
								Fix mem type for VEX.128 form of VROUNDP*. Remove filter preventing VROUND from being recognized by disassembler.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139691 
							
						 
						
							2011-09-14 06:41:26 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								96e00e5a24 
								
							 
						 
						
							
							
								
								Make disassembling of VBLEND* print immediate as a XMM/YMM register name. Fixes PR10917.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139690 
							
						 
						
							2011-09-14 05:55:28 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								503eef7641 
								
							 
						 
						
							
							
								
								Add test case for PR10851.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139689 
							
						 
						
							2011-09-14 04:36:54 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								e98d8a5c84 
								
							 
						 
						
							
							
								
								Remove filter that was preventing MOVDQU/MOVDQA and their VEX forms from being disassembled. Also added encodings for the other register/register form of these instructions. Fixes PR10848.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139588 
							
						 
						
							2011-09-13 06:54:58 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								48f2b36911 
								
							 
						 
						
							
							
								
								Fix disassembling of one of the register/register forms of MOVUPS/MOVUPD/MOVAPS/MOVAPD/MOVSS/MOVSD and their VEX equivalents. Fixes PR10877.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139486 
							
						 
						
							2011-09-11 23:19:54 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								a88e356017 
								
							 
						 
						
							
							
								
								Fix disassembling of reverse register/register forms of ADD/SUB/XOR/OR/AND/SBB/ADC/CMP/MOV.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139485 
							
						 
						
							2011-09-11 21:41:45 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								a948cb9058 
								
							 
						 
						
							
							
								
								Fix disassembling of PAUSE instruction. Fixes PR10900. Also fixed NOP disassembling to ignore OpSize and REX.W.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139484 
							
						 
						
							2011-09-11 20:23:20 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								e812f9eed5 
								
							 
						 
						
							
							
								
								Add disassembler test for Intel syntax. Tests r139353.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139356 
							
						 
						
							2011-09-09 06:35:44 +00:00  
						
					 
				
					
						
							
							
								 
								Kevin Enderby
							
						 
						
							 
							
							
							
							
								
							
							
								5b03f72292 
								
							 
						 
						
							
							
								
								Change X86 disassembly to print immediates values as signed by default.  Special  
							
							 
							
							... 
							
							
							
							case those instructions that the immediate is not sign-extend.  radr://8795217
llvm-svn: 139028 
							
						 
						
							2011-09-02 20:01:23 +00:00  
						
					 
				
					
						
							
							
								 
								Kevin Enderby
							
						 
						
							 
							
							
							
							
								
							
							
								54e09b4799 
								
							 
						 
						
							
							
								
								Fix the disassembly of the X86 "crc32w %ax, %eax" instruction. Bug 10702.  
							
							 
							
							... 
							
							
							
							llvm-svn: 139014 
							
						 
						
							2011-09-02 18:03:03 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								94ce535647 
								
							 
						 
						
							
							
								
								Make IC_VEX* not inherit from IC_*. Prevents instructions with no VEX form from disassembling to their non-VEX form. Also prevents weak filter collisons that were keeping valid VEX instructions from decoding properly. Make VEX_L* not inherit from VEX_* because the VEX.L bit always important. This stops packed int VEX encodings from being disassembled when specified with VEX.L=1. Fixes PR10831 and PR10806.  
							
							 
							
							... 
							
							
							
							llvm-svn: 138997 
							
						 
						
							2011-09-02 04:17:54 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								4f2fba1108 
								
							 
						 
						
							
							
								
								Add vvvv support to disassembling of instructions with MRMDestMem and MRMDestReg form. Needed to support mem dest form of vmaskmovps/d. Fixes PR10807.  
							
							 
							
							... 
							
							
							
							llvm-svn: 138795 
							
						 
						
							2011-08-30 07:09:35 +00:00  
						
					 
				
					
						
							
							
								 
								Kevin Enderby
							
						 
						
							 
							
							
							
							
								
							
							
								7e2489a7c9 
								
							 
						 
						
							
							
								
								Fix the disassembly of the X86 crc32 instruction.  Bug 10702 and rdar://8795217  
							
							 
							
							... 
							
							
							
							llvm-svn: 138771 
							
						 
						
							2011-08-29 22:06:28 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								c66d50d1a2 
								
							 
						 
						
							
							
								
								Fix disassembling of VCVTSD2SI  
							
							 
							
							... 
							
							
							
							llvm-svn: 138623 
							
						 
						
							2011-08-26 04:49:29 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								76e3e0b554 
								
							 
						 
						
							
							
								
								Give ATTR_VEX higher priority when generating the disassembler context table. Fixes disassembling of VEX instructions with 'pp'=00. Fixes subset of PR10678.  
							
							 
							
							... 
							
							
							
							llvm-svn: 138552 
							
						 
						
							2011-08-25 07:42:00 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								e1541838f9 
								
							 
						 
						
							
							
								
								Add TB encoding to VEROALL, VZEROUPPER, and VCVTPS2PD to allow them to be disassembled. Fixes PR10723.  
							
							 
							
							... 
							
							
							
							llvm-svn: 138551 
							
						 
						
							2011-08-25 06:57:46 +00:00  
						
					 
				
					
						
							
							
								 
								Craig Topper
							
						 
						
							 
							
							
							
							
								
							
							
								ba6c2a52c7 
								
							 
						 
						
							
							
								
								Add TB encoding to VEX versions of SSE fp logical operations to fix disassembler  
							
							 
							
							... 
							
							
							
							llvm-svn: 138034 
							
						 
						
							2011-08-19 05:28:50 +00:00  
						
					 
				
					
						
							
							
								 
								Eli Friedman
							
						 
						
							 
							
							
							
							
								
							
							
								0318036c4d 
								
							 
						 
						
							
							
								
								Make the disassembler able to disassemble a bunch of instructions with names in the TableGen files containing "64" on x86-32.  This includes a bunch of x87 instructions, like fld, and a bunch of SSSE3 instructions on MMX registers like pshufb.  Part of PR8873.  
							
							 
							
							... 
							
							
							
							llvm-svn: 135337 
							
						 
						
							2011-07-16 02:41:28 +00:00  
						
					 
				
					
						
							
							
								 
								Sean Callanan
							
						 
						
							 
							
							
							
							
								
							
							
								f2f4837de3 
								
							 
						 
						
							
							
								
								Basic sanity checks to ensure that 2- and 3-byte  
							
							 
							
							... 
							
							
							
							VEX prefixes are working for triadic AVX
instructions.  This concludes the patch set to
enable AVX support for the X86 disassebler.
llvm-svn: 127647 
							
						 
						
							2011-03-15 01:32:46 +00:00  
						
					 
				
					
						
							
							
								 
								Sean Callanan
							
						 
						
							 
							
							
							
							
								
							
							
								34770edf43 
								
							 
						 
						
							
							
								
								Fixed a bug in the enhanced disassembler that caused  
							
							 
							
							... 
							
							
							
							it to ignore valid uses of FS and GS as additional
base registers in address computations.  Added a test
case for this.
llvm-svn: 126302 
							
						 
						
							2011-02-23 03:31:28 +00:00  
						
					 
				
					
						
							
							
								 
								Sean Callanan
							
						 
						
							 
							
							
							
							
								
							
							
								c1b7775e0f 
								
							 
						 
						
							
							
								
								Added a testcase for the enhanced disassembly bug  
							
							 
							
							... 
							
							
							
							fixed in r126147, where a field in the X86 decode
structure was being read as bits, not bytes.
llvm-svn: 126182 
							
						 
						
							2011-02-22 02:19:18 +00:00  
						
					 
				
					
						
							
							
								 
								Rafael Espindola
							
						 
						
							 
							
							
							
							
								
							
							
								9f9a10691a 
								
							 
						 
						
							
							
								
								Correctly disassemble truncated asm.  
							
							 
							
							... 
							
							
							
							Patch by Richard Simth.
llvm-svn: 122962 
							
						 
						
							2011-01-06 16:48:42 +00:00  
						
					 
				
					
						
							
							
								 
								Dale Johannesen
							
						 
						
							 
							
							
							
							
								
							
							
								2cd8b08207 
								
							 
						 
						
							
							
								
								Segregate tests by target.  
							
							 
							
							... 
							
							
							
							llvm-svn: 119050 
							
						 
						
							2010-11-14 18:14:32 +00:00