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

Unified Diff: src/trusted/validator_arm/testdata-thumb/masks.h

Issue 7799013: Intial Thumb2 Sandbox (naclrev 6680) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: asdsa Created 9 years, 3 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
Index: src/trusted/validator_arm/testdata-thumb/masks.h
diff --git a/src/trusted/validator_arm/testdata-thumb/masks.h b/src/trusted/validator_arm/testdata-thumb/masks.h
new file mode 100644
index 0000000000000000000000000000000000000000..64f75841e7829ddc42ca62f5e0dba8ed4a23c126
--- /dev/null
+++ b/src/trusted/validator_arm/testdata-thumb/masks.h
@@ -0,0 +1,11 @@
+/*
+ * Copyright 2011 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can
+ * be found in the LICENSE file.
+ * Copyright 2011, Google Inc.
+ */
+#define HIGH_TWO #0xC0000000
+#define LOW_FOUR #0xF
+#define DMASK(r) bic r, r, HIGH_TWO
+#define CMASK(r) bic r, r, HIGH_TWO;\
+ orr r, r, LOW_FOUR

Powered by Google App Engine
This is Rietveld 408576698