llvm-project/llvm/lib/Target/X86/MCTargetDesc
Craig Topper 945ed22f33 [X86] Move the implicit enabling of sse2 for 64-bit mode from X86Subtarget::initSubtargetFeatures to X86_MC::ParseX86Triple.
ParseX86Triple already checks for 64-bit mode and produces a
static string. We can just add +sse2 to the end of that static
string. This avoids a potential reallocation when appending it
to the std::string at runtime.

This is a slight change to the behavior of tools that only use
MC layer which weren't implicitly enabling sse2 before, but will
now. I don't think we check for sse2 explicitly in any MC layer
components so this shouldn't matter in practice. And if it did
matter the new behavior is more correct.
2020-07-24 11:14:20 -07:00
..
CMakeLists.txt [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
LLVMBuild.txt [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86ATTInstPrinter.cpp [MCInstPrinter] Add parameter `Address` to MCInstPrinter::printAliasInstr. NFC 2020-03-27 00:03:32 -07:00
X86ATTInstPrinter.h [X86] Remove printanymem/printopaquemem from the InstPrinters. Just tell tablegen to printMemReference directly. NFC 2020-06-15 09:46:06 -07:00
X86AsmBackend.cpp [X86] Enable multibyte NOPs in 64-bit mode for padding/alignment. 2020-07-01 23:59:01 -07:00
X86BaseInfo.h [X86-64] Support Intel AMX instructions 2020-07-02 08:57:04 +08:00
X86ELFObjectWriter.cpp [MC][X86] Make .reloc support arbitrary relocation types 2020-03-27 13:33:15 -07:00
X86FixupKinds.h
X86InstComments.cpp [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86InstComments.h
X86InstPrinterCommon.cpp [X86InstPrinter] Change printPCRelImm to print the target address in hexadecimal form 2020-03-26 08:28:59 -07:00
X86InstPrinterCommon.h [MCInstPrinter] Pass `Address` parameter to MCOI::OPERAND_PCREL typed operands. NFC 2020-03-26 08:21:15 -07:00
X86IntelInstPrinter.cpp [MCInstPrinter] Add parameter `Address` to MCInstPrinter::printAliasInstr. NFC 2020-03-27 00:03:32 -07:00
X86IntelInstPrinter.h [X86] Remove printanymem/printopaquemem from the InstPrinters. Just tell tablegen to printMemReference directly. NFC 2020-06-15 09:46:06 -07:00
X86MCAsmInfo.cpp [MC] Default MCAsmInfo::UseIntegratedAssembler to true 2020-04-11 10:13:52 -07:00
X86MCAsmInfo.h X86MCAsmInfo.h - remove unnecessary MCAsmInfo.h include. NFC. 2020-04-20 11:39:38 +01:00
X86MCCodeEmitter.cpp [X86-64] Support Intel AMX instructions 2020-07-02 08:57:04 +08:00
X86MCExpr.h
X86MCTargetDesc.cpp [X86] Move the implicit enabling of sse2 for 64-bit mode from X86Subtarget::initSubtargetFeatures to X86_MC::ParseX86Triple. 2020-07-24 11:14:20 -07:00
X86MCTargetDesc.h X86MCTargetDesc.h - remove unused DataType.h include. NFC. 2020-04-26 14:50:52 +01:00
X86MachObjectWriter.cpp [MC] Minor cleanup to MCFixup::Kind handling. NFC. 2019-08-23 01:00:55 +00:00
X86ShuffleDecode.cpp [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86ShuffleDecode.h [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86TargetStreamer.h
X86WinCOFFObjectWriter.cpp
X86WinCOFFStreamer.cpp [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
X86WinCOFFTargetStreamer.cpp [MC] Add MCStreamer::emitInt{8,16,32,64} 2020-02-29 09:40:21 -08:00