Mercurial > hg > CbC > CbC_gcc
comparison gcc/brig/brigfrontend/phsa.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* phsa.h -- interfacing between the gcc BRIG FE and the phsa runtime | 1 /* phsa.h -- interfacing between the gcc BRIG FE and the phsa runtime |
2 Copyright (C) 2016-2017 Free Software Foundation, Inc. | 2 Copyright (C) 2016-2018 Free Software Foundation, Inc. |
3 Contributed by Pekka Jaaskelainen <pekka.jaaskelainen@parmance.com> | 3 Contributed by Pekka Jaaskelainen <pekka.jaaskelainen@parmance.com> |
4 for General Processor Tech. | 4 for General Processor Tech. |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
56 | 56 |
57 } phsa_descriptor; | 57 } phsa_descriptor; |
58 | 58 |
59 /* The prefix to use in the ELF section containing descriptor for | 59 /* The prefix to use in the ELF section containing descriptor for |
60 a function. */ | 60 a function. */ |
61 | |
61 #define PHSA_DESC_SECTION_PREFIX "phsa.desc." | 62 #define PHSA_DESC_SECTION_PREFIX "phsa.desc." |
62 #define PHSA_HOST_DEF_PTR_PREFIX "__phsa.host_def." | 63 #define PHSA_HOST_DEF_PTR_PREFIX "__phsa.host_def." |
63 | 64 |
64 /* The frontend error messages are parsed by the host runtime. Known | 65 /* The frontend error messages are parsed by the host runtime. Known |
65 prefix strings are used to separate the different runtime error | 66 prefix strings are used to separate the different runtime error |
66 codes. */ | 67 codes. */ |
68 | |
67 #define PHSA_ERROR_PREFIX_INCOMPATIBLE_MODULE "Incompatible module: " | 69 #define PHSA_ERROR_PREFIX_INCOMPATIBLE_MODULE "Incompatible module: " |
68 #define PHSA_ERROR_PREFIX_CORRUPTED_MODULE "Corrupted module: " | 70 #define PHSA_ERROR_PREFIX_CORRUPTED_MODULE "Corrupted module: " |
69 | 71 |
72 /* Offsets of attributes in the PHSA context structs. | |
73 Used by -fphsa-wi-context-opt. */ | |
74 #define PHSA_CONTEXT_OFFS_WI_IDS 0 | |
75 #define PHSA_CONTEXT_OFFS_WG_IDS (PHSA_CONTEXT_OFFS_WI_IDS + 3 * 4) | |
76 #define PHSA_CONTEXT_WG_SIZES (PHSA_CONTEXT_OFFS_WG_IDS + 3 * 4) | |
77 #define PHSA_CONTEXT_CURRENT_WG_SIZES (PHSA_CONTEXT_WG_SIZES + 3 * 4) | |
78 | |
70 #endif | 79 #endif |