English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Coders. Language (https://eab.abime.net/forumdisplay.php?f=114)
-   -   GCC and ixemul.library (https://eab.abime.net/showthread.php?t=54667)

phx 28 October 2016 22:00

Just FYI, this was a bug in the m68k backend since V0.9d. When copying structures their alignment was no longer correctly determined, so it always generated copy-code with move.b instead of move.l. Fixed now.

matthey 28 October 2016 22:20

Quote:

Originally Posted by phx (Post 1119299)
Just FYI, this was a bug in the m68k backend since V0.9d. When copying structures their alignment was no longer correctly determined, so it always generated copy-code with move.b instead of move.l. Fixed now.

Thanks for looking into the problem but are you sure that was the only problem? I don't know what I was looking at in the disassembly without debug info but it looked like extra code for 32x32=32 was being generated which resulted in many extra 16x16=32 multiplies compared to the old code (possibly in parallel paths which would only increase code size). I wish bebbo would have posted his source code which could have been compiled with debug and made testing easier. Some people don't seem to appreciate enough the effort of the only supported Amiga compiler. Did you compare both the Dhrystone score and size of the new executable to the old vbcc generated executable?

Blueberry 05 November 2016 03:00

Quote:

Originally Posted by bebbo (Post 1117639)
Here are my benchmark results for different compilers - using the dhrystone 2.1 benchnmark from aminet (more benchmarks may follow):

On your page you mention a GCC 6.2.0 cross compiler. :shocked Where can that be found? I have been looking anxiously for a recent C++ compiler targeting Amiga for some time (to get C++11 features). :agree

alkis 05 November 2016 16:58

Quote:

Originally Posted by Blueberry (Post 1120748)
On your page you mention a GCC 6.2.0 cross compiler. :shocked Where can that be found? I have been looking anxiously for a recent C++ compiler targeting Amiga for some time (to get C++11 features). :agree

Have a look here http://franke.ms/amiga/gcc.wiki

I haven't tried it myself. Doesn't look like full compiler, (i.e. no libc, stdc++ and I am pretty sure it won't know how to call amiga libraries) but it is still interesting.

cla 10 November 2016 23:18

@bebbo
I am also curious about this GCC 6.2.0 cross compiler. Your page mentions "Meanwhile I ported the patches to gcc 6.2.0 and it starts to work". Could you make those available ?


All times are GMT +2. The time now is 10:25.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04463 seconds with 11 queries