diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-06-10 10:18:25 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2004-06-10 10:18:25 +0200 |
commit | 37c849e40ef7215ae2f78862a483781811b69bc7 (patch) | |
tree | b05d052d395a86830b4687d18e129f7198ee4e11 /libffi/src/ia64 | |
parent | dbb4e0c6aa853502b33f6f2fc82f908c382fee98 (diff) | |
download | gcc-37c849e40ef7215ae2f78862a483781811b69bc7.zip gcc-37c849e40ef7215ae2f78862a483781811b69bc7.tar.gz gcc-37c849e40ef7215ae2f78862a483781811b69bc7.tar.bz2 |
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
Diffstat (limited to 'libffi/src/ia64')
-rw-r--r-- | libffi/src/ia64/unix.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libffi/src/ia64/unix.S b/libffi/src/ia64/unix.S index c0c5058..be267f6 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 |