PR 48488 Fix comments
[official-gcc.git] / libffi / src / ia64 / ia64_flags.h
blob9d652cef14cee7b39125c156454aa65d31fe4778
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,
20 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
23 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
24 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26 DEALINGS IN THE SOFTWARE.
27 ----------------------------------------------------------------------- */
29 /* "Type" codes used between assembly and C. When used as a part of
30 a cfi->flags value, the low byte will be these extra type codes,
31 and bits 8-31 will be the actual size of the type. */
33 /* Small structures containing N words in integer registers. */
34 #define FFI_IA64_TYPE_SMALL_STRUCT (FFI_TYPE_LAST + 1)
36 /* Homogeneous Floating Point Aggregates (HFAs) which are returned
37 in FP registers. */
38 #define FFI_IA64_TYPE_HFA_FLOAT (FFI_TYPE_LAST + 2)
39 #define FFI_IA64_TYPE_HFA_DOUBLE (FFI_TYPE_LAST + 3)
40 #define FFI_IA64_TYPE_HFA_LDOUBLE (FFI_TYPE_LAST + 4)