search for: getfeaturebits

Displaying 5 results from an estimated 5 matches for "getfeaturebits".

2016 Apr 12
2
[hexagon] bug fix for ELFHeaderEFlags
...=============================================================== --- lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp (revision 265917) +++ lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp (working copy) @@ -122,7 +122,7 @@ : HexagonTargetStreamer(S) { auto Bits = STI.getFeatureBits(); unsigned Flags; - if (Bits.to_ullong() & llvm::Hexagon::ArchV5) + if (Bits[Hexagon::ArchV5]) Flags = ELF::EF_HEXAGON_MACH_V5; else Flags = ELF::EF_HEXAGON_MACH_V4; Maybe hexagon port maintainer has a better solution to handle Hexagon::ArchV60 etc. Best regard...
2015 Aug 20
2
Problem Compiling AsmParser
...stAsmParser(MCSubtargetInfo &sti, MCAsmParser &parser, const MCInstrInfo &MII, const MCTargetOptions &Options) : MCTargetAsmParser(), STI(sti), Parser(parser) { // Initialize the set of available features. setAvailableFeatures(ComputeAvailableFeatures(STI.getFeatureBits())); } Destructors for both TestAsmParser and MCTargetAsmParser class are available. I am using CMake. I added the following lines to AsmParser/CMakeLists.txt (From the Assembler Guide by Simon Cook from Embecosm Link <http://www.embecosm.com/appnotes/ean10/ean10-howto-llvmas-1.0.pdf>)...
2020 Aug 25
3
[TableGen] What to do if there are overlapping instruction patterns?
I've been working on adding support for a (semi-proprietary) extension for PowerPC called "Paired-Singles". It's a SIMD instruction set supporting various operations on a vector of 2 32-bit floating point numbers. The Extension is found in the PowerPC 750CL, modified variants of it are used in the Nintendo GameCube (Gekko), the Nintendo Wii (Broadway) and the Nintendo Wii U
2014 Jul 09
2
[LLVMdev] How to resolve decoding conflict?
Hi all, Short version I get decoding conflicts during generation of disassembler tables for my modified PowerPC backend: 001100.......................... ................................ ADDIC 001100__________________________ E_LBZ 001100__________________________ Which methods can be used to resolve this kind of error? Long version: I'm trying to implement support for the PowerPC
2013 May 17
0
[LLVMdev] How to get rid of "xxx not a recognized feature for this target" warning?
...ng feature) '-pclmul' is not a recognized feature for this target (ignoring feature) ..... The processor I used is generic, def : Processor<"generic", NoItineraries, []>; I used lldb to trace the code and didn't find it ran into ::ToggleFeature() or SubtargetFeatures::getFeatureBits() from where I see the warning string comes. Any guide or suggestion is appreciated! Thanks in advanced! -ye -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130517/380f6f8b/attachment.html>