English Amiga Board Amiga Lore


Go Back   English Amiga Board > Coders > Coders. Language

 
 
Thread Tools
Old 28 October 2016, 22:00   #21
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 983
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.
phx is offline  
AdSense AdSense  
Old 28 October 2016, 22:20   #22
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by phx View Post
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?
matthey is offline  
Old 05 November 2016, 03:00   #23
Blueberry
Registered User
 
Join Date: Dec 2007
Location: Aarhus / Denmark
Posts: 29
Quote:
Originally Posted by bebbo View Post
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. 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).
Blueberry is offline  
Old 05 November 2016, 16:58   #24
alkis
Registered User

 
Join Date: Dec 2010
Location: Athens/Greece
Age: 46
Posts: 358
Quote:
Originally Posted by Blueberry View Post
On your page you mention a GCC 6.2.0 cross compiler. 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).
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.
alkis is offline  
Old 10 November 2016, 23:18   #25
cla
dev

cla's Avatar
 
Join Date: Aug 2014
Location: Copenhagen
Posts: 47
Send a message via ICQ to cla
@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 ?
cla is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Status of IXEmul tygre Coders. General 4 24 May 2012 22:57
Does ClassicWB 3.9 installed ixemul.library? NovaCoder project.ClassicWB 5 12 October 2011 13:15
Trying to use a library in StromC V4 (default gcc compiler) NovaCoder Coders. General 3 09 September 2009 01:38
Making a shared library from a gcc .a library JoJo Coders. General 1 10 March 2003 19:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:51.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.14735 seconds with 14 queries