<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Ah, of course! It's still a remarkable difference though and I
wonder if the internal assembler could use an update in that case.</p>
<p>Gareth aka. Kit<br>
</p>
<div class="moz-cite-prefix">On 19/07/2020 08:20, Sven Barth via
fpc-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFMUeB_7MtjQAYb2D4QX9Cv=z_e8TYtqUEYAeCR0fc=FohHd+A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">
<div>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">J. Gareth Moreton <<a
href="mailto:gareth@moreton-family.com"
moz-do-not-send="true">gareth@moreton-family.com</a>>
schrieb am So., 19. Juli 2020, 05:09:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
everyone,<br>
<br>
I've noticed something a bit weird with the Free Pascal
Compiler when <br>
you use the the -a option to dump the compiled assembly
files... the <br>
resultant binaries are sometimes smaller. I recently
tried it with <br>
Lazarus under x86_64-win64 (using "make distclean all
install" with FPCOPT):<br>
<br>
(-O4 -OoCONSTPROP)<br>
241,010,289 bytes - lazarus.exe<br>
<br>
(-a -O4 -OoCONSTPROP)<br>
235,655,062 bytes - lazarus.exe<br>
<br>
Anyone else noticed this? Logically, shoudn't the EXE
files be <br>
completely identical?<br>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">On x86 the difference is that this switches to
the external assembler instead of using the internal one. That
can result in differently generated files. You could compare
the generated *.o files or use -Xm to compare the linker
maps. </div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards, </div>
<div dir="auto">Sven </div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
</body>
</html>