2017-12-07 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / libffi / src / sparc / internal.h
blob0a66472bade87c84f49428ba2464c4548f6c2e08
1 #define SPARC_RET_VOID 0
2 #define SPARC_RET_STRUCT 1
3 #define SPARC_RET_UINT8 2
4 #define SPARC_RET_SINT8 3
5 #define SPARC_RET_UINT16 4
6 #define SPARC_RET_SINT16 5
7 #define SPARC_RET_UINT32 6
8 #define SP_V9_RET_SINT32 7 /* v9 only */
9 #define SP_V8_RET_CPLX16 7 /* v8 only */
10 #define SPARC_RET_INT64 8
11 #define SPARC_RET_INT128 9
13 /* Note that F_7 is missing, and is handled by SPARC_RET_STRUCT. */
14 #define SPARC_RET_F_8 10
15 #define SPARC_RET_F_6 11
16 #define SPARC_RET_F_4 12
17 #define SPARC_RET_F_2 13
18 #define SP_V9_RET_F_3 14 /* v9 only */
19 #define SP_V8_RET_CPLX8 14 /* v8 only */
20 #define SPARC_RET_F_1 15
22 #define SPARC_FLAG_RET_MASK 15
23 #define SPARC_FLAG_RET_IN_MEM 32
24 #define SPARC_FLAG_FP_ARGS 64
26 #define SPARC_SIZEMASK_SHIFT 8