Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: src/IceConditionCodesX8664.h

Issue 1216963007: Doxygenize the documentation comments (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase to master Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceConditionCodesX8632.h ('k') | src/IceConverter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceConditionCodesX8664.h - Condition Codes ---*- C++ -*-===// 1 //===- subzero/src/IceConditionCodesX8664.h - Condition Codes ---*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 ///
10 // This file declares the condition codes for x86-64. 10 /// \file
11 // 11 /// This file declares the condition codes for x86-64.
12 ///
12 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
13 14
14 #ifndef SUBZERO_SRC_ICECONDITIONCODESX8664_H 15 #ifndef SUBZERO_SRC_ICECONDITIONCODESX8664_H
15 #define SUBZERO_SRC_ICECONDITIONCODESX8664_H 16 #define SUBZERO_SRC_ICECONDITIONCODESX8664_H
16 17
17 #include "IceDefs.h" 18 #include "IceDefs.h"
18 #include "IceInstX8664.def" 19 #include "IceInstX8664.def"
19 20
20 namespace Ice { 21 namespace Ice {
21 22
22 class CondX8664 { 23 class CondX8664 {
23 // An enum of condition codes used for branches and cmov. The enum value 24 /// An enum of condition codes used for branches and cmov. The enum value
24 // should match the value used to encode operands in binary instructions. 25 /// should match the value used to encode operands in binary instructions.
25 enum BrCond { 26 enum BrCond {
26 #define X(tag, encode, opp, dump, emit) tag encode, 27 #define X(tag, encode, opp, dump, emit) tag encode,
27 ICEINSTX8664BR_TABLE 28 ICEINSTX8664BR_TABLE
28 #undef X 29 #undef X
29 Br_None 30 Br_None
30 }; 31 };
31 32
32 // An enum of condition codes relevant to the CMPPS instruction. The enum 33 /// An enum of condition codes relevant to the CMPPS instruction. The enum
33 // value should match the value used to encode operands in binary 34 /// value should match the value used to encode operands in binary
34 // instructions. 35 /// instructions.
35 enum CmppsCond { 36 enum CmppsCond {
36 #define X(tag, emit) tag, 37 #define X(tag, emit) tag,
37 ICEINSTX8664CMPPS_TABLE 38 ICEINSTX8664CMPPS_TABLE
38 #undef X 39 #undef X
39 Cmpps_Invalid 40 Cmpps_Invalid
40 }; 41 };
41 }; 42 };
42 43
43 } // end of namespace Ice 44 } // end of namespace Ice
44 45
45 #endif // SUBZERO_SRC_ICECONDITIONCODESX8664_H 46 #endif // SUBZERO_SRC_ICECONDITIONCODESX8664_H
OLDNEW
« no previous file with comments | « src/IceConditionCodesX8632.h ('k') | src/IceConverter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698