Commit Graph
6 Commits
Author SHA1 Message Date
Richard Henderson 7ba30b1906 s390: Inline and tidy ffi_prep_args
As per discussion with Ulrich Weigand, document the restrictions
on the code within ffi_call_int as we simultaneously prepare
stack frames for ffi_call_SYSV and the target function.
2014-12-19 11:38:17 -05:00
Richard Henderson f69ec6f35d s390: Use pc-relative insns in 31-bit mode
It's silly to stick to esa/390 features when the compiler won't.
Detect when brasl and larl are used by the compiler and then use
them in the assembly.
2014-12-18 16:21:07 -05:00
Richard Henderson 2f530de168 s390: Reorganize assembly
Avoid using ffi_prep_args as a callback; do all the work setting
up the frame within ffi_call_int directly.  Save fewer registers
in ffi_closure_SYSV.
2014-12-18 16:01:59 -05:00
Richard Henderson c860ca9ac0 s390: Kill trailing whitespace 2014-12-17 13:24:03 -05:00
Dominik Vogt 02b7c89967 s390: Go closure support 2014-12-17 13:20:51 -05:00
Anthony Green c6dddbd02b Initial commit 2009-10-04 08:11:33 -04:00