2009/8/3 Anton Korobeynikov <anton at korobeynikov.info>> >> Anyway I wll report back when I have a proper overview of the area, > >> it would be good if you could also look into the problem so contact > >> me back if you are, also it maybe a good idea to share this with > >> Anton and Evan. > > > > I already spoke to anton. The MASM support is clearly broken, it > > generates .s files with typos for the directives and has other > > problems. Anton thinks it should be removed. > The reason is pretty simple: masm is too weak to support anything > non-trivial and unfortunatley there is no simple way to fix the stuff. >The strainge thing is I believe VisualStudio can generate code through it !:) Anyway I agree cut it for now as it is non functonal. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090803/0cf2d505/attachment.html>
On Aug 3, 2009, at 12:04 PM, Aaron Gray wrote:> 2009/8/3 Anton Korobeynikov <anton at korobeynikov.info> > >> Anyway I wll report back when I have a proper overview of the > area, > >> it would be good if you could also look into the problem so contact > >> me back if you are, also it maybe a good idea to share this with > >> Anton and Evan. > > > > I already spoke to anton. The MASM support is clearly broken, it > > generates .s files with typos for the directives and has other > > problems. Anton thinks it should be removed. > The reason is pretty simple: masm is too weak to support anything > non-trivial and unfortunatley there is no simple way to fix the stuff. > > > The strainge thing is I believe VisualStudio can generate code > through it !:)No, it doesn't, it writes .o files directly iiuc. -Chris> > Anyway I agree cut it for now as it is non functonal. > > Aaron > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090803/1f97f7d4/attachment.html>
On Monday 03 August 2009 14:04, Aaron Gray wrote:> 2009/8/3 Anton Korobeynikov <anton at korobeynikov.info> > > > >> Anyway I wll report back when I have a proper overview of the area, > > >> it would be good if you could also look into the problem so contact > > >> me back if you are, also it maybe a good idea to share this with > > >> Anton and Evan. > > > > > > I already spoke to anton. The MASM support is clearly broken, it > > > generates .s files with typos for the directives and has other > > > problems. Anton thinks it should be removed. > > > > The reason is pretty simple: masm is too weak to support anything > > non-trivial and unfortunatley there is no simple way to fix the stuff. > > The strainge thing is I believe VisualStudio can generate code through it > !:) > > Anyway I agree cut it for now as it is non functonal.I would really hesistate in removing this. All of the Intel and AMD manuals use this syntax. Certainly the printer needs some work and I've actually got it on my TODO list to look at it. I won't be able to get to it for a while, though. It's not a simple matter of deleting files, as all of the X86 .td files will need to be changed as well. Is there some excessive cost we're trying to get rid of? What's wrong with keeping it there? -Dave
On Aug 3, 2009, at 12:15 PM, David Greene wrote:> I would really hesistate in removing this. All of the Intel and AMD > manuals > use this syntax.Again, I'm not talking about the syntax, I'm talking about MASM *directive support*. -x86-asm-syntax=intel will still spit out "intel syntax" instructions. -Chris
> The strainge thing is I believe VisualStudio can generate code through it > !:)That's only a belief :) vcpp-generated listings cannot be reassembled into objects via masm :( -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2009/8/3 Chris Lattner <clattner at apple.com>> > On Aug 3, 2009, at 12:04 PM, Aaron Gray wrote: > > 2009/8/3 Anton Korobeynikov <anton at korobeynikov.info> > >> >> Anyway I wll report back when I have a proper overview of the area, >> >> it would be good if you could also look into the problem so contact >> >> me back if you are, also it maybe a good idea to share this with >> >> Anton and Evan. >> > >> > I already spoke to anton. The MASM support is clearly broken, it >> > generates .s files with typos for the directives and has other >> > problems. Anton thinks it should be removed. >> The reason is pretty simple: masm is too weak to support anything >> non-trivial and unfortunatley there is no simple way to fix the stuff. >> > > > The strainge thing is I believe VisualStudio can generate code through it > !:) > > > No, it doesn't, it writes .o files directly iiuc. >The cl /Fa option outputs assembler and I do believe it works properly, but thats by the by. Anyway I agree cut it for now as it is non functonal. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090803/791310a1/attachment.html>
2009/8/3 Anton Korobeynikov <anton at korobeynikov.info>> > The strainge thing is I believe VisualStudio can generate code through it > > !:) > That's only a belief :) vcpp-generated listings cannot be reassembled > into objects via masm :( >Ah ! Thats nice of Microsoft, a nice listing facility ! Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090803/a27f8998/attachment.html>