<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1250">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [fpc-pascal]Another Intel ASM problem</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Yes I know that directives are used to change configuration, for example by setting {$BALIGN 8} compiler should add ".balign 8" in before every procedure code...</FONT></P>

<P><FONT SIZE=2>I never used this in TASM or in Delphi, I just found it in FPC sources inside AT&T assembler and found that 8 byte aligned code really speeds-up the execution so I want to use it in my libraries...</FONT></P>

<P><FONT SIZE=2>Another idea is to add new optimization switch which adds this to every procedure and main code...</FONT>
</P>

<P><FONT SIZE=2>But hey, it's you who will decide to put it and which way :-))) This is just my idea about this, because it's much easier to use it as FPC feature instead of rewriting 80000 lines of code to AT&T assembler :)</FONT></P>

<P><FONT SIZE=2>best regards, Pavel Kanzelsberger</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Peter Vreman [<A HREF="mailto:peter@freepascal.org">mailto:peter@freepascal.org</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, June 27, 2001 12:14 PM</FONT>
<BR><FONT SIZE=2>To: fpc-pascal@deadlock.et.tudelft.nl</FONT>
<BR><FONT SIZE=2>Subject: RE: [fpc-pascal]Another Intel ASM problem</FONT>
</P>
<BR>

<P><FONT SIZE=2>> Hmm and can you add something FPC native? Maybe {$BALIGN 8}...</FONT>
</P>

<P><FONT SIZE=2>What do you want to do with that? Directives are only used to change 'configuration'</FONT>
<BR><FONT SIZE=2>values not to insert code/data</FONT>
</P>

<P><FONT SIZE=2>> I think you can support .balign as in AT&T as Intel doesn't define such</FONT>
<BR><FONT SIZE=2>> directive :)</FONT>
</P>

<P><FONT SIZE=2>How does align work under tasm/masm/delphi?</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" TARGET="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</A></FONT>
</P>

</BODY>
</HTML>