Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 15:50:55 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 37621 for review
Message-ID:  <200309052250.h85Mot8d067389@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=37621

Change 37621 by peter@peter_hammer on 2003/09/05 15:50:52

	use long_double for the 16 byte alignment

Affected files ...

.. //depot/projects/ezm3/libs/m3core/src/C/FBSD_AMD64/Csetjmp.i3#3 edit

Differences ...

==== //depot/projects/ezm3/libs/m3core/src/C/FBSD_AMD64/Csetjmp.i3#3 (text+ko) ====

@@ -14,10 +14,10 @@
   jmp_buf = ARRAY [0..11] OF long; (* actually, this is a sigjmp_buf,
                                      just in case *)
 
-  fpjmp_buf = ARRAY [0..79] OF long; (* this is needed to hold the
-                                       fpu state, which the ordinary
-                                       versions of setjmp/longjmp 
-                                       do not save and restore *)
+  fpjmp_buf = RECORD
+    int_stuff: ARRAY [0..79] OF long;
+    fp_stuff:  ARRAY [xx .. yy] OF long_double;
+  END;
 
 <*EXTERNAL "setjmp"   *> PROCEDURE setjmp (VAR env: jmp_buf): int;
 <*EXTERNAL "longjmp"  *> PROCEDURE longjmp (VAR env: jmp_buf; val: int);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309052250.h85Mot8d067389>