20 April 2017, 21:01 | #21 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
imho better invest time in current gcc and work with it, as its being done on the other thread. maybe sas had good debugging features i dont know about and stuff, but they have been already asked and refused. maybe someone with deep insight can dig a bit deeper, but i dont believe any regular amiga fans will achieve anything there.
|
20 April 2017, 21:44 | #22 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Indeed SAS/C had a good debugger, CodeProbe.
|
20 April 2017, 23:05 | #23 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
VBCC generates much more optimised code than GCC (smaller & faster). But unfortunately, most current open source software is taylored towards newer versions of GCC. Then in Amigaland much of the old open source stuff is built with SASC.
If I could pick my poison, I would try to persuade VBCC guys to tackle some current GCC 7.x and SASC 6.x compatibility modes within VBCC, so we would get the best code generation on Amiga, with the most popular compilers (GCC & SASC). Add to that the fact that VBCC is still actively developed. |
20 April 2017, 23:08 | #24 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Quote:
For the game i'm working on it was at least 10% slower with vbcc. |
|
20 April 2017, 23:11 | #25 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
|
21 April 2017, 00:10 | #26 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
|
21 April 2017, 01:06 | #27 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Yes of course I did. I tried every optimisation option/combination vbcc and gcc had to offer. I spend considerable time looking for any performance increase I can get. I like vbcc, but for me it was too slow (and it's error messages/warnings are not at the same level as gcc).
|
21 April 2017, 02:54 | #28 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
i have never really used vbcc, but i thinks its performance is an amiga myth. if i remember well, a while ago deadwood evaluated at least vasm (in a thread on this very forum) as option for aros, with the result that phx was even so kind to implement a few necessary extra features. the result was that no performance gain was to be observed, so its been dropped.
|
21 April 2017, 03:07 | #29 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Quote:
I still prefer vasm/vlink over the old versions of binutils that still have full amiga support. |
|
21 April 2017, 03:07 | #30 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
|
21 April 2017, 06:24 | #31 | |||
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
Quote:
Quote:
The old GCC 68k compiler (<=3.4.0) did not do a good job of peephole optimizing but this may have changed. Each peephole optimization usually only provides a small performance improvement so it takes many to make a difference (or a few inside loops). I would expect a large variance in performance gains with most being small. Floating point code would probably show a larger improvement as GCC does not have the fp power of 2 compression optimization which vasm does and is common. Vbcc, vasm and vlink are much easier to install and use than GCC. Vbcc has so much potential which is not being realized for the 68k AmigaOS because of the simplistic 68k backend though. |
|||
21 April 2017, 15:40 | #32 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Quote:
A main problem with improving the 68k backend, besides Volker's limited time, is that there are not enough useful bug reports. In contrast to gcc, vbcc is only used by some Amiga developers, and maybe by a handful of Atari developers. Also keep in mind vbcc is a single-man project! The advantage is that vbcc is small, has absolutely no dependencies and is probably one of the most portable compilers in the world. A simple ANSI-C compiler and stdio is sufficient to bring it up. And it doesn't force you to turn your Amiga into a Unix machine... |
|
21 April 2017, 16:11 | #33 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
on aros, gcc syntax for 68k asm inlines (as opposite to separate asm .s files) is what bothers me, in fact. i would like it accepted what is standard in amiga sources, i think i mighth need to talk to bebbo about it, such a thing would be quite helpful also with aros gcc6.
|
21 April 2017, 16:13 | #34 |
Registered User
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
|
@phx
i think options is the right thing to have |
21 April 2017, 19:13 | #35 | ||||
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
Quote:
Quote:
Quote:
|
||||
26 September 2017, 22:39 | #36 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
It may be easier to try to got the approval to open source the Manx Compiler, IIRC the version 5.2 was not bad at producing optimized 68k even if it didn't beat SAS/C.
At least there's also Bebbo improvements on GCC see http://eab.abime.net/showthread.php?t=85474&page=15 Last edited by DH; 02 December 2017 at 00:51. Reason: Removed direct signature |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FBlit source now open. | Samurai_Crow | Coders. Asm / Hardware | 58 | 16 June 2020 18:08 |
Please open source all the things | wXR | Amiga scene | 382 | 21 April 2020 17:21 |
Open-source graphics library | Don_Adan | Coders. System | 32 | 15 January 2013 22:15 |
NewsRog goes Open Source | Paul | News | 0 | 04 December 2004 16:37 |
BlitzBasic - Is now open source | Djay | Amiga scene | 2 | 08 February 2003 01:09 |
|
|