arkamnite / llvm-project

Fork of LLVM 15 to enable support for the Game Boy target which is developed here.
http://llvm.org
2 stars 0 forks source link

(epic): Establish better calling convention #17

Closed arkamnite closed 1 year ago

arkamnite commented 1 year ago

(epic): Establish better calling convention

After consulting with the gbdev community, it is apparent that there is a desire for a new calling convention. Research needs to take place to better understand the implications of using different components of memory on the Game Boy system.

arkamnite commented 1 year ago

Currently, only one calling convention will be used. This is referred to in the relevant research paper which is what was eventually implemented in SDCC's ABI. No further calling conventions will be needed for the time being.