]>
Commit | Line | Data |
---|---|---|
0a35513e | 1 | /* Miscellaneous transactional memory support definitions. |
d1e082c2 | 2 | Copyright (C) 2009-2013 Free Software Foundation, Inc. |
0a35513e AH |
3 | |
4 | This file is part of GCC. | |
5 | ||
6 | GCC is free software; you can redistribute it and/or modify it under | |
7 | the terms of the GNU General Public License as published by the Free | |
8 | Software Foundation; either version 3, or (at your option) any later | |
9 | version. | |
10 | ||
11 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with GCC; see the file COPYING3. If not see | |
18 | <http://www.gnu.org/licenses/>. */ | |
19 | ||
20 | ||
21 | /* These defines must match the enumerations in libitm.h. */ | |
22 | #define PR_INSTRUMENTEDCODE 0x0001 | |
23 | #define PR_UNINSTRUMENTEDCODE 0x0002 | |
398b1daa | 24 | #define PR_MULTIWAYCODE (PR_INSTRUMENTEDCODE | PR_UNINSTRUMENTEDCODE) |
0a35513e AH |
25 | #define PR_HASNOXMMUPDATE 0x0004 |
26 | #define PR_HASNOABORT 0x0008 | |
27 | #define PR_HASNOIRREVOCABLE 0x0020 | |
28 | #define PR_DOESGOIRREVOCABLE 0x0040 | |
29 | #define PR_HASNOSIMPLEREADS 0x0080 | |
30 | #define PR_AWBARRIERSOMITTED 0x0100 | |
31 | #define PR_RARBARRIERSOMITTED 0x0200 | |
32 | #define PR_UNDOLOGCODE 0x0400 | |
33 | #define PR_PREFERUNINSTRUMENTED 0x0800 | |
34 | #define PR_EXCEPTIONBLOCK 0x1000 | |
35 | #define PR_HASELSE 0x2000 | |
36 | #define PR_READONLY 0x4000 | |
1fe37220 AM |
37 | |
38 | extern void compute_transaction_bits (void); | |
39 | extern bool is_tm_ending (gimple); |