1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/lib/Target/Mips
Daniel Sanders 74498390a3 [mips][ias] Range check uimm4 operands and fixed a bug this revealed.
Summary:
The bug was that the sldi instructions have immediate widths dependant on
their element size. So sldi.d has a 1-bit immediate and sldi.b has a 4-bit
immediate. All of these were using 4-bit immediates previously.

Reviewers: vkalintiris

Subscribers: llvm-commits, atanasyan, dsanders

Differential Revision: http://reviews.llvm.org/D14018

llvm-svn: 252297
2015-11-06 12:41:43 +00:00
..
AsmParser [mips][ias] Range check uimm4 operands and fixed a bug this revealed. 2015-11-06 12:41:43 +00:00
Disassembler [mips][ias] Range check uimm2 operands and fix a bug this revealed. 2015-11-06 12:22:31 +00:00
InstPrinter
MCTargetDesc [mips][ias] Range check uimm2 operands and fix a bug this revealed. 2015-11-06 12:22:31 +00:00
TargetInfo
CMakeLists.txt
LLVMBuild.txt
Makefile
MicroMips32r6InstrFormats.td [mips][microMIPS] Implement PAUSE, RDHWR, RDPGPR, SDBBP, SSNOP, SYNC, SYNCI and WAIT instructions 2015-10-28 11:04:29 +00:00
MicroMips32r6InstrInfo.td [mips][ias] Range check uimm2 operands and fix a bug this revealed. 2015-11-06 12:22:31 +00:00
MicroMips64r6InstrFormats.td [mips][microMIPS] Implement DDIV, DMOD, DDIVU and DMODU instructions 2015-08-18 14:40:43 +00:00
MicroMips64r6InstrInfo.td [mips][microMIPS] Implement DDIV, DMOD, DDIVU and DMODU instructions 2015-08-18 14:40:43 +00:00
MicroMipsDSPInstrFormats.td [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 2015-10-23 06:39:29 +00:00
MicroMipsDSPInstrInfo.td [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 2015-10-23 06:39:29 +00:00
MicroMipsInstrFormats.td [mips][microMIPS] Implement LLE and SCE instructions 2015-10-15 08:11:50 +00:00
MicroMipsInstrFPU.td [mips][sched] Split IIBranch into specific instruction classes. 2015-09-22 13:36:28 +00:00
MicroMipsInstrInfo.td [mips][microMIPS] Implement PAUSE, RDHWR, RDPGPR, SDBBP, SSNOP, SYNC, SYNCI and WAIT instructions 2015-10-28 11:04:29 +00:00
Mips16FrameLowering.cpp Remove windows line endings introduced by r252177. NFC. 2015-11-05 21:54:58 +00:00
Mips16FrameLowering.h
Mips16HardFloat.cpp [mips][mips16] Re-work the inline assembly stubs to work with IAS. NFC. 2015-10-21 12:44:14 +00:00
Mips16HardFloatInfo.cpp
Mips16HardFloatInfo.h
Mips16InstrFormats.td
Mips16InstrInfo.cpp Remove windows line endings introduced by r252177. NFC. 2015-11-05 21:54:58 +00:00
Mips16InstrInfo.h
Mips16InstrInfo.td [mips][sched] Split IIBranch into specific instruction classes. 2015-09-22 13:36:28 +00:00
Mips16ISelDAGToDAG.cpp Remove windows line endings introduced by r252177. NFC. 2015-11-05 21:54:58 +00:00
Mips16ISelDAGToDAG.h
Mips16ISelLowering.cpp Mips: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:15:20 +00:00
Mips16ISelLowering.h
Mips16RegisterInfo.cpp
Mips16RegisterInfo.h
Mips32r6InstrFormats.td
Mips32r6InstrInfo.td [mips][ias] Range check uimm2 operands and fix a bug this revealed. 2015-11-06 12:22:31 +00:00
Mips64InstrInfo.td [mips] Define patterns for the atomic_{load,store}_{8,16,32,64} nodes. 2015-11-06 12:07:20 +00:00
Mips64r6InstrInfo.td [mips][ias] Range check uimm2 operands and fix a bug this revealed. 2015-11-06 12:22:31 +00:00
Mips.h
Mips.td [mips][mips16] MIPS16 is not a CPU/Architecture but is an ASE. 2015-10-15 14:34:23 +00:00
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp Mips: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:15:20 +00:00
MipsAsmPrinter.h
MipsCallingConv.td [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsCCState.cpp Use std::is_sorted to replace a custom version. Also replace a comparison predicate struct with a lambda. 2015-10-17 21:32:26 +00:00
MipsCCState.h
MipsCondMov.td
MipsConstantIslandPass.cpp Mips: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:15:20 +00:00
MipsDelaySlotFiller.cpp Mips: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:15:20 +00:00
MipsDSPInstrFormats.td [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 2015-10-15 08:59:45 +00:00
MipsDSPInstrInfo.td [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 2015-10-23 06:39:29 +00:00
MipsEVAInstrFormats.td [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
MipsEVAInstrInfo.td [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
MipsFastISel.cpp [mips][FastISel] Clang-format switch statement. NFC. 2015-10-12 15:39:41 +00:00
MipsFrameLowering.cpp
MipsFrameLowering.h
MipsInstrFormats.td [mips] Add support for branch-likely pseudo-instructions 2015-09-15 15:06:26 +00:00
MipsInstrFPU.td [mips][microMIPS] Fix an issue with selecting sqrt instruction in LLVM backend 2015-10-06 15:17:25 +00:00
MipsInstrInfo.cpp PseudoSourceValue: Replace global manager with a manager in a machine function. 2015-08-11 23:09:45 +00:00
MipsInstrInfo.h
MipsInstrInfo.td [mips][ias] Range check uimm4 operands and fixed a bug this revealed. 2015-11-06 12:41:43 +00:00
MipsISelDAGToDAG.cpp
MipsISelDAGToDAG.h
MipsISelLowering.cpp [mips] Define patterns for the atomic_{load,store}_{8,16,32,64} nodes. 2015-11-06 12:07:20 +00:00
MipsISelLowering.h [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsLongBranch.cpp Mips: Remove implicit ilist iterator conversions, NFC 2015-10-20 00:15:20 +00:00
MipsMachineFunction.cpp [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsMachineFunction.h [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsMCInstLower.cpp
MipsMCInstLower.h
MipsModuleISelDAGToDAG.cpp
MipsMSAInstrFormats.td [mips] Use PredicateControl for the MSA ASE instructions. NFC. 2015-09-24 12:10:23 +00:00
MipsMSAInstrInfo.td [mips][ias] Range check uimm4 operands and fixed a bug this revealed. 2015-11-06 12:41:43 +00:00
MipsOptimizePICCall.cpp
MipsOptionRecord.h
MipsOs16.cpp
MipsRegisterInfo.cpp [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsRegisterInfo.h
MipsRegisterInfo.td
MipsSchedule.td [mips][p5600] Added P5600 processor and initial scheduler. 2015-09-28 18:24:08 +00:00
MipsScheduleP5600.td [mips][p5600] Added P5600 processor and initial scheduler. 2015-09-28 18:24:08 +00:00
MipsSEFrameLowering.cpp [mips] Check for the correct error message in tests for interrupt attributes. 2015-10-26 14:24:30 +00:00
MipsSEFrameLowering.h [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsSEInstrInfo.cpp [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsSEInstrInfo.h [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsSEISelDAGToDAG.cpp [mips] Check the register class before replacing materializations of zero with $zero in microMIPS. 2015-10-29 10:17:16 +00:00
MipsSEISelDAGToDAG.h
MipsSEISelLowering.cpp [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsSEISelLowering.h
MipsSERegisterInfo.cpp [mips] Interrupt attribute support for mips32r2+. 2015-10-26 12:38:43 +00:00
MipsSERegisterInfo.h
MipsSubtarget.cpp [mips][micromips] Initial support for micrmomips DSP instructions and addu.qb implementation 2015-10-12 16:07:25 +00:00
MipsSubtarget.h [mips][micromips] Initial support for micrmomips DSP instructions and addu.qb implementation 2015-10-12 16:07:25 +00:00
MipsTargetMachine.cpp constify the Function parameter to the TTI creation callback and 2015-09-16 23:38:13 +00:00
MipsTargetMachine.h
MipsTargetObjectFile.cpp
MipsTargetObjectFile.h
MipsTargetStreamer.h [mips][ias] Implement .cpreturn directive. 2015-09-22 10:50:09 +00:00
MSA.txt Revert: r249536 - Testing commit access with a trival whitespace change. 2015-10-07 10:57:06 +00:00