llvm-6502/include/llvm/MC
Daniel Sanders 98b419bff7 [mips] Add assembler support for '.set mipsX'.
Summary:
This patch also fixes an issue with the way the Mips assembler enables/disables architecture
features. Before this patch, the assembler never disabled feature bits. For example,
.set mips64
.set mips32r2

would result in the 'OR' of mips64 with mips32r2 feature bits which isn't right.
Unfortunately this isn't trivial to fix because there's not an easy way to clear
feature bits as the algorithm in MCSubtargetInfo (ToggleFeature) only clears the bits
that imply the feature being cleared and not the implied bits by the feature (there's a
better explanation to the code I added).

Patch by Matheus Almeida and updated by Toma Tabacu

Reviewers: vmedic, matheusalmeida, dsanders

Reviewed By: dsanders

Subscribers: tomatabacu, llvm-commits

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214709 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-04 12:20:00 +00:00
..
MCAnalysis Move MCObjectSymbolizer.h to MC/MCAnalysis. 2014-07-31 19:29:23 +00:00
MCParser This only needs a StringRef. 2014-07-06 14:17:29 +00:00
ConstantPools.h Fix build failure on windows 2014-07-18 16:41:58 +00:00
MachineLocation.h
MCAsmBackend.h
MCAsmInfo.h CodeGen: rename Win64 ExceptionHandling to WinEH 2014-06-29 21:43:47 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h
MCAsmInfoELF.h
MCAsmLayout.h
MCAssembler.h MC: make MCSymbolData::dump work on const objects 2014-07-05 00:39:52 +00:00
MCCodeEmitter.h
MCCodeGenInfo.h
MCContext.h MC: Fix associative sections on COFF 2014-06-27 17:19:44 +00:00
MCDirectives.h
MCDisassembler.h
MCDwarf.h Allow using .cfi_startproc without a leading symbol. 2014-06-23 15:34:32 +00:00
MCELF.h [MC] Constify MCELF::GetVisibility and MCELF::getOther 2014-07-11 17:34:44 +00:00
MCELFObjectWriter.h [MC] Pass MCSymbolData to needsRelocateWithSymbol 2014-07-20 23:15:06 +00:00
MCELFStreamer.h Print a=b as an assignment. 2014-06-24 22:45:16 +00:00
MCELFSymbolFlags.h ARM: take care not to set the ThumbFunc bit on TLS data symbols 2014-06-30 09:37:24 +00:00
MCExpr.h Move expression visitation logic up to MCStreamer. 2014-06-25 15:45:33 +00:00
MCExternalSymbolizer.h
MCFixedLenDisassembler.h
MCFixup.h
MCFixupKindInfo.h
MCInst.h
MCInstBuilder.h
MCInstPrinter.h
MCInstrAnalysis.h
MCInstrDesc.h Add TargetInstrInfo interface isAsCheapAsAMove. 2014-07-29 01:55:19 +00:00
MCInstrInfo.h
MCInstrItineraries.h
MCLabel.h
MCLinkerOptimizationHint.h Avoid in-class initializer from r210747 2014-06-12 04:27:37 +00:00
MCMachObjectWriter.h
MCMachOSymbolFlags.h
MCObjectDisassembler.h
MCObjectFileInfo.h Reapply "DebugInfo: Don't put fission type units in comdat sections." 2014-07-25 17:11:58 +00:00
MCObjectStreamer.h Move expression visitation logic up to MCStreamer. 2014-06-25 15:45:33 +00:00
MCObjectWriter.h
MCRegisterInfo.h
MCRelocationInfo.h
MCSchedule.h Move Post RA Scheduling flag bit into SchedMachineModel 2014-07-15 22:39:58 +00:00
MCSection.h
MCSectionCOFF.h CodeGen: Stick constant pool entries in COMDAT sections for WinCOFF 2014-07-14 22:57:27 +00:00
MCSectionELF.h
MCSectionMachO.h
MCStreamer.h MC: virtualise EmitWindowsUnwindTables 2014-08-03 18:51:26 +00:00
MCSubtargetInfo.h [mips] Add assembler support for '.set mipsX'. 2014-08-04 12:20:00 +00:00
MCSymbol.h
MCSymbolizer.h
MCTargetAsmParser.h ms inline asm: Don't add x86 segment registers to the clobber list. 2014-07-17 20:24:55 +00:00
MCTargetOptions.h Move -dwarf-version to an MC level command line option so it's 2014-06-19 06:22:08 +00:00
MCTargetOptionsCommandFlags.h Add ability to emit internal instruction representation to CodeGen assembly output. 2014-07-09 10:07:36 +00:00
MCValue.h
MCWin64EH.h MC: rename Win64EHFrameInfo to WinEH::FrameInfo 2014-08-03 18:51:17 +00:00
MCWinCOFFObjectWriter.h
MCWinCOFFStreamer.h MC: rename EmitWin64EH routines 2014-06-29 01:52:01 +00:00
MCWinEH.h MC: rename Win64EHFrameInfo to WinEH::FrameInfo 2014-08-03 18:51:17 +00:00
SectionKind.h
StringTableBuilder.h Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
SubtargetFeature.h
YAML.h Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00