search for: x86asmprinter

Displaying 20 results from an estimated 103 matches for "x86asmprinter".

2004 Oct 12
3
[LLVMdev] Showstopper on Visual C
...ium 4 3ghz 700Mb ram... The fatal error at the end MAY depend on the previous... or at least, I hope so. cl /nologo /TP /EHsc /GR /Zi /Yd /D__STDC_LIMIT_MACROS /DHAVE__FINITE_IN_FLOAT_H /DHAVE__ISNAN_IN_FLOAT_H /ISTLport-4.6.2\stlport /Illvm\inc lude /Itablegen_includes /c llvm\lib\Target\X86\X86AsmPrinter.cpp /Fobuild_vc71\lib\Target\X86\X86AsmPrinter.obj X86AsmPrinter.cpp tablegen_includes\X86GenIntelAsmWriter.inc(15) : error C2888: 'bool `anonymous-namespace'::X86IntelAsmPrinter::printInstruction(const llvm::MachineInstr *)' : symbol cannot be defined within namespace 'llvm'...
2018 Feb 07
2
retpoline mitigation and 6.0
...rote: > Can you take care of filing the tickets for %V0 and "=q" > and attribute__((indirect_branch("keep"))) please? With those fixed, I > think we should be OK again. Here's %V0 support, which makes the hypervisor guest support build. diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 4da7d59df46..f498c098288 100644 --- a/lib/Target/X86/X86AsmPrinter.cpp +++ b/lib/Target/X86/X86AsmPrinter.cpp @@ -370,6 +370,8 @@ static void printIntelMemReference(X86AsmPrinter &P, const MachineInstr *MI, static bool printAsmMRegister(X86AsmPrinte...
2004 Oct 12
0
[LLVMdev] Showstopper on Visual C
struct X86AsmPrinter is in an anonymous namespace, but printInstruction is declared in namespace llvm. try editing the tablegen output to move X86AsmPrinter::printInstruction into an anonymous namespace, not llvm. I suspect this will at least fix the first problem. Then we can figure out the proper longterm fix. An...
2005 Jun 30
4
[LLVMdev] X86AsmPrinter + MASM and NASM backends
I have "refactored" the X86AsmPrinter into a number of files ready for the MASM and NASM backends to be added. There is a new namespace llvm::X86 to replace the anomonous namespace as this does not work accross mutiple .h and .cpp files. Other than that everything is pritty straight forward, t may possibly need tweeking though. It ha...
2005 Jul 02
0
[LLVMdev] X86AsmPrinter + MASM and NASM backends
I am now getting the following link errors on all executables: x86.lib(X86AsmPrinter.obj) : error LNK2001: unresolved external symbol "public: virtual bool __thiscall llvm::x86::X86ATTAsmPrinter::runOnMachineFunction(class llvm::MachineFunction &)" (?runOnMachineFunction at X86ATTAsmPrinter@x86 at llvm@@UAE_NAAVMachineFunction at 3@@Z) x86.lib(X86AsmPrinter.obj) :...
2005 Jun 30
0
[LLVMdev] X86AsmPrinter + MASM and NASM backends
Builds fine on Linux, but there seems to be a problem building it on Cygwin, will look into this. Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Thursday, June 30, 2005 7:12 PM Subject: [LLVMdev] X86AsmPrinter + MASM and NASM backends I have "refactored" the X86AsmPrinter into a number of files ready for the MASM and NASM backends to be added. There is a new namespace llvm::X86 to replace the anomonous namespace as this does not work accross mutiple .h and .cpp files. Other than that eve...
2005 Jul 01
0
[LLVMdev] X86AsmPrinter + MASM and NASM backends
On Thu, 30 Jun 2005, Aaron Gray wrote: > I have "refactored" the X86AsmPrinter into a number of files ready for > the MASM and NASM backends to be added. Nice! > There is a new namespace llvm::X86 to replace the anomonous namespace as > this does not work accross mutiple .h and .cpp files. Other than that > everything is pritty straight forward, t may possibl...
2018 Feb 07
0
retpoline mitigation and 6.0
...of filing the tickets for %V0 and "=q" > > and attribute__((indirect_branch("keep"))) please? With those fixed, I > > think we should be OK again. > > Here's %V0 support, which makes the hypervisor guest support build. > > diff --git a/lib/Target/X86/X86AsmPrinter.cpp > b/lib/Target/X86/X86AsmPrinter.cpp > index 4da7d59df46..f498c098288 100644 > --- a/lib/Target/X86/X86AsmPrinter.cpp > +++ b/lib/Target/X86/X86AsmPrinter.cpp > @@ -370,6 +370,8 @@ static void printIntelMemReference(X86AsmPrinter &P, > const MachineInstr *MI, > static...
2005 Jul 02
2
[LLVMdev] X86AsmPrinter + MASM and NASM backends
Fixed it. You did not add the new files to Visual Studio (or at least forgot to include x86.vcproj with the other files). Jeff Cohen wrote: > I am now getting the following link errors on all executables: > > x86.lib(X86AsmPrinter.obj) : error LNK2001: unresolved external symbol > "public: virtual bool __thiscall > llvm::x86::X86ATTAsmPrinter::runOnMachineFunction(class > llvm::MachineFunction &)" > (?runOnMachineFunction at X86ATTAsmPrinter@x86 at llvm@@UAE_NAAVMachineFunction at 3@@Z) > &g...
2005 Jun 30
3
[LLVMdev] X86AsmPrinter + MASM and NASM backends
...llvm/lib/Target' make[1]: *** [Target/.makeall] Error 2 make[1]: Leaving directory `/usr/build/llvm/lib' make: *** [all] Error 1 Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Thursday, June 30, 2005 9:10 PM Subject: Re: [LLVMdev] X86AsmPrinter + MASM and NASM backends Builds fine on Linux, but there seems to be a problem building it on Cygwin, will look into this. Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Thursday, June 30, 2005 7:12 PM Subject: [LLVMdev] X86A...
2018 Feb 07
0
retpoline mitigation and 6.0
On Wed, 2018-02-07 at 13:16 -0800, Guenter Roeck wrote: > Here are my exact versions: >     llvm: 3afd566557f3 ("AMDGPU: Add 32-bit constant address space") >     clang: 848874aed95a ("[clang-format] Fix ObjC message arguments formatting.") OK, mine are slightly newer than that now, but I now get a working 64- bit defconfig build. It'll still break with any PV
2005 Jul 01
4
[LLVMdev] X86AsmPrinter + MASM and NASM backends
...ew namespace X86, which I had to rename as x86 :( Anyway, I suppose the lower case 'x' in 'x86' fits in with the lowercase 'llvm' namespace. Build tested on MS VC2003 and Linux. Aaron -------------- next part -------------- A non-text attachment was scrubbed... Name: NewX86AsmPrinter.tar.gz Type: application/x-gzip Size: 5810 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050701/3cda425e/attachment.bin>
2010 Jul 26
2
[LLVMdev] LLVM Dependency Graph
...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,color=olivedrab1]; System [shape=box,style=filled,color=olivedrab1]; Support [shape=box,style=filled,color=oliv...
2005 May 10
2
[LLVMdev] NASM Backend
Hi again, I have put together a "blank skeleton" for a X86NASMPrinter class, with effectively the same behaviour as the X86IntelAsmPrinter class. I had to do this within the X86AsmPrinter.cpp file rather than as a separate source file as the dependancies were so. Please do not commit this yet, I have included it not for confidence sake :)) I do not know whether it is a good idea to split the X86AsmPrinter.cpp class up into a '.h' file as well as a '.cpp' file thus a...
2017 Aug 26
2
Error in generating Object Code for implemented assembly vector instructions
...treamer::EmitInstToData(llvm::MCInst const&, llvm::MCSubtargetInfo const&) lib/MC/MCELFStreamer.cpp:478:26 #11 0x00000000015aadc0 llvm::MCObjectStreamer::EmitInstruction(llvm::MCInst const&, llvm::MCSubtargetInfo const&) lib/MC/MCObjectStreamer.cpp:245:5 #12 0x00000000007a036b llvm::X86AsmPrinter::EmitAndCountInstruction(llvm::MCInst&) lib/Target/X86/X86MCInstLower.cpp:106:3 #13 0x00000000007a32dc llvm::X86AsmPrinter::EmitInstruction(llvm::MachineInstr const*) lib/Target/X86/X86MCInstLower.cpp:1849:1 #14 0x0000000000dde226 llvm::AsmPrinter::EmitFunctionBody() lib/CodeGen/AsmPrinter/AsmP...
2018 Feb 07
3
retpoline mitigation and 6.0
On Wed, Feb 07, 2018 at 08:44:32PM +0000, David Woodhouse wrote: > On Wed, 2018-02-07 at 10:11 -0800, Guenter Roeck wrote: > > > On Wed, Feb 07, 2018 at 10:49:25AM +0000, David Woodhouse wrote: > > > Hm, please could we also have the %V asm constraint modifier? That > > > allows us to emit calls to the thunks from inline asm using the > > > register that the
2005 Jul 11
3
[LLVMdev] MASM Backend
Here's the new MASM backend. It has the following files :- lib/Target/X86/X86AsmPrinter.h lib/Target/X86/X86AsmPrinter.cpp lib/Target/X86/X86MASMPrinter.h lib/Target/X86/X86MASMPrinter.cpp lib/Target/X86/X86.td lib/Target/X86/X86InstrInfo.td lib/Target/X86/makefile Makefile.rules win32/x86/x86.vcproj X86AsmPrinter.{cpp|h...
2005 May 10
0
[LLVMdev] Re: NASM Backend
...w one (please do not commit this :) It may also be from an older out of date download, I have to check this. I now have an academic version of MS Visual Studio 2003 for LLVM Windows development :) On compilation the following and simular errors are being flagged up :- c:\llvm\llvm\lib\Target\X86\X86AsmPrinter.cpp(131) : warning C4244: 'initializing' : conversion from 'uint64_t' to 'unsigned int', possible loss of data I thought I should mention it and possibly at some point do something about them, either compile a list, or when/if I get commit permission to add the appropriate...
2005 Jul 02
0
[LLVMdev] X86AsmPrinter + MASM and NASM backends
> Fixed it. You did not add the new files to Visual Studio (or at least > forgot to include x86.vcproj with the other files). Sorry Jeff thats my fault. Aaron
2005 Jul 11
0
[LLVMdev] X86AsmPrinter + MASM and NASM backends
On Mon, 2005-07-11 at 19:24 +0100, Aaron Gray wrote: > The NASM like the MASM does not have % symbols on the register names so will > either inherit from the MASM printer or have its own TableGen class. Couldn't one conditionally output some macros for the assembler to translate the reg names rather than having another .td file? or is '%' not a valid part of a macro on NASM?