1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/Target/Mips
Simon Dardis 9dc3cc7593 [mips] Fix incorrect sign extension for fpowi libcall
PR36061 showed that during the expansion of ISD::FPOWI, that there
was an incorrect zero extension of the integer argument which for
MIPS64 would then give incorrect results. Address this with the
existing mechanism for correcting sign extensions.

This resolves PR36061.

Thanks to James Cowgill for reporting the issue!

Reviewers: atanasyan, hfinkel

Differential Revision: https://reviews.llvm.org/D42537

llvm-svn: 323781
2018-01-30 16:24:10 +00:00
..
AsmParser [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
Disassembler [mips] Remove duplicated R6 EVA instructions 2018-01-08 16:50:33 +00:00
InstPrinter [llvm] Remove redundant return [NFC] 2017-11-12 03:47:50 +00:00
MCTargetDesc [Mips] Handle one byte unsupported relocations 2018-01-11 10:07:47 +00:00
TargetInfo Add backend name to Target to enable runtime info to be fed back into TableGen 2017-11-15 23:55:44 +00:00
CMakeLists.txt
LLVMBuild.txt
MicroMips32r6InstrFormats.td [mips] Remove duplicated R6 EVA instructions 2018-01-08 16:50:33 +00:00
MicroMips32r6InstrInfo.td [mips] Properly select abs and sqrt instructions 2018-01-23 10:09:39 +00:00
MicroMipsDSPInstrFormats.td
MicroMipsDSPInstrInfo.td
MicroMipsInstrFormats.td
MicroMipsInstrFPU.td [mips] Properly select abs and sqrt instructions 2018-01-23 10:09:39 +00:00
MicroMipsInstrInfo.td [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
MicroMipsSizeReduction.cpp [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
Mips16FrameLowering.cpp Move TargetFrameLowering.h to CodeGen where it's implemented 2017-11-03 22:32:11 +00:00
Mips16FrameLowering.h
Mips16HardFloat.cpp
Mips16HardFloatInfo.cpp
Mips16HardFloatInfo.h
Mips16InstrFormats.td
Mips16InstrInfo.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
Mips16InstrInfo.h
Mips16InstrInfo.td [NFC] fix trivial typos in comments and documents 2018-01-26 08:15:29 +00:00
Mips16ISelDAGToDAG.cpp
Mips16ISelDAGToDAG.h
Mips16ISelLowering.cpp Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
Mips16ISelLowering.h
Mips16RegisterInfo.cpp Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
Mips16RegisterInfo.h
Mips32r6InstrFormats.td
Mips32r6InstrInfo.td [mips] Fix definition of 'bc' instruction 2017-12-06 12:42:49 +00:00
Mips64InstrInfo.td [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
Mips64r6InstrInfo.td [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
Mips.h
Mips.td
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
MipsAsmPrinter.h [X86][Mips] Remove unused method declaration from the X86 and Mips AsmPrinters. 2017-12-08 23:30:03 +00:00
MipsCallingConv.td
MipsCCState.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
MipsCCState.h
MipsCondMov.td
MipsConstantIslandPass.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
MipsDelaySlotFiller.cpp [NFC] fix trivial typos in comments 2018-01-22 05:54:46 +00:00
MipsDSPInstrFormats.td
MipsDSPInstrInfo.td [mips] Provide additional DSP bitconvert patterns 2017-12-13 10:13:35 +00:00
MipsEVAInstrFormats.td
MipsEVAInstrInfo.td
MipsFastISel.cpp Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
MipsFrameLowering.cpp
MipsFrameLowering.h Move TargetFrameLowering.h to CodeGen where it's implemented 2017-11-03 22:32:11 +00:00
MipsHazardSchedule.cpp
MipsInstrFormats.td
MipsInstrFPU.td [mips] Properly select abs and sqrt instructions 2018-01-23 10:09:39 +00:00
MipsInstrInfo.cpp Reland "[mips] Fix the target specific instruction verifier" 2017-12-18 15:56:40 +00:00
MipsInstrInfo.h Target/TargetInstrInfo.h -> CodeGen/TargetInstrInfo.h to match layering 2017-11-08 01:01:31 +00:00
MipsInstrInfo.td [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
MipsISelDAGToDAG.cpp [SelectionDAGISel] Add a debug print before call to Select. Adjust where blank lines are printed during isel process to make things more sensibly grouped. 2018-01-26 19:34:20 +00:00
MipsISelDAGToDAG.h
MipsISelLowering.cpp [mips] Fix incorrect sign extension for fpowi libcall 2018-01-30 16:24:10 +00:00
MipsISelLowering.h Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
MipsLongBranch.cpp [mips] Add partial support for R6 in the long branch pass 2017-12-14 14:55:25 +00:00
MipsMachineFunction.cpp [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
MipsMachineFunction.h
MipsMCInstLower.cpp
MipsMCInstLower.h
MipsModuleISelDAGToDAG.cpp
MipsMSAInstrFormats.td
MipsMSAInstrInfo.td
MipsMTInstrFormats.td Reland "[mips][mt][6/7] Add support for mftr, mttr instructions." 2017-11-14 22:26:42 +00:00
MipsMTInstrInfo.td Reland "[mips][mt][6/7] Add support for mftr, mttr instructions." 2017-11-14 22:26:42 +00:00
MipsOptimizePICCall.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
MipsOptionRecord.h
MipsOs16.cpp
MipsRegisterInfo.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
MipsRegisterInfo.h
MipsRegisterInfo.td Trivial commit to force LLVM to run TableGen for Mips target after 2017-12-20 12:45:40 +00:00
MipsSchedule.td Reland "[mips][mt][6/7] Add support for mftr, mttr instructions." 2017-11-14 22:26:42 +00:00
MipsScheduleGeneric.td Reland "[mips][mt][6/7] Add support for mftr, mttr instructions." 2017-11-14 22:26:42 +00:00
MipsScheduleP5600.td [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00
MipsSEFrameLowering.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
MipsSEFrameLowering.h
MipsSEInstrInfo.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
MipsSEInstrInfo.h
MipsSEISelDAGToDAG.cpp [NFC] fix trivial typos in comments 2018-01-22 05:54:46 +00:00
MipsSEISelDAGToDAG.h
MipsSEISelLowering.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
MipsSEISelLowering.h
MipsSERegisterInfo.cpp [mips] Remove duplicated R6 EVA instructions 2018-01-08 16:50:33 +00:00
MipsSERegisterInfo.h
MipsSubtarget.cpp [mips] add warnings for using dsp and msa flags with inappropriate revisions 2018-01-22 16:43:30 +00:00
MipsSubtarget.h [mips] add warnings for using dsp and msa flags with inappropriate revisions 2018-01-22 16:43:30 +00:00
MipsTargetMachine.cpp (Re-landing) Expose a TargetMachine::getTargetTransformInfo function 2017-12-22 18:21:59 +00:00
MipsTargetMachine.h (Re-landing) Expose a TargetMachine::getTargetTransformInfo function 2017-12-22 18:21:59 +00:00
MipsTargetObjectFile.cpp [MIPS] Don't crash on unsized extern types with -mgpopt 2018-01-26 15:56:14 +00:00
MipsTargetObjectFile.h
MipsTargetStreamer.h Reland "[mips][mt][6/7] Add support for mftr, mttr instructions." 2017-11-14 22:26:42 +00:00
MSA.txt
Relocation.txt [mips] Removal of microMIPS64R6 2017-12-11 11:21:40 +00:00