Displaying 14 results from an estimated 14 matches for "x86disassembler".
2010 Jul 26
2
[LLVMdev] LLVM Dependency Graph
...LLVM due to its humongousness, but I hope the graph will be helpful to others attempting to comprehend LLVM. PNG attached; dot file follows.
digraph G {
ipo [shape=box,style=filled,color=olivedrab1];
ipa [shape=box,style=filled,color=olivedrab1];
X86Info [shape=box,style=filled,color=olivedrab1];
X86Disassembler [shape=box,style=filled,color=olivedrab1];
X86CodeGen [shape=box,style=filled,color=olivedrab1];
X86AsmPrinter [shape=box,style=filled,color=olivedrab1];
X86AsmParser [shape=box,style=filled,color=olivedrab1];
TransformUtils [shape=box,style=filled,color=olivedrab1];
Target [shape=box,style=filled,...
2009 Aug 18
2
[LLVMdev] X86 Disassembler
...TableGen backend to generate hierarchical tables optimized for fast
decode. The disassembler consumes MemoryObjects and produces arrays
of MCInsts, adhering to the abstract base class MCDisassembler (llvm/
MC/MCDisassembler.h).
The disassembler is documented in detail in
–
- lib/Target/X86/X86Disassembler.h (disassembler runtime)
- utils/TableGen/X86DisassemblerEmitter.h (table emitter)
–
as well as in the individual files, functions, and classes.
I implemented a use case in tools/llvm-mc/HexDisassembler.cpp, which
implements an interactive disassembler for sequences of bytes entered
in hex on...
2009 Aug 19
3
[LLVMdev] X86 Disassembler
...within a .cpp
> file, go ahead and define it in an anonymous namespace and mark it
> "VISIBILITY_HIDDEN". Like this:
>
> namespace {
> class VISIBILITY_HIDDEN StringMemoryObject : public MemoryObject {
> ...
I used VISIBILITY_HIDDEN for both StringMemoryObject and
X86DisassemblerEmitter::X86DEBackend.
I wrapped StringMemoryObject in an anonymous namespace.
I didn't wrap X86DEBackend because it's already nested.
> 5. In "readBytes" in StringMemoryObject, you're returning a "-1",
> but the method's return type is "uint64_t&quo...
2017 Sep 04
2
Issues in Vector Add Instruction Machine Code Emission
Thank You.
I used EVEX_4V with all the instructions. I replaced TA and EVEX both with
EVEX_4V. Now, I am getting following error:
llvm-tblgen: /utils/TableGen/X86RecognizableInstr.cpp:687: void
llvm::X86Disassembler::RecognizableInstr::emitInstructionSpecifier():
Assertion `numPhysicalOperands >= 2 + additionalOperands &&
numPhysicalOperands <= 4 + additionalOperands && "Unexpected number of
operands for MRMSrcMemFrm"' failed
What to do now?
On Tue, Sep 5, 2017 at 4:23 AM,...
2017 Sep 05
2
Issues in Vector Add Instruction Machine Code Emission
...05 at gmail.com>
> wrote:
>
>> Thank You.
>>
>> I used EVEX_4V with all the instructions. I replaced TA and EVEX both
>> with EVEX_4V. Now, I am getting following error:
>>
>> llvm-tblgen: /utils/TableGen/X86RecognizableInstr.cpp:687: void
>> llvm::X86Disassembler::RecognizableInstr::emitInstructionSpecifier():
>> Assertion `numPhysicalOperands >= 2 + additionalOperands &&
>> numPhysicalOperands <= 4 + additionalOperands && "Unexpected number of
>> operands for MRMSrcMemFrm"' failed
>>
>> What...
2009 Aug 22
0
[LLVMdev] X86 Disassembler
...functionPass);
Please don't use dynamic_cast: we're trying to eliminate RTTI a C cast
should be fine.
+int HexDisassembler::disassemble(const Target* target,
+ LineReader& reader) {
...
+
+ if(targetName == "x86") {
+ disasm = new X86Disassembler::X86_32Disassembler(obj, logstream);
+ triple = "x86-apple-darwin";
+ }
+ else if(targetName == "x86-64") {
+ disasm = new X86Disassembler::X86_64Disassembler(obj, logstream);
+ triple = "x86_64-apple-darwin";
+ }
+ else {
Instead of doing s...
2009 Aug 18
0
[LLVMdev] X86 Disassembler
...rarchical tables optimized for fast
> decode. The disassembler consumes MemoryObjects and produces arrays
> of MCInsts, adhering to the abstract base class MCDisassembler (llvm/
> MC/MCDisassembler.h).
>
> The disassembler is documented in detail in
> –
> - lib/Target/X86/X86Disassembler.h (disassembler runtime)
> - utils/TableGen/X86DisassemblerEmitter.h (table emitter)
> –
> as well as in the individual files, functions, and classes.
>
> I implemented a use case in tools/llvm-mc/HexDisassembler.cpp, which
> implements an interactive disassembler for sequences...
2017 Sep 05
2
Issues in Vector Add Instruction Machine Code Emission
...ank You.
>>>>
>>>> I used EVEX_4V with all the instructions. I replaced TA and EVEX both
>>>> with EVEX_4V. Now, I am getting following error:
>>>>
>>>> llvm-tblgen: /utils/TableGen/X86RecognizableInstr.cpp:687: void
>>>> llvm::X86Disassembler::RecognizableInstr::emitInstructionSpecifier():
>>>> Assertion `numPhysicalOperands >= 2 + additionalOperands &&
>>>> numPhysicalOperands <= 4 + additionalOperands && "Unexpected number of
>>>> operands for MRMSrcMemFrm"' faile...
2013 Apr 09
0
[LLVMdev] Please document the layers
On Apr 8, 2013, at 2:55 PM, "Robinson, Paul" <Paul_Robinson at playstation.sony.com> wrote:
I keep seeing "this is a layering violation" comments on the lists.
> While there are a few llvm.org pages that mention layers in passing,
> there is nothing (that I've found) actually specifying the layers.
> Trying to infer the layering from the code is tedious and
2013 Apr 08
2
[LLVMdev] Please document the layers
I keep seeing "this is a layering violation" comments on the lists.
While there are a few llvm.org pages that mention layers in passing,
there is nothing (that I've found) actually specifying the layers.
Trying to infer the layering from the code is tedious and error-prone
(or we wouldn't see so many violations in code reviews, eh?).
Now, I understand that Google has some sort
2010 Apr 10
3
[LLVMdev] darwin dragon-egg build issues
...xceptions -fno-rtti -fno-common -Woverloaded-virtual
bash-3.2$ /sw/lib/llvm/bin/llvm-config --ldflags
-L/sw/lib/llvm/lib -lpthread -lm
bash-3.2$ /sw/lib/llvm/bin/llvm-config --libs
-lLLVMLinker -lLLVMipo -lLLVMInterpreter -lLLVMInstrumentation -lLLVMJIT -lLLVMExecutionEngine -lLLVMBitWriter -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMMCParser -lLLVMX86AsmPrinter -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMX86Info -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAsmParser -lLLVMArchive -lLLVMBitReader -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLL...
2017 Aug 07
3
VBROADCAST Implementation Issues
...addr:$src2)))],
IIC_MOV_MEM>, TA;
def: Pat<(v64f32 (masked_gather (VR_2048:$src1),
(VK64WM:$mask),(addr:$src2))), (GATHER_256B VR_2048:$src1, VK64WM:$mask,
addr:$src2)>;
Now getting this error:
llvm-tblgen: /utils/TableGen/X86RecognizableInstr.cpp:687: void
llvm::X86Disassembler::RecognizableInstr::emitInstructionSpecifier():
Assertion `numPhysicalOperands >= 2 + additionalOperands &&
numPhysicalOperands <= 4 + additionalOperands && "Unexpected number of
operands for MRMSrcMemFrm"' failed.
On Mon, Aug 7, 2017 at 8:23 PM, Craig To...
2017 Sep 04
2
Issues in Vector Add Instruction Machine Code Emission
Sorry to ask but what does it mean to put both?
On Tue, Sep 5, 2017 at 4:01 AM, Craig Topper <craig.topper at gmail.com> wrote:
> Leave TA. Put both.
>
> ~Craig
>
> On Mon, Sep 4, 2017 at 4:00 PM, hameeza ahmed <hahmed2305 at gmail.com>
> wrote:
>
>> You are right. But when i defined my instruction as follows:
>> def P_256B_VADD : I<0xE1,
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...se+Asserts build
llvm[2]: Compiling PseudoLoweringEmitter.cpp for Release+Asserts build
llvm[2]: Compiling RegisterInfoEmitter.cpp for Release+Asserts build
llvm[2]: Compiling SubtargetEmitter.cpp for Release+Asserts build
llvm[2]: Compiling TableGen.cpp for Release+Asserts build
llvm[2]: Compiling X86DisassemblerTables.cpp for Release+Asserts build
llvm[2]: Compiling X86ModRMFilters.cpp for Release+Asserts build
llvm[2]: Compiling X86RecognizableInstr.cpp for Release+Asserts build
llvm[2]: Linking Release+Asserts executable llvm-tblgen (without symbols)
llvm[2]: ======= Finished Linking Release+Asserts Exec...