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

Side by Side Diff: src/IceConditionCodesARM32.h

Issue 1694533002: Add move vector to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add test for vector moves. Created 4 years, 10 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/IceInstARM32.cpp » ('j') | src/IceInstARM32.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceConditionCodesARM32.h - Condition Codes ---*- C++ -*-===// 1 //===- subzero/src/IceConditionCodesARM32.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 /// \file 10 /// \file
(...skipping 17 matching lines...) Expand all
28 public: 28 public:
29 /// An enum of codes used for conditional instructions. The enum value should 29 /// An enum of codes used for conditional instructions. The enum value should
30 /// match the value used to encode operands in binary instructions. 30 /// match the value used to encode operands in binary instructions.
31 enum Cond { 31 enum Cond {
32 #define X(tag, encode, opp, emit) tag = encode, 32 #define X(tag, encode, opp, emit) tag = encode,
33 ICEINSTARM32COND_TABLE 33 ICEINSTARM32COND_TABLE
34 #undef X 34 #undef X
35 }; 35 };
36 36
37 static bool isDefined(Cond C) { return C != kNone; } 37 static bool isDefined(Cond C) { return C != kNone; }
38
39 static bool isUnconditional(Cond C) { return !isDefined(C) || C == AL; }
John 2016/02/11 23:59:54 Why is this not a global function in an unnamed na
38 }; 40 };
39 41
40 } // end of namespace Ice 42 } // end of namespace Ice
41 43
42 #endif // SUBZERO_SRC_ICECONDITIONCODESARM32_H 44 #endif // SUBZERO_SRC_ICECONDITIONCODESARM32_H
OLDNEW
« no previous file with comments | « no previous file | src/IceInstARM32.cpp » ('j') | src/IceInstARM32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698