Search site Dead Hackers Society
Other BBSes »
 
 

Outline 2017
 

Sommarhack 2017
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


Reply to this message
Name:
Topic:
Human verification (enter the text of the ASCII-art below):

       _       _ _             _   
 _____|_|___ _| | |_ ___ _____| |_ 
|     | |   | . | . | . |     | . |
|_|_|_|_|_|_|___|___|___|_|_|_|___|
Message:




© 1994-2016 Dead Hackers Society Contact: Anders Eriksson