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

Unified Diff: src/IceTypes.h

Issue 1024203002: Move some flag-like props from GlobalContext and TargetLowering to ClFlags. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: review / clean up formatting Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTypes.h
diff --git a/src/IceTypes.h b/src/IceTypes.h
index 2cf5e401fd9f3c8597c65a04b5c3b27cd822ad6c..297fad3da6da86414362249ff969b97b5b50c905 100644
--- a/src/IceTypes.h
+++ b/src/IceTypes.h
@@ -40,6 +40,16 @@ inline Ostream &operator<<(Ostream &Stream, TargetArch Arch) {
return Stream << targetArchString(Arch);
}
+// The list of all target instruction sets. Individual targets will
+// map this to include only what is valid for the target.
+enum TargetInstructionSet {
+ X86InstructionSet_Begin,
+ // SSE2 is the PNaCl baseline instruction set.
+ X86InstructionSet_SSE2 = X86InstructionSet_Begin,
+ X86InstructionSet_SSE4_1,
+ X86InstructionSet_End,
+};
+
enum OptLevel { Opt_m1, Opt_0, Opt_1, Opt_2 };
size_t typeWidthInBytes(Type Ty);
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698