VIXL Release 1.11

Refer to the README.md and LICENCE files for details.
diff --git a/examples/abs.cc b/examples/abs.cc
index 8d6d052..634c375 100644
--- a/examples/abs.cc
+++ b/examples/abs.cc
@@ -43,7 +43,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -68,5 +68,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/add2-vectors.cc b/examples/add2-vectors.cc
index 4761855..4992708 100644
--- a/examples/add2-vectors.cc
+++ b/examples/add2-vectors.cc
@@ -126,7 +126,7 @@
     vecC[i] = vecA[i] + vecB[i];
   }
 
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
   uintptr_t vecA_addr = reinterpret_cast<uintptr_t>(vecA);
   uintptr_t vecB_addr = reinterpret_cast<uintptr_t>(vecB);
 
@@ -148,7 +148,7 @@
   // Placeholder to run test natively.
   printf("Running tests natively is not supported yet.\n");
   return 0;
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
   // Check that the computed value in NEON matches the C version.
   for (unsigned i = 0; i < ARRAY_SIZE(vecA); i++) {
     assert(vecC[i] == vecA[i]);
diff --git a/examples/add3-double.cc b/examples/add3-double.cc
index 460917c..f14947f 100644
--- a/examples/add3-double.cc
+++ b/examples/add3-double.cc
@@ -44,7 +44,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -73,5 +73,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/add4-double.cc b/examples/add4-double.cc
index 51addbb..ac25964 100644
--- a/examples/add4-double.cc
+++ b/examples/add4-double.cc
@@ -52,7 +52,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -83,5 +83,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/check-bounds.cc b/examples/check-bounds.cc
index 18622b2..635918e 100644
--- a/examples/check-bounds.cc
+++ b/examples/check-bounds.cc
@@ -58,7 +58,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 void run_function(Simulator *simulator, Instruction * function,
                   uint64_t value, uint64_t low, uint64_t high) {
   simulator->set_xreg(0, value);
@@ -97,5 +97,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/crc-checksums.cc b/examples/crc-checksums.cc
index e6fbb35..4fc9556 100644
--- a/examples/crc-checksums.cc
+++ b/examples/crc-checksums.cc
@@ -77,7 +77,7 @@
   GenerateCrc32(&masm);
   masm.FinalizeCode();
 
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
   // Run example function in the simulator.
   uintptr_t msg_addr = reinterpret_cast<uintptr_t>(msg);
   size_t msg_size = strlen(msg);
@@ -91,7 +91,7 @@
   // Run example function natively.
   printf("Not yet implemented.\n");
   USE(msg);
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 }
 
 
diff --git a/examples/debugger.cc b/examples/debugger.cc
index 3a6db63..db56f2d 100644
--- a/examples/debugger.cc
+++ b/examples/debugger.cc
@@ -49,7 +49,7 @@
 }
 
 
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the debugger.
   byte assm_buf[BUF_SIZE];
@@ -72,5 +72,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/factorial-rec.cc b/examples/factorial-rec.cc
index ee07ef7..5d1e5df 100644
--- a/examples/factorial-rec.cc
+++ b/examples/factorial-rec.cc
@@ -55,7 +55,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -80,5 +80,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/factorial.cc b/examples/factorial.cc
index 78d4c5f..9df65f1 100644
--- a/examples/factorial.cc
+++ b/examples/factorial.cc
@@ -53,7 +53,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -78,5 +78,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/getting-started.cc b/examples/getting-started.cc
index 0987429..6cd8bba 100644
--- a/examples/getting-started.cc
+++ b/examples/getting-started.cc
@@ -41,7 +41,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main() {
   byte assm_buf[BUF_SIZE];
   MacroAssembler masm(assm_buf, BUF_SIZE);
@@ -62,5 +62,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/literal.cc b/examples/literal.cc
index e7d475d..02de7ef 100644
--- a/examples/literal.cc
+++ b/examples/literal.cc
@@ -29,7 +29,7 @@
 #define BASE_BUF_SIZE (4096)
 #define __ masm.
 
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int64_t LiteralExample(int64_t a, int64_t b) {
   // Create and initialize the macro-assembler and the simulator.
   MacroAssembler masm(BASE_BUF_SIZE);
@@ -85,13 +85,13 @@
 #endif
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
-  LiteralExample(1, 2);
+  VIXL_CHECK(LiteralExample(1, 2) == 3);
   return 0;
 }
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/neon-matrix-multiply.cc b/examples/neon-matrix-multiply.cc
index 6a27150..2619339 100644
--- a/examples/neon-matrix-multiply.cc
+++ b/examples/neon-matrix-multiply.cc
@@ -95,7 +95,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -164,5 +164,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/non-const-visitor.cc b/examples/non-const-visitor.cc
index bd02239..a616f12 100644
--- a/examples/non-const-visitor.cc
+++ b/examples/non-const-visitor.cc
@@ -43,7 +43,7 @@
 
 
 int64_t RunNonConstVisitorTestGeneratedCode(const Instruction* start_instr) {
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
   Decoder simulator_decoder;
   Simulator simulator(&simulator_decoder);
 
@@ -65,7 +65,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler.
   byte assm_buf[BUF_SIZE];
@@ -110,7 +110,7 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
 
 
diff --git a/examples/sum-array.cc b/examples/sum-array.cc
index 03f41d4..8803962 100644
--- a/examples/sum-array.cc
+++ b/examples/sum-array.cc
@@ -59,7 +59,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -91,5 +91,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/swap-int32.cc b/examples/swap-int32.cc
index 29074ca..0ea2435 100644
--- a/examples/swap-int32.cc
+++ b/examples/swap-int32.cc
@@ -61,7 +61,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -96,5 +96,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES
diff --git a/examples/swap4.cc b/examples/swap4.cc
index 132df94..808b148 100644
--- a/examples/swap4.cc
+++ b/examples/swap4.cc
@@ -47,7 +47,7 @@
 
 
 #ifndef TEST_EXAMPLES
-#ifdef USE_SIMULATOR
+#ifdef VIXL_INCLUDE_SIMULATOR
 int main(void) {
   // Create and initialize the assembler and the simulator.
   byte assm_buf[BUF_SIZE];
@@ -90,5 +90,5 @@
 #else
 // Without the simulator there is nothing to test.
 int main(void) { return 0; }
-#endif  // USE_SIMULATOR
+#endif  // VIXL_INCLUDE_SIMULATOR
 #endif  // TEST_EXAMPLES