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

Side by Side Diff: src/IceConditionCodesX8664.h

Issue 1212393005: Adds X8664 Condition codes. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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 | « no previous file | src/IceInstX8664.def » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //===- subzero/src/IceConditionCodesX8664.h - Condition Codes ---*- C++ -*-===//
2 //
3 // The Subzero Code Generator
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file declares the condition codes for x86-64.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef SUBZERO_SRC_ICECONDITIONCODESX8664_H
15 #define SUBZERO_SRC_ICECONDITIONCODESX8664_H
16
17 #include "IceDefs.h"
18 #include "IceInstX8664.def"
19
20 namespace Ice {
21
22 namespace CondX8664 {
23 // 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 enum BrCond {
26 #define X(tag, encode, opp, dump, emit) tag encode,
27 ICEINSTX8664BR_TABLE
28 #undef X
29 Br_None
30 };
31
32 // 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 // instructions.
35 enum CmppsCond {
36 #define X(tag, emit) tag,
37 ICEINSTX8664CMPPS_TABLE
38 #undef X
39 Cmpps_Invalid
40 };
41
42 } // end of namespace CondX8664
43
44 } // end of namespace Ice
45
46 #endif // SUBZERO_SRC_ICECONDITIONCODESX8664_H
OLDNEW
« no previous file with comments | « no previous file | src/IceInstX8664.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698