1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/include/llvm/MC
Marina Yatsina dcbfbce154 [ms-inline-asm][AVX512] Add ability to use k registers in MS inline asm + fix bag with curly braces
Until now curly braces could only be used in MS inline assembly to mark block start/end.
All curly braces were removed completely at a very early stage.
This approach caused bugs like:
"m{o}v eax, ebx" turned into "mov eax, ebx" without any error.

In addition, AVX-512 added special operands (e.g., k registers), which are also surrounded by curly braces that mark them as such.
Now, we need to keep the curly braces and identify at a later stage if they are marking block start/end (if so, ignore them), or surrounding special AVX-512 operands (if so, parse them as such).

This patch fixes the bug described above and enables the use of AVX-512 special operands.

This commit is the the llvm part of the patch.
The clang part of the review is: http://reviews.llvm.org/D17766
The llvm part of the review is: http://reviews.llvm.org/D17767

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

llvm-svn: 262843
2016-03-07 18:11:16 +00:00
..
MCDisassembler Reflect the MC/MCDisassembler split on the include/ level. 2016-01-26 16:44:37 +00:00
MCParser [ms-inline-asm][AVX512] Add ability to use k registers in MS inline asm + fix bag with curly braces 2016-03-07 18:11:16 +00:00
ConstantPools.h [ARM,AArch64] Store source location of asm constant pool entries 2015-11-16 16:25:47 +00:00
MachineLocation.h [MC] Make another header NDEBUG-free. 2015-10-30 01:25:50 +00:00
MCAsmBackend.h [MC, COFF] Add .reloc support for WinCOFF 2016-01-19 23:05:27 +00:00
MCAsmInfo.h MCAsmInfo: Allow targets to specify when the .section directive should be omitted 2015-09-25 21:41:14 +00:00
MCAsmInfoCOFF.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCAsmInfoDarwin.h
MCAsmInfoELF.h [WebAssembly] Don't create a needless .note.GNU-stack section 2016-01-15 23:59:13 +00:00
MCAsmLayout.h
MCAssembler.h [MC] Add support for encoding CodeView variable definition ranges 2016-02-05 01:55:49 +00:00
MCCodeEmitter.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCCodeGenInfo.h
MCCodeView.h [MC] Add support for encoding CodeView variable definition ranges 2016-02-05 01:55:49 +00:00
MCContext.h Reland "[CodeView] Use assembler directives for line tables" 2016-01-29 00:49:42 +00:00
MCDirectives.h ARM: support .watchos_version_min and .tvos_version_min. 2015-10-28 22:36:05 +00:00
MCDwarf.h Rename MCLineEntry to MCDwarfLineEntry 2016-01-21 01:59:03 +00:00
MCELFObjectWriter.h Convert a few assert failures into proper errors. 2016-01-13 22:56:57 +00:00
MCELFStreamer.h Delete dead code. 2015-11-03 18:55:58 +00:00
MCExpr.h [MC] Merge VK_PPC_TPREL in to generic VK_TPREL. 2016-02-10 18:32:01 +00:00
MCFixedLenDisassembler.h [TableGen] Improve decoding options for non-orthogonal instructions 2015-07-15 08:04:27 +00:00
MCFixup.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCFixupKindInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCFragment.h [MC] Add support for encoding CodeView variable definition ranges 2016-02-05 01:55:49 +00:00
MCInst.h [MC] Allowing operands to be erased from MCInst. 2015-06-04 19:49:52 +00:00
MCInstBuilder.h
MCInstPrinter.h [MC] Function naming NFC. 2015-06-07 20:29:37 +00:00
MCInstrAnalysis.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCInstrDesc.h Replace uint16_t with the MCPhysReg typedef in many places. A lot of physical register arrays already use this typedef. 2015-12-05 07:13:35 +00:00
MCInstrInfo.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCInstrItineraries.h Fix typo in comment. NFC. 2015-11-18 15:02:59 +00:00
MCLabel.h
MCLinkerOptimizationHint.h Fix -Wextra-semi warnings. 2015-07-22 20:46:11 +00:00
MCMachObjectWriter.h [ptr-traits] Add a bunch of includes to provide complete types that are 2015-12-29 09:06:21 +00:00
MCObjectFileInfo.h [X86] Create mergeable constant pool entries for AVX 2016-02-22 22:23:11 +00:00
MCObjectStreamer.h [MC] Add support for encoding CodeView variable definition ranges 2016-02-05 01:55:49 +00:00
MCObjectWriter.h Move MCTargetAsmParser.h to llvm/MC/MCParser where it belongs. 2016-01-27 10:01:28 +00:00
MCRegisterInfo.h [codeview] Describe int local variables using .cv_def_range 2016-02-10 20:55:49 +00:00
MCSchedule.h Reformat blank lines. 2015-10-05 04:43:48 +00:00
MCSection.h [ptr-traits] Split the MCFragment type hierarchy out of the MCAssembler 2015-12-29 09:06:16 +00:00
MCSectionCOFF.h Use non virtual destructors for sections. 2015-10-07 13:46:06 +00:00
MCSectionELF.h git-clang-format r249548. 2015-10-07 20:32:24 +00:00
MCSectionMachO.h Use non virtual destructors for sections. 2015-10-07 13:46:06 +00:00
MCStreamer.h Add capability to push/pop DFI in MCStreamer. NFC 2016-02-24 22:25:18 +00:00
MCSubtargetInfo.h [ARM] Introduce subtarget features per ARM architecture. 2015-11-16 11:10:19 +00:00
MCSymbol.h Fix pr24486. 2015-10-05 12:07:05 +00:00
MCSymbolCOFF.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCSymbolELF.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCSymbolMachO.h Fix include guard typo introduced in r239315. 2015-07-11 09:40:28 +00:00
MCTargetOptions.h [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
MCTargetOptionsCommandFlags.h [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
MCValue.h ELF can handle some relocations of the form -sym + constant. 2015-11-02 19:13:59 +00:00
MCWin64EH.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCWinCOFFObjectWriter.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MCWinCOFFStreamer.h [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
MCWinEH.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
SectionKind.h [X86] Create mergeable constant pool entries for AVX 2016-02-22 22:23:11 +00:00
StringTableBuilder.h Add support for merging strings with alignment larger than one char. 2016-02-19 14:13:52 +00:00
SubtargetFeature.h (NFC) Change SubtargetFeatures::ToggleFeature and 2016-01-05 10:25:56 +00:00