lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
xiangfu has joined #m-labs
sb0 has quit [Remote host closed the connection]
xiangfu has quit [Remote host closed the connection]
xiangfu has joined #m-labs
sh4rm4 has quit [Remote host closed the connection]
sh4rm4 has joined #m-labs
xiangfu has quit [Remote host closed the connection]
<ysionneau>
is there a document somewhere that describes lm32 function calling ABI?
<ysionneau>
for instance how are passed the args > 8
<ysionneau>
it seems they are passed on the stack, but how
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #m-labs
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #m-labs
nicksydney has quit [Remote host closed the connection]
<stekern>
ysionneau: I have been wondering the same thing, but there seems to be no ABI documention anywhere, everything is de-factoed by how it's done in gcc it seems.
<ysionneau>
seems so :(
<stekern>
I think I recall that jpbonn did a pretty good write up on his observations in some readme in the llvm backend
<ysionneau>
ah!
<ysionneau>
because I'm debugging some code here which calls a function with 14 args
<ysionneau>
and I don't quite understand how args are passed on the stack
<ysionneau>
they don't seem to be passed from (sp+0) but from (sp+4)