ffitarget.h: Remove obsolete sgidefs.h include.
commit8a39029d19e1f7ec50a7203d53137940f447314e
authorThiemo Seufer <ths@networkno.de>
Wed, 7 Dec 2005 14:56:38 +0000 (7 14:56 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Wed, 7 Dec 2005 14:56:38 +0000 (7 14:56 +0000)
treee996b1f82107188b5821be52d44fd449b3f12f84
parent7f416ffb2875d45370783e94ccab44403d44a1c4
ffitarget.h: Remove obsolete sgidefs.h include.

2005-12-07  Thiemo Seufer  <ths@networkno.de>

* src/mips/ffitarget.h: Remove obsolete sgidefs.h include. Add
missing parentheses.
* src/mips/o32.S (ffi_call_O32): Code formatting. Define
and use A3_OFF, FP_OFF, RA_OFF. Micro-optimizations.
(ffi_closure_O32): Likewise, but with newly defined A3_OFF2,
A2_OFF2, A1_OFF2, A0_OFF2, RA_OFF2, FP_OFF2, S0_OFF2, GP_OFF2,
V1_OFF2, V0_OFF2, FA_1_1_OFF2, FA_1_0_OFF2, FA_0_1_OFF2,
FA_0_0_OFF2.
* src/mips/ffi.c (ffi_prep_args): Code formatting. Fix
endianness bugs.
(ffi_prep_closure): Improve trampoline instruction scheduling.
(ffi_closure_mips_inner_O32): Fix endianness bugs.

From-SVN: r108165
libffi/ChangeLog
libffi/src/mips/ffi.c
libffi/src/mips/ffitarget.h
libffi/src/mips/o32.S