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

Side by Side Diff: unittest/AssemblerX8632/TestUtil.h

Issue 1257643004: Subzero. Buildable, non-functional TargetLoweringX8664. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: git pull Created 5 years, 4 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/IceTargetLoweringX86Base.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/unittest/unittest/AssemblerX8632/TestUtil.h ------*- C++ -*-===// 1 //===- subzero/unittest/unittest/AssemblerX8632/TestUtil.h ------*- 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 // Utility classes for testing the X8632 Assembler. 10 // Utility classes for testing the X8632 Assembler.
(...skipping 13 matching lines...) Expand all
24 namespace Ice { 24 namespace Ice {
25 namespace X8632 { 25 namespace X8632 {
26 namespace Test { 26 namespace Test {
27 27
28 class AssemblerX8632TestBase : public ::testing::Test { 28 class AssemblerX8632TestBase : public ::testing::Test {
29 protected: 29 protected:
30 using Address = AssemblerX8632::Traits::Address; 30 using Address = AssemblerX8632::Traits::Address;
31 using ByteRegister = AssemblerX8632::Traits::ByteRegister; 31 using ByteRegister = AssemblerX8632::Traits::ByteRegister;
32 using Cond = AssemblerX8632::Traits::Cond; 32 using Cond = AssemblerX8632::Traits::Cond;
33 using GPRRegister = AssemblerX8632::Traits::GPRRegister; 33 using GPRRegister = AssemblerX8632::Traits::GPRRegister;
34 using Label = ::Ice::X86Internal::Label;
34 using Traits = AssemblerX8632::Traits; 35 using Traits = AssemblerX8632::Traits;
35 using XmmRegister = AssemblerX8632::Traits::XmmRegister; 36 using XmmRegister = AssemblerX8632::Traits::XmmRegister;
36 using X87STRegister = AssemblerX8632::Traits::X87STRegister; 37 using X87STRegister = AssemblerX8632::Traits::X87STRegister;
37 38
38 AssemblerX8632TestBase() { reset(); } 39 AssemblerX8632TestBase() { reset(); }
39 40
40 void reset() { Assembler.reset(new AssemblerX8632()); } 41 void reset() { Assembler.reset(new AssemblerX8632()); }
41 42
42 AssemblerX8632 *assembler() const { return Assembler.get(); } 43 AssemblerX8632 *assembler() const { return Assembler.get(); }
43 44
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 840
840 bool NeedsEpilogue; 841 bool NeedsEpilogue;
841 uint32_t NumAllocatedDwords; 842 uint32_t NumAllocatedDwords;
842 }; 843 };
843 844
844 } // end of namespace Test 845 } // end of namespace Test
845 } // end of namespace X8632 846 } // end of namespace X8632
846 } // end of namespace Ice 847 } // end of namespace Ice
847 848
848 #endif // ASSEMBLERX8632_TESTUTIL_H_ 849 #endif // ASSEMBLERX8632_TESTUTIL_H_
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX86Base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698