2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / libffi / src / ia64 / ia64_flags.h
blob1dd6d7e3feb63cacc8f8c79eeaf99f890ca07d6f
1 /* -----------------------------------------------------------------------
2 ia64_flags.h - Copyright (c) 2000 Hewlett Packard Company
4 IA64/unix Foreign Function Interface
6 Original author: Hans Boehm, HP Labs
8 Permission is hereby granted, free of charge, to any person obtaining
9 a copy of this software and associated documentation files (the
10 ``Software''), to deal in the Software without restriction, including
11 without limitation the rights to use, copy, modify, merge, publish,
12 distribute, sublicense, and/or sell copies of the Software, and to
13 permit persons to whom the Software is furnished to do so, subject to
14 the following conditions:
16 The above copyright notice and this permission notice shall be included
17 in all copies or substantial portions of the Software.
19 THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 IN NO EVENT SHALL CYGNUS SOLUTIONS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25 OTHER DEALINGS IN THE SOFTWARE.
26 ----------------------------------------------------------------------- */
28 /* "Type" codes used between assembly and C. When used as a part of
29 a cfi->flags value, the low byte will be these extra type codes,
30 and bits 8-31 will be the actual size of the type. */
32 /* Small structures containing N words in integer registers. */
33 #define FFI_IA64_TYPE_SMALL_STRUCT (FFI_TYPE_LAST + 1)
35 /* Homogeneous Floating Point Aggregates (HFAs) which are returned
36 in FP registers. */
37 #define FFI_IA64_TYPE_HFA_FLOAT (FFI_TYPE_LAST + 2)
38 #define FFI_IA64_TYPE_HFA_DOUBLE (FFI_TYPE_LAST + 3)
39 #define FFI_IA64_TYPE_HFA_LDOUBLE (FFI_TYPE_LAST + 4)