Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: gcc 6.2 for 16/32 Ataris
Posted by: dml Jan,09.2017-17:59 

Yes it would be really nice to have the fastcall attribute working. i.e.

__attribute__((fastcall)) void myfunc() { ...stuff... }

We tried to use this attribute based on the docs on the source repo - without success, and almost gave up - but then noticed the -mfastcall switch inside the actual changesets and that does work fine.

The attribute is accepted as a valid name but is not used - it still generates stacked parameters. I don't know if its broken or just missing something.


Using -mfastcall globally is fine if the project is from-scratch, but it's much harder to apply to giant projects that already exist, especially if there is asm code mixed up inside. It's easier to convert such a project incrementally with frequent retesting.







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
gcc 6.2 for 16/32 Ataris ggn Dec,25.2016-00:11
  Re: gcc 6.2 for 16/32 Ataris PeP Dec,25.2016-12:12
    Re: gcc 6.2 for 16/32 Ataris insane Dec,26.2016-15:22
  Re: gcc 6.2 for 16/32 Ataris Daniel / New Beat Dec,28.2016-15:59
  Re: gcc 6.2 for 16/32 Ataris PeyloW Jan,05.2017-23:58
    Re: gcc 6.2 for 16/32 Ataris mikro Jan,09.2017-02:15
      Re: gcc 6.2 for 16/32 Ataris dml Jan,09.2017-17:59
        Re: gcc 6.2 for 16/32 Ataris PeyloW Jan,12.2017-05:42
          Re: gcc 6.2 for 16/32 Ataris dml Jan,19.2017-11:36


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson