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