sysv.S (smst_two_register): Don't call __ashldi3, instead do the shifting inline.
authorJakub Jelinek <jakub@redhat.com>
Wed, 18 Jan 2006 08:04:52 +0000 (09:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 18 Jan 2006 08:04:52 +0000 (09:04 +0100)
commit71aa1a70296b6fcd35e4c4ac66dff26acd274590
tree416e28c3fd82ee7afda8b60e3c1b9cb322ccff20
parentdb2acc366eb6b76887c8cdde6a6c95a9db03dfce
sysv.S (smst_two_register): Don't call __ashldi3, instead do the shifting inline.

* src/powerpc/sysv.S (smst_two_register): Don't call __ashldi3,
instead do the shifting inline.
* src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't compute %r5
shift count unconditionally.  Simplify load sequences for 1, 2, 3, 4
and 8 byte structs, for the remaining struct sizes don't call
__lshrdi3, instead do the shifting inline.

From-SVN: r109879
libffi/ChangeLog
libffi/src/powerpc/ppc_closure.S
libffi/src/powerpc/sysv.S