Page 1 of 1

**IMPORTANT** Optimizations in v2.2.3.8

Posted: Tue Nov 15, 2022 1:26 pm
by Jerry Messina
There are a number of new optimizations as part of SF v2.2.3.8, including:
- faster integer multiply
- optimized bit test code generation
- string library

Most of these should result in faster operation, but may result in slightly larger code size in some cases.

There are settings in the SwordfishICC.ini file or '#options' that can be used to control most of these...
if you notice any issues please post a message here and I'll try and address it.

Re: **IMPORTANT** Optimizations in v2.2.3.8

Posted: Fri Dec 02, 2022 1:55 pm
by Jerry Messina
It appears there's an error in the latest update (SF 2.2.3.8/ICC 1.2.0.9) that can cause issues with improper register bank selection.
You should replace the SwordfishICC.ini file (found in the swordfish \Bin folder) with the contents of the attached zip file.

This should disable some of the optimizations until I get a chance to look into this a bit more.

Re: **IMPORTANT** Optimizations in v2.2.3.8

Posted: Sat Mar 04, 2023 2:27 pm
by Jerry Messina
This issue has been addressed in the latest ICC v1.2.1.0 included in SF UPDATE 3_1_2023
It rolls back the 'bit test' optimizations to match previous ICC v1.2.0.8

Re: **IMPORTANT** Optimizations in v2.2.3.8

Posted: Tue Mar 28, 2023 6:03 am
by tecnomouse
hI Jerry.

I have problems with this version all the projects I compile cause me problems especially in string management.
They are 125kbyte complex projects.
Even with the ICC.ini file it doesn't work.
Is there any way to go back to the previous version or even 2 previous versions?
The ICC version v1.2.1.0 is not present in the standard update with swordfish-si.
With the version doesn't solve my problems Swordfish ICC V1.2.1.0

Thank you.

Re: **IMPORTANT** Optimizations in v2.2.3.8

Posted: Tue Mar 28, 2023 12:11 pm
by Jerry Messina
check your PM.

The ICC v1.2.1.0 update is a separate download for v2.2.3.8
See https://www.sfcompiler.co.uk/wiki/wiki- ... _2023b.zip

... which is now superseded by the 2.2.4.0 online update, which includes ICC v1.2.1.0
After performing the update to 2.2.4.0 you should not need the ICC zip file update or to change the SwordfishICC.ini file settings.

Please post here if you have any issues with the new versions.