search for: registerarg

Displaying 1 result from an estimated 1 matches for "registerarg".

Did you mean: registerargs
2010 Dec 23
0
[LLVMdev] Problem with callstack/frame-index
...hen all reading of the stack/call frame is off, the address doesn't get compensated for the difference in stack-depth. When I compile the same code with the MSP430 back end I get something like this (pseudo-code): f1: sub #4, sp move arg1, 0(sp) move arg2, 2(sp) ...fix registerargs... call f2 .... f2: sub #4, sp move 6(sp), arg1 move 8(sp), arg2 ....fix args call f3.... The important bit in that code is the 6/8 in F2. When I compile the same code with our back-end, the offsets are 0/2, which is off by 4. Structurally our solution mimi...