flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > removing fix directive support |
Author |
|
Tomasz Grysztar 03 Oct 2003, 08:39
The support for "fix" directive is optimized in a way that there should not be any slow down unless you use this directive at least once in your source.
|
|||
03 Oct 2003, 08:39 |
|
BiDark 03 Oct 2003, 11:31
hmm... I hope so but I got 1.6 sec when compile using 1.49 and 1.1 when compile using 1.47 and the both has been used to compile GUI source file of 1.49 (Fasmw).
I'm on 1.2 GHz Celeron. |
|||
03 Oct 2003, 11:31 |
|
Tomasz Grysztar 03 Oct 2003, 12:20
Hmmm, that's strange. Try removing line 279 from PREPROCE.INC, it looks like:
Code: call process_fix_constants |
|||
03 Oct 2003, 12:20 |
|
BiDark 03 Oct 2003, 13:08
hmm.. didn't work.
It seems like there are many place have to be removed, so let's forget about it. Anyway thank you. |
|||
03 Oct 2003, 13:08 |
|
JohnFound 03 Oct 2003, 13:35
This is a hmm... thread.
Hmmm, what if there is some other problem that makes compilation slower. I got an impression that 1.49 works slower too, but I have assumed that this is because of bigger Fresh project... |
|||
03 Oct 2003, 13:35 |
|
BiDark 03 Oct 2003, 13:45
Hi JohnFound,
This problem was introduce sinc 1.48 (the fix directive was born in this version of course). So I guess it causes and i'm try to think of that this is not a problem. |
|||
03 Oct 2003, 13:45 |
|
JohnFound 03 Oct 2003, 14:13
OK, let's see in the WhatsNew.txt for 1.48:
[+] added fix directive [-] fixed small bug with symbolic constants BTW: I ever wonder, what [+] and [-] means. Maybe [-] means slow down of compilator? |
|||
03 Oct 2003, 14:13 |
|
BiDark 03 Oct 2003, 14:45
hehe.. nice joke
+ sign mean added a feature or something cool to be added. - sign mean removed a feature (mostly is bug) or get rid of unoptimized code. |
|||
03 Oct 2003, 14:45 |
|
JohnFound 03 Oct 2003, 14:50
BiDark wrote: hehe.. nice joke Thanks, it was not fully joke. I mean, maybe Privalov, unconsciously make some changes, that slow down FASM. I remember, there was some changes in conjunction with list feature... |
|||
03 Oct 2003, 14:50 |
|
Tomasz Grysztar 03 Oct 2003, 15:21
[quote="JohnFound"]
BiDark wrote: I remember, there was some changes in conjunction with list feature... Bingo! The slow-down was caused by the new feature of storing the corresponding offsets in output for each source line, which I have added in the way to enable listing/symbolic debugging features. Since official 1.49 does not utilize it anyway, I've removed it - you can grab the updated 1.49 release from the fasm's website. Additional (much smaller) slowing down is happening for PE output only, and is related to the checksum calculation, which was added recently. If you don't need this feature, you can disable it by commenting out lines 1186-1204 of FORMATS.INC. |
|||
03 Oct 2003, 15:21 |
|
JohnFound 03 Oct 2003, 15:58
Yea, now it is faster, but little. For Fresh project on my job's computer: PII 400MHz:
Was: 10.8s Now: 9.6s Regards. |
|||
03 Oct 2003, 15:58 |
|
BiDark 04 Oct 2003, 03:28
Oche!, good job.
|
|||
04 Oct 2003, 03:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.