<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi again,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 :))</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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
allowing the NASMPrinter to be in a separate '.cpp' file or not.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also it would be possible to split X86AsmPrinter,
X86IntelAsmPrinter, and X86ATTAsmPrinter up into different '.cpp' files and
either a common or separate headers. Should I do this ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>There are another couple of other issues I
would like advice on :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>One is testing how to go about testing the NASM
backend and integrating the testing with the existing test framework.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The other is why do the following methods return
false :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <FONT
color=#0000ff size=2>bool</FONT><FONT size=2>
X86IntelAsmPrinter::doInitialization(Module &M)</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2> <FONT
color=#0000ff size=2>bool</FONT><FONT size=2>
X86TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream
&Out)</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Aaron</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>