summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove EscapeFilter. It's funcionality can be covered by correctly using ↵Craig Topper2013-12-301-2/+15
| | | | | | ExtendedFilter and ExactFilter. No functional change. llvm-svn: 198226
* [x86] Rename In32BitMode predicate to Not64BitModeEric Christopher2013-12-201-2/+3
| | | | | | | | | | | That's what it actually means, and with 16-bit support it's going to be a little more relevant since in a few corner cases we may actually want to distinguish between 16-bit and 32-bit mode (for example the bare 'push' aliases to pushw/pushl etc.) Patch by David Woodhouse llvm-svn: 197768
* AVX-512: Added legal type MVT::i1 and VK1 register for it.Elena Demikhovsky2013-12-161-0/+7
| | | | | | | | | Added scalar compare VCMPSS, VCMPSD. Implemented LowerSELECT for scalar FP operations. I replaced FSETCCss, FSETCCsd with one node type FSETCCs. Node extract_vector_elt(v16i1/v8i1, idx) returns an element of type i1. llvm-svn: 197384
* AVX-512: added VPCONFLICT instruction and intrinsics,Elena Demikhovsky2013-11-031-2/+5
| | | | | | added EVEX_KZ to tablegen llvm-svn: 193959
* Allow pinsrw/pinsrb/pextrb/pextrw/movmskps/movmskpd/pmovmskb/extractps ↵Craig Topper2013-10-141-0/+3
| | | | | | instructions to parse either GR32 or GR64 without resorting to duplicating instructions. llvm-svn: 192567
* Remove more filters from the disassembler. Mark some AVX512 instructions as ↵Craig Topper2013-10-121-5/+0
| | | | | | CodeGenOnly. llvm-svn: 192525
* Mark some more instructions as CodeGenOnly. Remove filters from the ↵Craig Topper2013-10-121-4/+0
| | | | | | disassembler. llvm-svn: 192522
* Remove another unnecessary filter from the disassembler.Craig Topper2013-10-111-3/+0
| | | | llvm-svn: 192425
* Fix so CRC32r64r8 isn't accidentally filtered from the disassembler tables.Craig Topper2013-10-101-1/+1
| | | | llvm-svn: 192339
* More x86 disassembler filtering cleanup.Craig Topper2013-10-091-4/+1
| | | | llvm-svn: 192279
* Remove some old filters from the x86 disassembler table builder.Craig Topper2013-10-091-6/+0
| | | | llvm-svn: 192275
* Remove unneeded MMX instruction definition by moving pattern to an ↵Craig Topper2013-10-081-1/+0
| | | | | | equivalent instruction definition and removing the filtering from the disassembler table building. llvm-svn: 192175
* Remove some instructions that existed to provide aliases to the assembler. ↵Craig Topper2013-10-081-3/+1
| | | | | | Can be done with InstAlias instead. Unfortunately, this was causing printer to use 'vmovq' or 'vmovd' based on what was parsed. To cleanup the inconsistencies convert all 'vmovd' with 64-bit registers to 'vmovq', but provide an alias so that 'vmovd' will still parse. llvm-svn: 192171
* Remove some instructions that seem to only exist to trick the filtering ↵Craig Topper2013-10-071-1/+2
| | | | | | checks in the disassembler table creation. Just fix up the filter to let the real instruction through instead. llvm-svn: 192090
* Add disassembler support for long encodings for INC/DEC in 32-bit mode.Craig Topper2013-10-071-1/+2
| | | | llvm-svn: 192086
* Add XOP disassembler support. Fixes PR13933.Craig Topper2013-10-031-2/+65
| | | | llvm-svn: 191874
* AVX-512: Added masked SHIFT commands, more encoding testsElena Demikhovsky2013-08-221-17/+23
| | | | llvm-svn: 189005
* Remove use of sprintf added to X86 disassembler tablegen code. Send message ↵Craig Topper2013-07-281-4/+2
| | | | | | with instruction name to errs() instead and use a generic message for the llvm_unreachable. Consistent with other places in this file. llvm-svn: 187333
* fixed compilation issueElena Demikhovsky2013-07-281-0/+1
| | | | llvm-svn: 187325
* Added encoding prefixes for KNL instructions (EVEX).Elena Demikhovsky2013-07-281-4/+156
| | | | | | | Added 512-bit operands printing. Added instruction formats for KNL instructions. llvm-svn: 187324
* Add support for encoding the HLE XACQUIRE and XRELEASE prefixes.Stefanus Du Toit2013-06-181-0/+6
| | | | | | | | For decoding, keep the current behavior of always decoding these as their REP versions. In the future, this could be improved to recognize the cases where these behave as XACQUIRE and XRELEASE and decode them as such. llvm-svn: 184207
* Add CLAC/STAC instruction encoding/decoding supportMichael Liao2013-04-111-17/+19
| | | | | | | As these two instructions in AVX extension are privileged instructions for special purpose, it's only expected to be used in inlined assembly. llvm-svn: 179266
* x86 -- add the XTEST instructionDave Zarzycki2013-03-251-8/+9
| | | | llvm-svn: 177888
* Fixes disassembler crashes on 2013 Haswell RTM instructions.Kevin Enderby2013-03-111-0/+11
| | | | | | rdar://13318048 llvm-svn: 176828
* Added 0x0D to 2-byte opcode extension table for prefetch* variantsKay Tiong Khoo2013-02-121-0/+1
| | | | | | | Fixed decode of existing 3dNow prefetchw instruction Intel is scheduled to add a compatible prefetchw (same encoding) to future CPUs llvm-svn: 174920
* Sort the #include lines for utils/...Chandler Carruth2012-12-041-3/+1
| | | | | | | I've tried to find main moudle headers where possible, but the TableGen stuff may warrant someone else looking at it. llvm-svn: 169251
* Add support of RTM from TSX extensionMichael Liao2012-11-081-8/+9
| | | | | | | | - Add RTM code generation support throught 3 X86 intrinsics: xbegin()/xend() to start/end a transaction region, and xabort() to abort a tranaction region llvm-svn: 167573
* Remove code for setting the VEX L-bit as a function of operand size from the ↵Craig Topper2012-09-191-15/+1
| | | | | | code emitters and the disassembler table builder. Fix a couple instructions that were still missing VEX_L. llvm-svn: 164204
* Add support for converting llvm.fma to fma4 instructions.Craig Topper2012-08-311-0/+2
| | | | llvm-svn: 162999
* Mark MOVZX32_NOREX as isCodeGenOnly and neverHasSideEffects. The ↵Craig Topper2012-07-301-2/+1
| | | | | | isCodeGenOnly change allows special detection of _NOREX instructions to be removed from tablegen disassembler code. llvm-svn: 160951
* Remove some unnecessary filter checks. They were already covered by ↵Craig Topper2012-07-301-12/+0
| | | | | | IsCodeGenOnly llvm-svn: 160950
* Remove check for sub class of X86Inst from filter function since caller ↵Craig Topper2012-07-301-6/+2
| | | | | | guaranteed it. Replace another sub class check with ShouldBeEmitted flag since it was factored in there already. llvm-svn: 160949
* Simplify code that filtered certain instructions in two different ways. No ↵Craig Topper2012-07-301-14/+1
| | | | | | functional change. llvm-svn: 160948
* Remove check for f256mem from has256BitOperands as nothing depended on it ↵Craig Topper2012-07-301-1/+1
| | | | | | and it isn't the only 256-bit memory type anyway. llvm-svn: 160946
* Remove trailing whitespace.Craig Topper2012-07-301-85/+85
| | | | llvm-svn: 160945
* Make l/q suffixes on AVX forms of scalar convert instructions consistent ↵Craig Topper2012-07-261-2/+1
| | | | | | with their non-AVX forms. llvm-svn: 160775
* Move around some enum elements so that lastMRM corrects gets assigned 56, whichRichard Trieu2012-07-181-2/+2
| | | | | | | is one more that MRM_DF which is 55. Previously, it held value 45, the same as MRM_D0. llvm-svn: 160465
* Make x86 asm parser to check for xmm vs ymm for index register in gather ↵Craig Topper2012-07-181-4/+8
| | | | | | instructions. Also fix Intel syntax for gather instructions to use 'DWORD PTR' or 'QWORD PTR' to match gas. llvm-svn: 160420
* Update GATHER instructions to support 2 read-write operands. Patch from ↵Craig Topper2012-07-121-13/+13
| | | | | | myself and Manman Ren. llvm-svn: 160110
* X86: add GATHER intrinsics (AVX2) in LLVMManman Ren2012-06-261-0/+4
| | | | | | | | | | | | 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
* Add intrinsics, code gen, assembler and disassembler support for the SSE4a ↵Benjamin Kramer2012-05-291-2/+6
| | | | | | | | | | | 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
* Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo.Craig Topper2012-04-031-0/+2
| | | | llvm-svn: 153935
* Fix the x86 disassembler to at least print the lock prefix if it is the firstKevin Enderby2012-03-091-3/+3
| | | | | | | prefix. Added a FIXME to remind us this still does not work when it is not the first prefix. llvm-svn: 152414
* X86 disassembler support for jcxz, jecxz, and jrcxz. Fixes PR11643. Patch by ↵Craig Topper2012-02-271-0/+5
| | | | | | Kay Tiong Khoo. llvm-svn: 151510
* Add vmfunc instruction to X86 assembler and disassembler.Craig Topper2012-02-191-8/+9
| | | | llvm-svn: 150899
* Add X86 assembler and disassembler support for AMD SVM instructions. ↵Craig Topper2012-02-181-1/+9
| | | | | | Original patch by Kay Tiong Khoo. Few tweaks by me for code density and to reduce replication. llvm-svn: 150873
* Add disassembler support for VPERMIL2PD and VPERMIL2PS.Craig Topper2011-12-301-5/+9
| | | | llvm-svn: 147368
* Add FMA4 instructions to disassembler.Craig Topper2011-12-301-0/+7
| | | | llvm-svn: 147367
* Remove some unnecessary filtering checks from X86 disassembler table build.Craig Topper2011-11-191-35/+8
| | | | llvm-svn: 144986
* More AVX2 instructions and their intrinsics.Craig Topper2011-11-061-3/+6
| | | | llvm-svn: 143895
OpenPOWER on IntegriCloud