1 // Copyright Martin Husemann 2012
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
6 #ifndef BOOST_CTX_DETAIL_FCONTEXT_SPARC_H
7 #define BOOST_CTX_DETAIL_FCONTEXT_SPARC_H
11 #include <boost/config.hpp>
12 #include <boost/cstdint.hpp>
14 #include <boost/context/detail/config.hpp>
16 #ifdef BOOST_HAS_ABI_HEADERS
17 # include BOOST_ABI_PREFIX
25 #define BOOST_CONTEXT_CALLDECL
27 // if defined(_LP64) we are compiling for sparc64, otherwise it is 32 bit
44 boost::uint64_t fp_freg[32];
45 boost::uint64_t fp_fprs, fp_fsr;
47 boost::uint64_t fp_freg[16];
48 boost::uint32_t fp_fsr;
60 __attribute__((__aligned__(64))) // allow VIS instructions to be used
66 fp_t fc_fp; // fpu stuff first, for easier alignement
86 #ifdef BOOST_HAS_ABI_HEADERS
87 # include BOOST_ABI_SUFFIX
90 #endif // BOOST_CTX_DETAIL_FCONTEXT_SPARC_H