Search site Dead Hackers Society
Other BBSes »

Silly Venture 2019

Sommarhack 2019
Demoscene   º   Coding   º   CT60   º   Buy/sell   º   Misc/crap   º   Alive magazine   º   SNDH/Tracking

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]

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

Message board and comments are now read-only

Due to abuse of the message boards we have put the entire site in read-only mode. That means you can't post new threads or reply to old messages and you can't add comments in VideoDB and PicDB.

Some messages have been erased from reading, but are stored in case they need to surface again.

After 17 years and 45000 messages we're shutting down due to one person.

© 1994-2019 Dead Hackers Society Contact: Anders Eriksson