OSDN Git Service

2005-12-07 Thiemo Seufer <ths@networkno.de>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2005 14:56:38 +0000 (14:56 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2005 14:56:38 +0000 (14:56 +0000)
commit06bf236649496de91744d07f84f22a71e53bfc36
treee996b1f82107188b5821be52d44fd449b3f12f84
parentb73d5a6c4a73dd672d420a44af58eaa4bdf7a2e5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108165 138bc75d-0d04-0410-961f-82ee72b054a4
libffi/ChangeLog
libffi/src/mips/ffi.c
libffi/src/mips/ffitarget.h
libffi/src/mips/o32.S