summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Disassembler
Commit message (Collapse)AuthorAgeFilesLines
...
* This patch adds support for microMIPS disassembler and disassembler make ↵Vladimir Medic2013-09-061-8/+79
| | | | | | check tests. llvm-svn: 190144
* [mips] Use ptr_rc to simplify definitions of base+index load/store instructions.Akira Hatanaka2013-08-281-1/+20
| | | | | | Also, fix predicates. llvm-svn: 189432
* [mips] Define register class FGRH32 for the high half of the 64-bit floatingAkira Hatanaka2013-08-201-0/+17
| | | | | | | | point registers. We will need this register class later when we add definitions for instructions mfhc1 and mthc1. Also, remove sub-register indices sub_fpeven and sub_fpodd and use sub_lo and sub_hi instead. llvm-svn: 188842
* [mips] Rename DSPRegs.Akira Hatanaka2013-08-141-8/+8
| | | | llvm-svn: 188342
* [mips] Rename HIRegs and LORegs.Akira Hatanaka2013-08-141-18/+18
| | | | llvm-svn: 188341
* [mips] Rename accumulator register classes and FP register operands.Akira Hatanaka2013-08-081-9/+9
| | | | llvm-svn: 188020
* Remove unused functions introduced in r172685 to unbreak the Clang -Werror buildDavid Blaikie2013-08-071-16/+0
| | | | llvm-svn: 187838
* [mips] Rename register classes CPURegs and CPU64Regs.Akira Hatanaka2013-08-061-22/+22
| | | | llvm-svn: 187832
* Stop leaking register infos in the disassemblers.Benjamin Kramer2013-08-031-2/+2
| | | | llvm-svn: 187695
* [mips] Fix FP branch instructions to have explicit FP condition code registerAkira Hatanaka2013-07-261-16/+16
| | | | | | operands. llvm-svn: 187238
* Fixing a buildbot failure:unused function.Vladimir Medic2013-07-161-14/+0
| | | | llvm-svn: 186403
* [Mips Disassembler] Have the DecodeCCRRegisterClass function use the getRegChad Rosier2013-06-261-1/+4
| | | | | | | function to lookup the proper tablegen'ed register enumeration. Previously, it was using the encoded value directly. llvm-svn: 185026
* Remove the Copied parameter from MemoryObject::readBytes.Benjamin Kramer2013-05-241-1/+1
| | | | | | | | | | There was exactly one caller using this API right, the others were relying on specific behavior of the default implementation. Since it's too hard to use it right just remove it and standardize on the default behavior. Defines away PR16132. llvm-svn: 182636
* [mips] DSP-ASE move from HI/LO register instructions.Akira Hatanaka2013-04-181-0/+34
| | | | llvm-svn: 179739
* [mips] Fix DSP instructions to have explicit accumulator register operands.Akira Hatanaka2013-03-301-9/+9
| | | | | | | Check that instruction selection can select multiply-add/sub DSP instructions from a pattern that doesn't have intrinsics. llvm-svn: 178406
* Remove the form field from Mips16 instruction formats and set thingsReed Kotler2013-02-141-0/+14
| | | | | | | | | up so that we can apply the direct object emitter patch. This patch should be a nop right now and it's test is to not break what is already there. llvm-svn: 175126
* This is a resubmittal. For some reason it broke the bots yesterdayJack Carter2013-01-192-2/+2
| | | | | | | | | | | but I cannot reproduce the problem and have scrubed my sources and even tested with llvm-lit -v --vg. Formatting fixes. Mostly long lines and blank spaces at end of lines. Contributer: Jack Carter llvm-svn: 172882
* This is a resubmittal. For some reason it broke the bots yesterdayJack Carter2013-01-171-0/+16
| | | | | | | | | | | | | but I cannot reproduce the problem and have scrubed my sources and even tested with llvm-lit -v --vg. The Mips RDHWR (Read Hardware Register) instruction was not tested for assembler or dissassembler consumption. This patch adds that functionality. Contributer: Vladimir Medic llvm-svn: 172685
* reverting 172579Jack Carter2013-01-161-16/+0
| | | | llvm-svn: 172594
* Akira,Jack Carter2013-01-161-0/+16
| | | | | | | | | | | | Hope you are feeling better. The Mips RDHWR (Read Hardware Register) instruction was not tested for assembler or dissassembler consumption. This patch adds that functionality. Contributer: Vladimir Medic llvm-svn: 172579
* MipsDisassembler.cpp: Prune DecodeHWRegs64RegisterClass() to suppress a ↵NAKAMURA Takumi2013-01-121-16/+0
| | | | | | warning. [-Wunused-function] llvm-svn: 172319
* Remove edis - the enhanced disassembler. Fixes PR14654.Roman Divacky2012-12-191-11/+0
| | | | llvm-svn: 170578
* Use the new script to sort the includes of every file under lib.Chandler Carruth2012-12-031-4/+5
| | | | | | | | | | | | | | | | | Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] llvm-svn: 169131
* MIPS DSP: add functions which decode DSP and accumulator registers.Akira Hatanaka2012-09-271-0/+29
| | | | llvm-svn: 164748
* Switch the fixed-length disassembler to be table-driven.Jim Grosbach2012-08-141-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the TableGen'erated fixed length disassemblmer to use a table-driven state machine rather than a massive set of nested switch() statements. As a result, the ARM Disassembler (ARMDisassembler.cpp) builds much more quickly and generates a smaller end result. For a Release+Asserts build on a 16GB 3.4GHz i7 iMac w/ SSD: Time to compile at -O2 (averaged w/ hot caches): Previous: 35.5s New: 8.9s TEXT size: Previous: 447,251 New: 297,661 Builds in 25% of the time previously required and generates code 66% of the size. Execution time of the disassembler is only slightly slower (7% disassembling 10 million ARM instructions, 19.6s vs 21.0s). The new implementation has not yet been tuned, however, so the performance should almost certainly be recoverable should it become a concern. llvm-svn: 161888
* Reapply r158846.Akira Hatanaka2012-07-091-114/+77
| | | | | | | Access mips register classes via MCRegisterInfo's functions instead of via the TargetRegisterClasses defined in MipsGenRegisterInfo.inc. llvm-svn: 159953
* revert r159851.Akira Hatanaka2012-07-061-17/+67
| | | | llvm-svn: 159854
* Reapply r158846.Akira Hatanaka2012-07-061-67/+17
| | | | | | Include file MipsGenRegisterInfo.inc. llvm-svn: 159851
* Revert r158846.Akira Hatanaka2012-06-201-14/+67
| | | | llvm-svn: 158855
* In MipsDisassembler.cpp, instead of defining register class tables, use the onesAkira Hatanaka2012-06-201-67/+14
| | | | | | | | | | | that are generated by TableGen and are already available in MipsGenRegisterInfo.inc. Suggested by Jakob Stoklund Olesen. Also, fix bug in function DecodeAFGR64RegisterClass. Patch by Vladimir Medic. llvm-svn: 158846
* Use uint16_t to store registers in static tables. Matches other tables.Craig Topper2012-05-241-5/+5
| | | | llvm-svn: 157375
* Move MipsDisassembler classes into an anonymous namespace.Benjamin Kramer2012-05-011-0/+4
| | | | llvm-svn: 155915
* Delete latter half of CMakeLists.txt.Akira Hatanaka2012-04-171-15/+0
| | | | llvm-svn: 154936
* Add disassembler to MIPS. Akira Hatanaka2012-04-174-0/+621
| | | | | | Patch by Vladimir Medic. llvm-svn: 154935
* Revert r153924. Delete test/MC/Disassembler/Mips and ↵Akira Hatanaka2012-04-034-0/+0
| | | | | | lib/Target/Mips/Disassembler. llvm-svn: 153926
* Revert r153924. There were buildbot failures.Akira Hatanaka2012-04-034-660/+0
| | | | llvm-svn: 153925
* MIPS disassembler support.Akira Hatanaka2012-04-034-0/+660
Patch by Vladimir Medic. llvm-svn: 153924
OpenPOWER on IntegriCloud