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

Unified Diff: src/trusted/validator_mips/model.h

Issue 11876041: [MIPS] Add thread-pointer to data addressing register list. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 11 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 | « no previous file | src/trusted/validator_mips/ncval.cc » ('j') | src/trusted/validator_mips/ncvalidate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_mips/model.h
diff --git a/src/trusted/validator_mips/model.h b/src/trusted/validator_mips/model.h
index fc709cb936b523b59bd080a9e8d0a1f7a64afd5d..b8bda206fdca9aa490de7892e94c8d9b01eb9da5 100644
--- a/src/trusted/validator_mips/model.h
+++ b/src/trusted/validator_mips/model.h
@@ -105,6 +105,10 @@ static const RegisterList kRegisterListEverything = RegisterList(-1);
static uint32_t const kReservedRegsBitmask = kRegisterTls.Bitmask()
+ kRegisterJumpMask.Bitmask()
+ kRegisterLoadStoreMask.Bitmask();
+static uint32_t const kDataAddrRegsBitmask = kRegisterStack.Bitmask()
+ + kRegisterTls.Bitmask();
+
+static RegisterList const kRegListDataAddr = RegisterList(kDataAddrRegsBitmask);
static RegisterList const kRegListReserved = RegisterList(kReservedRegsBitmask);
Mark Seaborn 2013/01/15 16:51:36 Nit: Can you make the ordering of declarations con
JF 2013/01/15 17:03:03 Agreed with Mark on non-POD, I made a similar chan
petarj 2013/01/22 22:57:30 Done.
petarj 2013/01/22 22:57:30 Done (similar to the ARM change).
/*
« no previous file with comments | « no previous file | src/trusted/validator_mips/ncval.cc » ('j') | src/trusted/validator_mips/ncvalidate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698