/third_party/vixl/test/aarch64/ |
H A D | test-api-aarch64.cc | 61 VIXL_CHECK(result == leading_sign_bits); in TEST() 62 VIXL_CHECK(fallback_result == leading_sign_bits); in TEST() 101 VIXL_CHECK(CountLeadingSignBits(static_cast<int8_t>(42)) == 1); // 0b00101010 in TEST() 102 VIXL_CHECK(CountLeadingSignBits(static_cast<int16_t>(42)) == 9); in TEST() 103 VIXL_CHECK(CountLeadingSignBits(static_cast<int32_t>(42)) == 25); in TEST() 104 VIXL_CHECK(CountLeadingSignBits(static_cast<int64_t>(42)) == 57); in TEST() 113 VIXL_CHECK(!(f1 == f2)); in TEST() 114 VIXL_CHECK(f1 != f2); in TEST() 115 VIXL_CHECK(!(f3 == f4)); in TEST() 116 VIXL_CHECK(f in TEST() [all...] |
H A D | test-abi.cc | 47 VIXL_CHECK(abi.GetStackSpaceRequired() == 0); in TEST() 48 VIXL_CHECK(!abi.GetReturnGenericOperand<void>().IsValid()); in TEST() 50 VIXL_CHECK(abi.GetReturnGenericOperand<bool>().Equals(GenericOperand(w0))); in TEST() 51 VIXL_CHECK(abi.GetReturnGenericOperand<char>().Equals(GenericOperand(w0))); in TEST() 52 VIXL_CHECK(abi.GetReturnGenericOperand<int8_t>().Equals(GenericOperand(w0))); in TEST() 53 VIXL_CHECK(abi.GetReturnGenericOperand<uint8_t>().Equals(GenericOperand(w0))); in TEST() 54 VIXL_CHECK(abi.GetReturnGenericOperand<short>() in TEST() 57 VIXL_CHECK(abi.GetReturnGenericOperand<int16_t>().Equals(GenericOperand(w0))); in TEST() 58 VIXL_CHECK( in TEST() 60 VIXL_CHECK(ab in TEST() [all...] |
H A D | test-assembler-aarch64.h | 303 VIXL_CHECK(EqualNzcv(expected, core.flags_nzcv())) 306 VIXL_CHECK(EqualRegisters(&expected, &core)) 309 VIXL_CHECK(EqualFP16(expected, &core, result)) 312 VIXL_CHECK(Equal32(static_cast<uint32_t>(expected), &core, result)) 315 VIXL_CHECK(EqualFP32(expected, &core, result)) 318 VIXL_CHECK(Equal64(expected, &core, result)) 321 VIXL_CHECK(NotEqual64(expected, &core, result)) 324 VIXL_CHECK(EqualFP64(expected, &core, result)) 327 VIXL_CHECK(Equal128(expected_h, expected_l, &core, result)) 330 VIXL_CHECK((expecte [all...] |
H A D | test-pointer-auth-aarch64.cc | 53 VIXL_CHECK(pac1 != pac2); in TEST() 79 VIXL_CHECK((ptr_a & pac_mask) != 0x0); in TEST() 80 VIXL_CHECK(success == ptr); in TEST() 81 VIXL_CHECK(fail != ptr); in TEST() 94 VIXL_CHECK(sim.StripPAC(ptr_a, Simulator::kInstructionPointer) == ptr); in TEST()
|
H A D | test-simulator-aarch64.cc | 354 VIXL_CHECK(expected_length == results_length); in Test1Op() 382 VIXL_CHECK(error_count == 0); in Test1Op() 506 VIXL_CHECK(expected_length == results_length); in Test2Op() 539 VIXL_CHECK(error_count == 0); in Test2Op() 658 VIXL_CHECK(expected_length == results_length); in Test3Op() 697 VIXL_CHECK(error_count == 0); in Test3Op() 801 VIXL_CHECK(expected_length == results_length); in TestCmp() 838 VIXL_CHECK(error_count == 0); in TestCmp() 932 VIXL_CHECK(expected_length == results_length); in TestCmpZero() 966 VIXL_CHECK(error_coun in TestCmpZero() [all...] |
H A D | test-utils-aarch64.h | 63 VIXL_CHECK(lane >= 0); in GetLane() 64 VIXL_CHECK(kSizeInBytes >= ((lane + 1) * lane_size)); in GetLane() 73 VIXL_CHECK(kSizeInBytes >= ((lane + 1) * lane_size)); in SetLane()
|
H A D | test-disasm-aarch64.cc | 2292 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2300 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2308 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2316 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2324 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2332 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2340 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2348 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2356 VIXL_CHECK(!synthesises_left && !synthesises_right); in TEST() 2364 VIXL_CHECK(!synthesises_lef in TEST() [all...] |
H A D | test-fuzz-aarch64.cc | 49 VIXL_CHECK(mode == "decoder"); in FuzzHelper()
|
H A D | test-assembler-aarch64.cc | 5114 VIXL_CHECK(__ GetSizeOfCodeGeneratedSince(&blob1) == 0); 5119 VIXL_CHECK(__ GetSizeOfCodeGeneratedSince(&blob2) != 0); 5124 VIXL_CHECK(__ GetSizeOfCodeGeneratedSince(&blob3) != 0); 5149 VIXL_CHECK(__ GetSizeOfCodeGeneratedSince(&start) == 0); 7538 VIXL_CHECK(__ GetSizeOfCodeGeneratedSince(&none) == 4 * kInstructionSize); 7871 VIXL_CHECK(sp.Is(__ StackPointer())); 7873 VIXL_CHECK(x0.Is(__ StackPointer())); 7875 VIXL_CHECK(x28.Is(__ StackPointer())); 7877 VIXL_CHECK(sp.Is(__ StackPointer())); 8324 VIXL_CHECK(arra [all...] |
/third_party/vixl/test/ |
H A D | test-use-scratch-register-scope.cc | 79 VIXL_CHECK(masm_->GetCurrentScratchRegisterScope() == top_scope); in Run() 91 VIXL_CHECK(masm_->GetCurrentScratchRegisterScope() == &scope); in Run() 93 VIXL_CHECK(masm_->GetCurrentScratchRegisterScope() == &scope); in Run() 132 VIXL_CHECK(q0.Is(temps.AcquireQ())); in TEST_AARCH32() 133 VIXL_CHECK(!temps.IsAvailable(q0)); in TEST_AARCH32() 134 VIXL_CHECK(!temps.IsAvailable(d0)); in TEST_AARCH32() 135 VIXL_CHECK(!temps.IsAvailable(d1)); in TEST_AARCH32() 136 VIXL_CHECK(!temps.IsAvailable(s0)); in TEST_AARCH32() 137 VIXL_CHECK(!temps.IsAvailable(s1)); in TEST_AARCH32() 138 VIXL_CHECK(!temp in TEST_AARCH32() [all...] |
H A D | test-api.cc | 164 VIXL_CHECK(IsUintN(test_vector[i].n, test_vector[i].x)); \ in TEST() 166 VIXL_CHECK(!IsUintN(test_vector[i].n, test_vector[i].x)); \ in TEST() 173 VIXL_CHECK(IsIntN(test_vector[i].n, test_vector[i].x)); \ in TEST() 175 VIXL_CHECK(!IsIntN(test_vector[i].n, test_vector[i].x)); \ in TEST() 207 VIXL_CHECK(it0 == it0); in TEST() 208 VIXL_CHECK(it1_neon == it1_neon); in TEST() 209 VIXL_CHECK(it2_neon == it2_neon); in TEST() 210 VIXL_CHECK(it2_crc32 == it2_crc32); in TEST() 211 VIXL_CHECK(it3 == it3); in TEST() 212 VIXL_CHECK(!(it in TEST() [all...] |
H A D | test-operands.cc | 45 VIXL_CHECK(op.IsImmediate()); in TEST_AARCH32() 46 VIXL_CHECK(op.GetImmediate() == 42); in TEST_AARCH32() 47 VIXL_CHECK(op.GetSignedImmediate() == 42); in TEST_AARCH32() 51 VIXL_CHECK(op.IsImmediate()); in TEST_AARCH32() 52 VIXL_CHECK(op.GetImmediate() == (~UINT32_C(42) + 1)); in TEST_AARCH32() 53 VIXL_CHECK(op.GetSignedImmediate() == -42); in TEST_AARCH32() 59 VIXL_CHECK(op.IsImmediate()); in TEST_AARCH32() 60 VIXL_CHECK(op.GetImmediate() == UINT32_MAX); in TEST_AARCH32() 61 VIXL_CHECK(op.GetSignedImmediate() == -1); in TEST_AARCH32() 65 VIXL_CHECK(o in TEST_AARCH32() [all...] |
H A D | test-invalset.cc | 97 VIXL_CHECK(set.empty() && (set.size() == 0)); in TEST() 102 VIXL_CHECK(set.size() == kNPreallocatedElements); in TEST() 106 VIXL_CHECK(set.size() == kNPreallocatedElements + 2); in TEST() 107 VIXL_CHECK(set.GetMinElement() == Obj(-123, 456)); in TEST() 110 VIXL_CHECK(set.GetMinElementKey() == 0); in TEST() 113 VIXL_CHECK(set.empty() && (set.size() == 0)); in TEST() 118 VIXL_CHECK(TestSet::IsValid(Obj(0, 0))); in TEST() 119 VIXL_CHECK(TestSet::IsValid(Obj(-1, 0))); in TEST() 120 VIXL_CHECK(TestSet::IsValid(Obj(kInvalidKey - 1, 0))); in TEST() 121 VIXL_CHECK(!TestSe in TEST() [all...] |
H A D | test-code-buffer.cc | 37 VIXL_CHECK(code_buffer.GetCapacity() == 2); in TEST() 38 VIXL_CHECK(code_buffer.GetRemainingBytes() == 2); in TEST() 41 VIXL_CHECK(code_buffer.GetCapacity() == 2); in TEST() 42 VIXL_CHECK(code_buffer.GetRemainingBytes() == 0); in TEST() 45 VIXL_CHECK(IsAligned<2>(code_buffer.GetCursorOffset())); in TEST() 47 VIXL_CHECK(IsWordAligned(code_buffer.GetCursorOffset())); in TEST() 48 VIXL_CHECK(code_buffer.GetCapacity() > 2); in TEST() 54 VIXL_CHECK(buffer.GetCapacity() == CodeBuffer::kDefaultCapacity); in TestDefaultsHelper() 55 VIXL_CHECK(buffer.HasSpaceFor(CodeBuffer::kDefaultCapacity)); in TestDefaultsHelper() 56 VIXL_CHECK(!buffe in TestDefaultsHelper() [all...] |
H A D | test-code-generation-scopes.cc | 344 VIXL_CHECK((expected) == test.GetPoolSize()); \ 386 VIXL_CHECK((expected + aarch64::kInstructionSize) == \ 628 VIXL_CHECK(!masm.ArePoolsBlocked()); in TEST_A32() 633 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST_A32() 639 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST_A32() 644 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST_A32() 648 VIXL_CHECK(!masm.ArePoolsBlocked()); in TEST_A32() 668 VIXL_CHECK(!masm.ArePoolsBlocked()); in TEST() 673 VIXL_CHECK(masm.ArePoolsBlocked()); in TEST() 679 VIXL_CHECK(mas in TEST() [all...] |
H A D | test-aborts.cc | 61 TEST(check_simple, VIXL_CHECK(false), "Assertion failed (false)\nin ") 62 TEST(check_expression, VIXL_CHECK(1 == 2), "Assertion failed (1 == 2)\nin ")
|
/third_party/vixl/test/aarch64/examples/ |
H A D | test-examples.cc | 133 VIXL_CHECK(saved_xregs[0] == simulator.ReadXRegister(19)); \ 134 VIXL_CHECK(saved_xregs[1] == simulator.ReadXRegister(20)); \ 135 VIXL_CHECK(saved_xregs[2] == simulator.ReadXRegister(21)); \ 136 VIXL_CHECK(saved_xregs[3] == simulator.ReadXRegister(22)); \ 137 VIXL_CHECK(saved_xregs[4] == simulator.ReadXRegister(23)); \ 138 VIXL_CHECK(saved_xregs[5] == simulator.ReadXRegister(24)); \ 139 VIXL_CHECK(saved_xregs[6] == simulator.ReadXRegister(25)); \ 140 VIXL_CHECK(saved_xregs[7] == simulator.ReadXRegister(26)); \ 141 VIXL_CHECK(saved_xregs[8] == simulator.ReadXRegister(27)); \ 142 VIXL_CHECK(saved_xreg [all...] |
/third_party/vixl/test/aarch32/ |
H A D | test-assembler-aarch32.cc | 99 VIXL_CHECK(__TESTOBJ GetPoolSize() == size); \ 195 VIXL_CHECK(Equal32(expected, &core, result)) 198 VIXL_CHECK(Equal64(expected, &core, result)) 201 VIXL_CHECK(Equal128(expected_h, expected_l, &core, result)) 204 VIXL_CHECK(EqualFP32(expected, &core, result)) 207 VIXL_CHECK(EqualFP64(expected, &core, result)) 210 VIXL_CHECK(EqualNzcv(expected, core.flags_nzcv())) 1114 VIXL_CHECK(test.PoolIsEmpty()); in TEST_T32() 1121 VIXL_CHECK(!test.PoolIsEmpty()); in TEST_T32() 1136 VIXL_CHECK(!tes in TEST_T32() [all...] |
/third_party/vixl/src/ |
H A D | code-buffer-vixl.cc | 53 VIXL_CHECK(buffer_ != NULL); in CodeBuffer() 99 VIXL_CHECK(ret == 0); in SetExecutable() 111 VIXL_CHECK(ret == 0); in SetWritable() 187 VIXL_CHECK(buffer_ != NULL); in Grow() 191 VIXL_CHECK(buffer_ != MAP_FAILED); in Grow()
|
H A D | globals-vixl.h | 113 #define VIXL_CHECK(condition) \ macro 133 #define VIXL_CHECK(condition) \ 145 #define VIXL_ASSERT(condition) VIXL_CHECK(condition) 238 // With VIXL_NEGATIVE_TESTING on, VIXL_ASSERT and VIXL_CHECK will throw
|
/third_party/vixl/examples/aarch64/ |
H A D | executable-memory.h | 56 VIXL_CHECK(buffer_ != MAP_FAILED); in ExecutableMemory() 61 VIXL_CHECK(res == 0); in ExecutableMemory()
|
H A D | add2-vectors.cc | 124 VIXL_CHECK(ARRAY_SIZE(vec_a) == ARRAY_SIZE(vec_b)); in main() 152 VIXL_CHECK(vec_c[i] == vec_a[i]); in main()
|
H A D | literal.cc | 96 VIXL_CHECK(LiteralExample(1, 2) == 3); in main()
|
/third_party/vixl/examples/aarch32/ |
H A D | disasm-a32.cc | 132 VIXL_CHECK(symnames != NULL); in LocateSymbols() 236 VIXL_CHECK((base_addr = reinterpret_cast<char*>( in main()
|
/third_party/vixl/src/aarch64/ |
H A D | decoder-aarch64.h | 603 VIXL_CHECK(GetPatternLength(map.mapping[0].pattern) <= 15); in compiled_node_() 605 VIXL_CHECK(GetPatternLength(p.pattern) == map.sampled_bits.size()); in compiled_node_()
|