search for: 7df4fbb806c0b48eb5bcaf614e5d93cd

Displaying 2 results from an estimated 2 matches for "7df4fbb806c0b48eb5bcaf614e5d93cd".

2019 Jul 17
2
Custom calling convention & ARM target
...what we are trying to implement. The difference is that our CC has a simpler argument specification (only pointers) and could have a prologue/epilogue. I wrote a simple example which is a sort of interpreter implemented as a threaded code. The C version of it is here: https://gist.github.com/amitin/7df4fbb806c0b48eb5bcaf614e5d93cd#file-test-c There are three handler functions which invoke each other sequentially (the order doesn't matter actually). A starter function initializes and runs handler functions. It runs until a terminator function is encountered which returns the execution flow to the starter function. Note th...
2019 Jul 16
2
Custom calling convention & ARM target
Hello. For our project needs we implemented a custom calling convention. The main goals are to pass function arguments in registers and always use tailcall optimization for calls to functions with our CC when applicable. Function arguments are always pointers and the maximum number of arguments is 5. No frame pointer register is in use for this CC. No varargs. Finally, there are not any