<!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.2873" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Jeff,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I had a working MASM Writer backend but it
never got committed. I still have the code so could redo it relatively
quickly.</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>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jeffc@jolt-lang.org href="mailto:jeffc@jolt-lang.org">Jeff Cohen</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=llvmdev@cs.uiuc.edu
href="mailto:llvmdev@cs.uiuc.edu">LLVM Developers Mailing List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, April 29, 2006 7:56
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [LLVMdev] Intel vs. AT&T
Assembly.</DIV>
<DIV><BR></DIV>We know. Someone offered to do the Intel version, but did
little more than a huge cut and paste of the AT&T version and then lost
interest. No one else has had the time or inclination to finish the
(barely begun) job. Patches accepted :)<BR><BR>Ralph Corderoy wrote:
<BLOCKQUOTE cite=mid20060429184123.3F567148619@blake.inputplus.co.uk
type="cite"><PRE wrap="">Hi,
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">It's a long way towards it:
# AT&T. # Intel.
.text .text
.align 16 .align 16
.globl main .globl main
.type main, @function
main: main:
subl $12, %esp sub esp, 12
fnstcw 10(%esp) fnstcw word ptr [esp + 10]
movb $2, 11(%esp) mov byte ptr [esp + 11], 2
fldcw 10(%esp) fldcw word ptr [esp + 10]
movl 20(%esp), %eax mov eax, dword ptr [esp + 20]
movl 4(%eax), %eax mov eax, dword ptr [eax + 4]
</PRE></BLOCKQUOTE><PRE wrap=""><!---->
Whoops. I've provided my post-processed version of lli's Intel output
which, since I removed the `%' and lowered the `DWORD PTR' isn't a good
example. Still, you get the gist; there are already significant
differences between the two.
Cheers,
Ralph.
_______________________________________________
LLVM Developers mailing list
<A class=moz-txt-link-abbreviated href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</A> <A class=moz-txt-link-freetext href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</A>
<A class=moz-txt-link-freetext href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A>
</PRE></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<BR>LLVM Developers
mailing
list<BR>LLVMdev@cs.uiuc.edu
http://llvm.cs.uiuc.edu<BR>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<BR>
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.1.375 / Virus Database: 268.5.1/327 - Release Date:
28/04/2006<BR></BLOCKQUOTE></BODY></HTML>