From: Jakub Jelinek Date: Thu, 10 Jun 2004 08:18:25 +0000 (+0200) Subject: unix.S (ffi_call_unix): Insert group barrier break fp_done. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37c849e40ef7215ae2f78862a483781811b69bc7;p=gcc.git unix.S (ffi_call_unix): Insert group barrier break fp_done. * src/ia64/unix.S (ffi_call_unix): Insert group barrier break fp_done. (ffi_closure_UNIX): Fix f14/f15 adjustment if FLOAT_SZ is ever changed from 8. From-SVN: r82904 --- diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 9cc355713c0..805e5a15fa1 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,10 @@ +2004-06-10 Jakub Jelinek + + * src/ia64/unix.S (ffi_call_unix): Insert group barrier break + fp_done. + (ffi_closure_UNIX): Fix f14/f15 adjustment if FLOAT_SZ is ever + changed from 8. + 2004-06-06 Sean McNeil * configure.ac: Add x86_64-*-freebsd* support. diff --git a/libffi/src/ia64/unix.S b/libffi/src/ia64/unix.S index c0c5058b76e..be267f60a9a 100644 --- a/libffi/src/ia64/unix.S +++ b/libffi/src/ia64/unix.S @@ -91,6 +91,7 @@ ffi_call_unix: ;; ldfd f14=[loc2],2*FLOAT_SZ ldfd f15=[loc3] + ;; fp_done: add r9=16,sp /* Pointer to r8_contents */ /* loc2 points at first integer register value. */ @@ -297,8 +298,8 @@ ffi_closure_UNIX: stfd [r14]=f12,2*FLOAT_SZ stfd [r15]=f13,2*FLOAT_SZ ;; - stfd [r14]=f14,FLOAT_SZ+8 - stfd [r15]=f15,2*8 + stfd [r14]=f14,2*FLOAT_SZ + stfd [r15]=f15,FLOAT_SZ+8 ;; /* r14 points to first parameter register area, r15 to second. */ st8 [r14]=in0,2*8