1b8021494Sopenharmony_ci// Copyright 2016, VIXL authors 2b8021494Sopenharmony_ci// All rights reserved. 3b8021494Sopenharmony_ci// 4b8021494Sopenharmony_ci// Redistribution and use in source and binary forms, with or without 5b8021494Sopenharmony_ci// modification, are permitted provided that the following conditions are met: 6b8021494Sopenharmony_ci// 7b8021494Sopenharmony_ci// * Redistributions of source code must retain the above copyright notice, 8b8021494Sopenharmony_ci// this list of conditions and the following disclaimer. 9b8021494Sopenharmony_ci// * Redistributions in binary form must reproduce the above copyright notice, 10b8021494Sopenharmony_ci// this list of conditions and the following disclaimer in the documentation 11b8021494Sopenharmony_ci// and/or other materials provided with the distribution. 12b8021494Sopenharmony_ci// * Neither the name of ARM Limited nor the names of its contributors may be 13b8021494Sopenharmony_ci// used to endorse or promote products derived from this software without 14b8021494Sopenharmony_ci// specific prior written permission. 15b8021494Sopenharmony_ci// 16b8021494Sopenharmony_ci// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS CONTRIBUTORS "AS IS" AND 17b8021494Sopenharmony_ci// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18b8021494Sopenharmony_ci// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19b8021494Sopenharmony_ci// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 20b8021494Sopenharmony_ci// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21b8021494Sopenharmony_ci// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22b8021494Sopenharmony_ci// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23b8021494Sopenharmony_ci// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24b8021494Sopenharmony_ci// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25b8021494Sopenharmony_ci// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26b8021494Sopenharmony_ci 27b8021494Sopenharmony_ci 28b8021494Sopenharmony_ci// ----------------------------------------------------------------------------- 29b8021494Sopenharmony_ci// This file is auto generated from the 30b8021494Sopenharmony_ci// test/aarch32/config/template-simulator-aarch32.cc.in template file using 31b8021494Sopenharmony_ci// tools/generate_tests.py. 32b8021494Sopenharmony_ci// 33b8021494Sopenharmony_ci// PLEASE DO NOT EDIT. 34b8021494Sopenharmony_ci// ----------------------------------------------------------------------------- 35b8021494Sopenharmony_ci 36b8021494Sopenharmony_ci 37b8021494Sopenharmony_ci#include "test-runner.h" 38b8021494Sopenharmony_ci 39b8021494Sopenharmony_ci#include "test-utils.h" 40b8021494Sopenharmony_ci#include "test-utils-aarch32.h" 41b8021494Sopenharmony_ci 42b8021494Sopenharmony_ci#include "aarch32/assembler-aarch32.h" 43b8021494Sopenharmony_ci#include "aarch32/disasm-aarch32.h" 44b8021494Sopenharmony_ci#include "aarch32/macro-assembler-aarch32.h" 45b8021494Sopenharmony_ci 46b8021494Sopenharmony_ci#define __ masm. 47b8021494Sopenharmony_ci#define BUF_SIZE (4096) 48b8021494Sopenharmony_ci 49b8021494Sopenharmony_ci#ifdef VIXL_INCLUDE_SIMULATOR_AARCH32 50b8021494Sopenharmony_ci// Run tests with the simulator. 51b8021494Sopenharmony_ci 52b8021494Sopenharmony_ci#define SETUP() MacroAssembler masm(BUF_SIZE) 53b8021494Sopenharmony_ci 54b8021494Sopenharmony_ci#define START() masm.GetBuffer()->Reset() 55b8021494Sopenharmony_ci 56b8021494Sopenharmony_ci#define END() \ 57b8021494Sopenharmony_ci __ Hlt(0); \ 58b8021494Sopenharmony_ci __ FinalizeCode(); 59b8021494Sopenharmony_ci 60b8021494Sopenharmony_ci// TODO: Run the tests in the simulator. 61b8021494Sopenharmony_ci#define RUN() 62b8021494Sopenharmony_ci 63b8021494Sopenharmony_ci#else // ifdef VIXL_INCLUDE_SIMULATOR_AARCH32. 64b8021494Sopenharmony_ci 65b8021494Sopenharmony_ci#define SETUP() \ 66b8021494Sopenharmony_ci MacroAssembler masm(BUF_SIZE); \ 67b8021494Sopenharmony_ci UseScratchRegisterScope harness_scratch; 68b8021494Sopenharmony_ci 69b8021494Sopenharmony_ci#define START() \ 70b8021494Sopenharmony_ci harness_scratch.Open(&masm); \ 71b8021494Sopenharmony_ci harness_scratch.ExcludeAll(); \ 72b8021494Sopenharmony_ci masm.GetBuffer()->Reset(); \ 73b8021494Sopenharmony_ci __ Push(r4); \ 74b8021494Sopenharmony_ci __ Push(r5); \ 75b8021494Sopenharmony_ci __ Push(r6); \ 76b8021494Sopenharmony_ci __ Push(r7); \ 77b8021494Sopenharmony_ci __ Push(r8); \ 78b8021494Sopenharmony_ci __ Push(r9); \ 79b8021494Sopenharmony_ci __ Push(r10); \ 80b8021494Sopenharmony_ci __ Push(r11); \ 81b8021494Sopenharmony_ci __ Push(lr); \ 82b8021494Sopenharmony_ci harness_scratch.Include(ip); 83b8021494Sopenharmony_ci 84b8021494Sopenharmony_ci#define END() \ 85b8021494Sopenharmony_ci harness_scratch.Exclude(ip); \ 86b8021494Sopenharmony_ci __ Pop(lr); \ 87b8021494Sopenharmony_ci __ Pop(r11); \ 88b8021494Sopenharmony_ci __ Pop(r10); \ 89b8021494Sopenharmony_ci __ Pop(r9); \ 90b8021494Sopenharmony_ci __ Pop(r8); \ 91b8021494Sopenharmony_ci __ Pop(r7); \ 92b8021494Sopenharmony_ci __ Pop(r6); \ 93b8021494Sopenharmony_ci __ Pop(r5); \ 94b8021494Sopenharmony_ci __ Pop(r4); \ 95b8021494Sopenharmony_ci __ Bx(lr); \ 96b8021494Sopenharmony_ci __ FinalizeCode(); \ 97b8021494Sopenharmony_ci harness_scratch.Close(); 98b8021494Sopenharmony_ci 99b8021494Sopenharmony_ci#define RUN() \ 100b8021494Sopenharmony_ci { \ 101b8021494Sopenharmony_ci int pcs_offset = masm.IsUsingT32() ? 1 : 0; \ 102b8021494Sopenharmony_ci masm.GetBuffer()->SetExecutable(); \ 103b8021494Sopenharmony_ci ExecuteMemory(masm.GetBuffer()->GetStartAddress<byte*>(), \ 104b8021494Sopenharmony_ci masm.GetSizeOfCodeGenerated(), \ 105b8021494Sopenharmony_ci pcs_offset); \ 106b8021494Sopenharmony_ci masm.GetBuffer()->SetWritable(); \ 107b8021494Sopenharmony_ci } 108b8021494Sopenharmony_ci 109b8021494Sopenharmony_ci#endif // ifdef VIXL_INCLUDE_SIMULATOR_AARCH32 110b8021494Sopenharmony_ci 111b8021494Sopenharmony_cinamespace vixl { 112b8021494Sopenharmony_cinamespace aarch32 { 113b8021494Sopenharmony_ci 114b8021494Sopenharmony_ci// List of instruction encodings: 115b8021494Sopenharmony_ci#define FOREACH_INSTRUCTION(M) \ 116b8021494Sopenharmony_ci M(Mov) \ 117b8021494Sopenharmony_ci M(Movs) 118b8021494Sopenharmony_ci 119b8021494Sopenharmony_ci 120b8021494Sopenharmony_ci// The following definitions are defined again in each generated test, therefore 121b8021494Sopenharmony_ci// we need to place them in an anonymous namespace. It expresses that they are 122b8021494Sopenharmony_ci// local to this file only, and the compiler is not allowed to share these types 123b8021494Sopenharmony_ci// across test files during template instantiation. Specifically, `Operands` and 124b8021494Sopenharmony_ci// `Inputs` have various layouts across generated tests so they absolutely 125b8021494Sopenharmony_ci// cannot be shared. 126b8021494Sopenharmony_ci 127b8021494Sopenharmony_ci#ifdef VIXL_INCLUDE_TARGET_T32 128b8021494Sopenharmony_cinamespace { 129b8021494Sopenharmony_ci 130b8021494Sopenharmony_ci// Values to be passed to the assembler to produce the instruction under test. 131b8021494Sopenharmony_cistruct Operands { 132b8021494Sopenharmony_ci Condition cond; 133b8021494Sopenharmony_ci Register rd; 134b8021494Sopenharmony_ci Register rn; 135b8021494Sopenharmony_ci ShiftType shift; 136b8021494Sopenharmony_ci Register rs; 137b8021494Sopenharmony_ci}; 138b8021494Sopenharmony_ci 139b8021494Sopenharmony_ci// Input data to feed to the instruction. 140b8021494Sopenharmony_cistruct Inputs { 141b8021494Sopenharmony_ci uint32_t apsr; 142b8021494Sopenharmony_ci uint32_t rd; 143b8021494Sopenharmony_ci uint32_t rn; 144b8021494Sopenharmony_ci uint32_t rs; 145b8021494Sopenharmony_ci}; 146b8021494Sopenharmony_ci 147b8021494Sopenharmony_ci// This structure contains all input data needed to test one specific encoding. 148b8021494Sopenharmony_ci// It used to generate a loop over an instruction. 149b8021494Sopenharmony_cistruct TestLoopData { 150b8021494Sopenharmony_ci // The `operands` fields represents the values to pass to the assembler to 151b8021494Sopenharmony_ci // produce the instruction. 152b8021494Sopenharmony_ci Operands operands; 153b8021494Sopenharmony_ci // Description of the operands, used for error reporting. 154b8021494Sopenharmony_ci const char* operands_description; 155b8021494Sopenharmony_ci // Unique identifier, used for generating traces. 156b8021494Sopenharmony_ci const char* identifier; 157b8021494Sopenharmony_ci // Array of values to be fed to the instruction. 158b8021494Sopenharmony_ci size_t input_size; 159b8021494Sopenharmony_ci const Inputs* inputs; 160b8021494Sopenharmony_ci}; 161b8021494Sopenharmony_ci 162b8021494Sopenharmony_cistatic const Inputs kCondition[] = {{NFlag, 0xabababab, 0xabababab, 0}, 163b8021494Sopenharmony_ci {ZFlag, 0xabababab, 0xabababab, 0}, 164b8021494Sopenharmony_ci {CFlag, 0xabababab, 0xabababab, 0}, 165b8021494Sopenharmony_ci {VFlag, 0xabababab, 0xabababab, 0}, 166b8021494Sopenharmony_ci {NZFlag, 0xabababab, 0xabababab, 0}, 167b8021494Sopenharmony_ci {NCFlag, 0xabababab, 0xabababab, 0}, 168b8021494Sopenharmony_ci {NVFlag, 0xabababab, 0xabababab, 0}, 169b8021494Sopenharmony_ci {ZCFlag, 0xabababab, 0xabababab, 0}, 170b8021494Sopenharmony_ci {ZVFlag, 0xabababab, 0xabababab, 0}, 171b8021494Sopenharmony_ci {CVFlag, 0xabababab, 0xabababab, 0}, 172b8021494Sopenharmony_ci {NZCFlag, 0xabababab, 0xabababab, 0}, 173b8021494Sopenharmony_ci {NZVFlag, 0xabababab, 0xabababab, 0}, 174b8021494Sopenharmony_ci {NCVFlag, 0xabababab, 0xabababab, 0}, 175b8021494Sopenharmony_ci {ZCVFlag, 0xabababab, 0xabababab, 0}, 176b8021494Sopenharmony_ci {NZCVFlag, 0xabababab, 0xabababab, 0}}; 177b8021494Sopenharmony_ci 178b8021494Sopenharmony_cistatic const Inputs kRdIsRn[] = 179b8021494Sopenharmony_ci {{NoFlag, 0x00000000, 0x00000000, 0}, {NoFlag, 0x00000001, 0x00000001, 0}, 180b8021494Sopenharmony_ci {NoFlag, 0x00000002, 0x00000002, 0}, {NoFlag, 0x00000020, 0x00000020, 0}, 181b8021494Sopenharmony_ci {NoFlag, 0x0000007d, 0x0000007d, 0}, {NoFlag, 0x0000007e, 0x0000007e, 0}, 182b8021494Sopenharmony_ci {NoFlag, 0x0000007f, 0x0000007f, 0}, {NoFlag, 0x00007ffd, 0x00007ffd, 0}, 183b8021494Sopenharmony_ci {NoFlag, 0x00007ffe, 0x00007ffe, 0}, {NoFlag, 0x00007fff, 0x00007fff, 0}, 184b8021494Sopenharmony_ci {NoFlag, 0x33333333, 0x33333333, 0}, {NoFlag, 0x55555555, 0x55555555, 0}, 185b8021494Sopenharmony_ci {NoFlag, 0x7ffffffd, 0x7ffffffd, 0}, {NoFlag, 0x7ffffffe, 0x7ffffffe, 0}, 186b8021494Sopenharmony_ci {NoFlag, 0x7fffffff, 0x7fffffff, 0}, {NoFlag, 0x80000000, 0x80000000, 0}, 187b8021494Sopenharmony_ci {NoFlag, 0x80000001, 0x80000001, 0}, {NoFlag, 0xaaaaaaaa, 0xaaaaaaaa, 0}, 188b8021494Sopenharmony_ci {NoFlag, 0xcccccccc, 0xcccccccc, 0}, {NoFlag, 0xffff8000, 0xffff8000, 0}, 189b8021494Sopenharmony_ci {NoFlag, 0xffff8001, 0xffff8001, 0}, {NoFlag, 0xffff8002, 0xffff8002, 0}, 190b8021494Sopenharmony_ci {NoFlag, 0xffff8003, 0xffff8003, 0}, {NoFlag, 0xffffff80, 0xffffff80, 0}, 191b8021494Sopenharmony_ci {NoFlag, 0xffffff81, 0xffffff81, 0}, {NoFlag, 0xffffff82, 0xffffff82, 0}, 192b8021494Sopenharmony_ci {NoFlag, 0xffffff83, 0xffffff83, 0}, {NoFlag, 0xffffffe0, 0xffffffe0, 0}, 193b8021494Sopenharmony_ci {NoFlag, 0xfffffffd, 0xfffffffd, 0}, {NoFlag, 0xfffffffe, 0xfffffffe, 0}, 194b8021494Sopenharmony_ci {NoFlag, 0xffffffff, 0xffffffff, 0}}; 195b8021494Sopenharmony_ci 196b8021494Sopenharmony_cistatic const Inputs kRdIsNotRn[] = 197b8021494Sopenharmony_ci {{NoFlag, 0x00000002, 0xcccccccc, 0}, {NoFlag, 0x7ffffffd, 0x00007ffe, 0}, 198b8021494Sopenharmony_ci {NoFlag, 0xffffff80, 0x00000020, 0}, {NoFlag, 0xaaaaaaaa, 0xaaaaaaaa, 0}, 199b8021494Sopenharmony_ci {NoFlag, 0x33333333, 0xffffff82, 0}, {NoFlag, 0xffff8001, 0x7ffffffe, 0}, 200b8021494Sopenharmony_ci {NoFlag, 0xfffffffd, 0x00007ffe, 0}, {NoFlag, 0xffffff80, 0x80000000, 0}, 201b8021494Sopenharmony_ci {NoFlag, 0x00000001, 0x33333333, 0}, {NoFlag, 0xcccccccc, 0x7ffffffe, 0}, 202b8021494Sopenharmony_ci {NoFlag, 0x00000000, 0xcccccccc, 0}, {NoFlag, 0x00000000, 0x55555555, 0}, 203b8021494Sopenharmony_ci {NoFlag, 0xffffffff, 0xffffffff, 0}, {NoFlag, 0x0000007e, 0xffff8002, 0}, 204b8021494Sopenharmony_ci {NoFlag, 0x80000000, 0x7ffffffd, 0}, {NoFlag, 0xffffff81, 0x0000007e, 0}, 205b8021494Sopenharmony_ci {NoFlag, 0x0000007f, 0xffff8001, 0}, {NoFlag, 0xffffffe0, 0x00007ffd, 0}, 206b8021494Sopenharmony_ci {NoFlag, 0xffff8003, 0x00000002, 0}, {NoFlag, 0xffffff83, 0x55555555, 0}, 207b8021494Sopenharmony_ci {NoFlag, 0xffffff83, 0xffffff80, 0}, {NoFlag, 0xffffff81, 0xffff8000, 0}, 208b8021494Sopenharmony_ci {NoFlag, 0x00000020, 0x7ffffffe, 0}, {NoFlag, 0xffffffe0, 0x00000000, 0}, 209b8021494Sopenharmony_ci {NoFlag, 0x7fffffff, 0x0000007e, 0}, {NoFlag, 0x80000001, 0xffffffff, 0}, 210b8021494Sopenharmony_ci {NoFlag, 0x00000001, 0x80000001, 0}, {NoFlag, 0x00000002, 0x0000007f, 0}, 211b8021494Sopenharmony_ci {NoFlag, 0x7fffffff, 0xcccccccc, 0}, {NoFlag, 0x80000001, 0x00007ffe, 0}, 212b8021494Sopenharmony_ci {NoFlag, 0xffff8002, 0x0000007e, 0}, {NoFlag, 0x00007ffe, 0xcccccccc, 0}, 213b8021494Sopenharmony_ci {NoFlag, 0x80000000, 0xffff8002, 0}, {NoFlag, 0xffffff83, 0x7ffffffe, 0}, 214b8021494Sopenharmony_ci {NoFlag, 0xffff8001, 0x00000001, 0}, {NoFlag, 0xffffff81, 0x00000020, 0}, 215b8021494Sopenharmony_ci {NoFlag, 0xfffffffe, 0xffff8001, 0}, {NoFlag, 0xffffffff, 0xfffffffe, 0}, 216b8021494Sopenharmony_ci {NoFlag, 0xcccccccc, 0x55555555, 0}, {NoFlag, 0x00000020, 0xffffff83, 0}, 217b8021494Sopenharmony_ci {NoFlag, 0xffffff83, 0xffff8001, 0}, {NoFlag, 0xffffff83, 0xffff8000, 0}, 218b8021494Sopenharmony_ci {NoFlag, 0x00007fff, 0x00000002, 0}, {NoFlag, 0x55555555, 0xffff8000, 0}, 219b8021494Sopenharmony_ci {NoFlag, 0x80000001, 0xffffff81, 0}, {NoFlag, 0x00000002, 0x00000000, 0}, 220b8021494Sopenharmony_ci {NoFlag, 0x33333333, 0xffffff81, 0}, {NoFlag, 0xffff8001, 0xffffff82, 0}, 221b8021494Sopenharmony_ci {NoFlag, 0xcccccccc, 0xffff8003, 0}, {NoFlag, 0xffff8003, 0x7ffffffd, 0}, 222b8021494Sopenharmony_ci {NoFlag, 0x0000007d, 0x00007ffe, 0}, {NoFlag, 0xffffff80, 0x0000007d, 0}, 223b8021494Sopenharmony_ci {NoFlag, 0xaaaaaaaa, 0x00007ffd, 0}, {NoFlag, 0x80000000, 0xffffff82, 0}, 224b8021494Sopenharmony_ci {NoFlag, 0x00000002, 0x7ffffffe, 0}, {NoFlag, 0x00000002, 0xffffff83, 0}, 225b8021494Sopenharmony_ci {NoFlag, 0x55555555, 0x00000002, 0}, {NoFlag, 0xffffffff, 0xffffff82, 0}, 226b8021494Sopenharmony_ci {NoFlag, 0xaaaaaaaa, 0x00000020, 0}, {NoFlag, 0x00000001, 0xffffff82, 0}, 227b8021494Sopenharmony_ci {NoFlag, 0x0000007f, 0xffffff82, 0}, {NoFlag, 0x7ffffffd, 0xaaaaaaaa, 0}, 228b8021494Sopenharmony_ci {NoFlag, 0x00007ffe, 0x00000001, 0}, {NoFlag, 0xfffffffd, 0xffffffe0, 0}, 229b8021494Sopenharmony_ci {NoFlag, 0xffffff81, 0xffffff83, 0}, {NoFlag, 0x0000007d, 0x00000000, 0}, 230b8021494Sopenharmony_ci {NoFlag, 0x0000007d, 0xffff8000, 0}, {NoFlag, 0xffffff81, 0x7fffffff, 0}, 231b8021494Sopenharmony_ci {NoFlag, 0xffffffff, 0x80000000, 0}, {NoFlag, 0x00000000, 0x00000001, 0}, 232b8021494Sopenharmony_ci {NoFlag, 0x55555555, 0xffffff82, 0}, {NoFlag, 0x00007ffe, 0x00007ffe, 0}, 233b8021494Sopenharmony_ci {NoFlag, 0x80000001, 0xfffffffd, 0}, {NoFlag, 0x00007fff, 0x33333333, 0}, 234b8021494Sopenharmony_ci {NoFlag, 0x00007fff, 0x80000000, 0}, {NoFlag, 0xcccccccc, 0x00007fff, 0}, 235b8021494Sopenharmony_ci {NoFlag, 0xfffffffe, 0xffffffe0, 0}, {NoFlag, 0x7ffffffe, 0x0000007f, 0}, 236b8021494Sopenharmony_ci {NoFlag, 0x00007ffd, 0xffff8001, 0}, {NoFlag, 0x00000002, 0x00000001, 0}, 237b8021494Sopenharmony_ci {NoFlag, 0x80000000, 0xffffffff, 0}, {NoFlag, 0xffffff83, 0xcccccccc, 0}, 238b8021494Sopenharmony_ci {NoFlag, 0xffff8002, 0x7ffffffe, 0}, {NoFlag, 0xaaaaaaaa, 0x00000000, 0}, 239b8021494Sopenharmony_ci {NoFlag, 0xffffff80, 0xcccccccc, 0}, {NoFlag, 0x33333333, 0xffffff83, 0}, 240b8021494Sopenharmony_ci {NoFlag, 0x0000007e, 0xffffffe0, 0}, {NoFlag, 0x0000007e, 0x00007fff, 0}, 241b8021494Sopenharmony_ci {NoFlag, 0x0000007f, 0x00000002, 0}, {NoFlag, 0x7ffffffe, 0xcccccccc, 0}, 242b8021494Sopenharmony_ci {NoFlag, 0x0000007d, 0xffffff80, 0}, {NoFlag, 0x00007fff, 0x00000020, 0}, 243b8021494Sopenharmony_ci {NoFlag, 0x7ffffffe, 0xfffffffe, 0}, {NoFlag, 0xfffffffe, 0xffffff81, 0}, 244b8021494Sopenharmony_ci {NoFlag, 0xffffffff, 0x0000007f, 0}, {NoFlag, 0xffff8002, 0x7ffffffd, 0}, 245b8021494Sopenharmony_ci {NoFlag, 0xffff8001, 0xfffffffe, 0}, {NoFlag, 0x33333333, 0xffff8002, 0}, 246b8021494Sopenharmony_ci {NoFlag, 0x00000000, 0xffffffff, 0}, {NoFlag, 0x33333333, 0xffffff80, 0}, 247b8021494Sopenharmony_ci {NoFlag, 0x0000007f, 0x00007fff, 0}, {NoFlag, 0xffffffff, 0xffff8001, 0}, 248b8021494Sopenharmony_ci {NoFlag, 0x7fffffff, 0xffff8002, 0}, {NoFlag, 0x7ffffffd, 0xffffff83, 0}, 249b8021494Sopenharmony_ci {NoFlag, 0x7fffffff, 0x0000007f, 0}, {NoFlag, 0xffffff83, 0xfffffffe, 0}, 250b8021494Sopenharmony_ci {NoFlag, 0x7ffffffe, 0xffff8003, 0}, {NoFlag, 0xffff8002, 0xffff8002, 0}, 251b8021494Sopenharmony_ci {NoFlag, 0x80000001, 0x0000007f, 0}, {NoFlag, 0x00000020, 0x00000002, 0}, 252b8021494Sopenharmony_ci {NoFlag, 0xffffff82, 0xffff8001, 0}, {NoFlag, 0xffffffff, 0x00000001, 0}, 253b8021494Sopenharmony_ci {NoFlag, 0xffffff80, 0xffff8002, 0}, {NoFlag, 0xffff8003, 0x7fffffff, 0}, 254b8021494Sopenharmony_ci {NoFlag, 0xffffffff, 0xffff8000, 0}, {NoFlag, 0xffff8002, 0x00007ffd, 0}, 255b8021494Sopenharmony_ci {NoFlag, 0x00000020, 0xffffff81, 0}, {NoFlag, 0x00000001, 0x55555555, 0}, 256b8021494Sopenharmony_ci {NoFlag, 0x7ffffffe, 0x00000020, 0}, {NoFlag, 0x80000000, 0x00000001, 0}, 257b8021494Sopenharmony_ci {NoFlag, 0x00007ffd, 0xffff8002, 0}, {NoFlag, 0x7fffffff, 0xfffffffe, 0}, 258b8021494Sopenharmony_ci {NoFlag, 0xcccccccc, 0x00007ffd, 0}, {NoFlag, 0x00000000, 0xfffffffd, 0}, 259b8021494Sopenharmony_ci {NoFlag, 0xffff8003, 0xffffff80, 0}, {NoFlag, 0x80000001, 0xffffff80, 0}, 260b8021494Sopenharmony_ci {NoFlag, 0xffffffff, 0xffff8002, 0}, {NoFlag, 0x00007ffe, 0xffff8002, 0}, 261b8021494Sopenharmony_ci {NoFlag, 0xffffff80, 0x00007ffe, 0}, {NoFlag, 0x80000001, 0xffff8001, 0}, 262b8021494Sopenharmony_ci {NoFlag, 0x0000007f, 0xffffff80, 0}, {NoFlag, 0xffffff81, 0x80000000, 0}, 263b8021494Sopenharmony_ci {NoFlag, 0x00007fff, 0x00007ffe, 0}, {NoFlag, 0x33333333, 0xffff8000, 0}, 264b8021494Sopenharmony_ci {NoFlag, 0x33333333, 0x00007fff, 0}, {NoFlag, 0x00000000, 0x0000007d, 0}, 265b8021494Sopenharmony_ci {NoFlag, 0x80000001, 0x00000000, 0}, {NoFlag, 0xffffffff, 0x55555555, 0}, 266b8021494Sopenharmony_ci {NoFlag, 0x80000001, 0x80000000, 0}, {NoFlag, 0xffffffff, 0xffffff80, 0}, 267b8021494Sopenharmony_ci {NoFlag, 0xffffff81, 0xffff8003, 0}, {NoFlag, 0x55555555, 0x80000001, 0}, 268b8021494Sopenharmony_ci {NoFlag, 0x7fffffff, 0xffff8001, 0}, {NoFlag, 0xffffff83, 0x00000002, 0}, 269b8021494Sopenharmony_ci {NoFlag, 0x0000007e, 0xffffff81, 0}, {NoFlag, 0x80000000, 0xffff8001, 0}, 270b8021494Sopenharmony_ci {NoFlag, 0xffffff80, 0xfffffffe, 0}, {NoFlag, 0x0000007e, 0xfffffffd, 0}, 271b8021494Sopenharmony_ci {NoFlag, 0xffffffe0, 0xffffffff, 0}, {NoFlag, 0x55555555, 0x80000000, 0}, 272b8021494Sopenharmony_ci {NoFlag, 0x0000007d, 0x80000001, 0}, {NoFlag, 0xffffffe0, 0x7ffffffd, 0}, 273b8021494Sopenharmony_ci {NoFlag, 0x00000000, 0x00000000, 0}, {NoFlag, 0x55555555, 0x00000001, 0}, 274b8021494Sopenharmony_ci {NoFlag, 0x00007ffd, 0x7fffffff, 0}, {NoFlag, 0x55555555, 0xffffffff, 0}, 275b8021494Sopenharmony_ci {NoFlag, 0xffff8003, 0x00007fff, 0}, {NoFlag, 0xffffff82, 0x00007fff, 0}, 276b8021494Sopenharmony_ci {NoFlag, 0x33333333, 0x55555555, 0}, {NoFlag, 0x00000020, 0x33333333, 0}, 277b8021494Sopenharmony_ci {NoFlag, 0x7ffffffe, 0xfffffffd, 0}, {NoFlag, 0x7ffffffe, 0x00000001, 0}, 278b8021494Sopenharmony_ci {NoFlag, 0xffffff83, 0xffffffe0, 0}, {NoFlag, 0xfffffffe, 0xaaaaaaaa, 0}, 279b8021494Sopenharmony_ci {NoFlag, 0xffff8002, 0x33333333, 0}, {NoFlag, 0xffff8002, 0xffff8003, 0}, 280b8021494Sopenharmony_ci {NoFlag, 0x33333333, 0x7fffffff, 0}, {NoFlag, 0xfffffffd, 0xffffff83, 0}, 281b8021494Sopenharmony_ci {NoFlag, 0x00000000, 0xffff8000, 0}, {NoFlag, 0xffffff82, 0x55555555, 0}, 282b8021494Sopenharmony_ci {NoFlag, 0xffffff82, 0xffffff81, 0}, {NoFlag, 0xcccccccc, 0xfffffffe, 0}, 283b8021494Sopenharmony_ci {NoFlag, 0xfffffffd, 0x7fffffff, 0}, {NoFlag, 0x00007fff, 0x7fffffff, 0}, 284b8021494Sopenharmony_ci {NoFlag, 0xffffff83, 0xffff8003, 0}, {NoFlag, 0xfffffffe, 0xffffffff, 0}, 285b8021494Sopenharmony_ci {NoFlag, 0x7ffffffd, 0x00007ffd, 0}, {NoFlag, 0x7ffffffd, 0x00007fff, 0}, 286b8021494Sopenharmony_ci {NoFlag, 0x00007ffd, 0xffffffff, 0}, {NoFlag, 0x00000001, 0xffff8003, 0}, 287b8021494Sopenharmony_ci {NoFlag, 0xffffff80, 0xfffffffd, 0}, {NoFlag, 0x33333333, 0x80000000, 0}, 288b8021494Sopenharmony_ci {NoFlag, 0xffff8001, 0x00000020, 0}, {NoFlag, 0xcccccccc, 0x00000002, 0}, 289b8021494Sopenharmony_ci {NoFlag, 0x00000000, 0x00000002, 0}, {NoFlag, 0x0000007d, 0x00007fff, 0}, 290b8021494Sopenharmony_ci {NoFlag, 0xcccccccc, 0x00000001, 0}, {NoFlag, 0xffffff83, 0x00007fff, 0}, 291b8021494Sopenharmony_ci {NoFlag, 0x80000001, 0x00000020, 0}, {NoFlag, 0xffff8003, 0xffffffe0, 0}, 292b8021494Sopenharmony_ci {NoFlag, 0x00007ffd, 0xaaaaaaaa, 0}, {NoFlag, 0x33333333, 0xffff8001, 0}, 293b8021494Sopenharmony_ci {NoFlag, 0xffffff83, 0x80000001, 0}, {NoFlag, 0xffff8000, 0xffff8000, 0}, 294b8021494Sopenharmony_ci {NoFlag, 0x00007ffe, 0xffff8001, 0}, {NoFlag, 0x7ffffffd, 0x00000000, 0}, 295b8021494Sopenharmony_ci {NoFlag, 0x00007ffe, 0x33333333, 0}, {NoFlag, 0xffff8001, 0xffffff80, 0}, 296b8021494Sopenharmony_ci {NoFlag, 0xfffffffe, 0x55555555, 0}, {NoFlag, 0xffffff82, 0xffffffff, 0}}; 297b8021494Sopenharmony_ci 298b8021494Sopenharmony_cistatic const Inputs kShiftTypes[] = 299b8021494Sopenharmony_ci {{NoFlag, 0xabababab, 0x00000000, 0}, {NoFlag, 0xabababab, 0x00000000, 1}, 300b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 2}, {NoFlag, 0xabababab, 0x00000000, 3}, 301b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 4}, {NoFlag, 0xabababab, 0x00000000, 5}, 302b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 6}, {NoFlag, 0xabababab, 0x00000000, 7}, 303b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 8}, {NoFlag, 0xabababab, 0x00000000, 9}, 304b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 10}, {NoFlag, 0xabababab, 0x00000000, 11}, 305b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 12}, {NoFlag, 0xabababab, 0x00000000, 13}, 306b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 14}, {NoFlag, 0xabababab, 0x00000000, 15}, 307b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 16}, {NoFlag, 0xabababab, 0x00000000, 17}, 308b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 18}, {NoFlag, 0xabababab, 0x00000000, 19}, 309b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 20}, {NoFlag, 0xabababab, 0x00000000, 21}, 310b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 22}, {NoFlag, 0xabababab, 0x00000000, 23}, 311b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 24}, {NoFlag, 0xabababab, 0x00000000, 25}, 312b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 26}, {NoFlag, 0xabababab, 0x00000000, 27}, 313b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 28}, {NoFlag, 0xabababab, 0x00000000, 29}, 314b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 30}, {NoFlag, 0xabababab, 0x00000000, 31}, 315b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000000, 32}, {NoFlag, 0xabababab, 0x00000001, 0}, 316b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 1}, {NoFlag, 0xabababab, 0x00000001, 2}, 317b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 3}, {NoFlag, 0xabababab, 0x00000001, 4}, 318b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 5}, {NoFlag, 0xabababab, 0x00000001, 6}, 319b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 7}, {NoFlag, 0xabababab, 0x00000001, 8}, 320b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 9}, {NoFlag, 0xabababab, 0x00000001, 10}, 321b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 11}, {NoFlag, 0xabababab, 0x00000001, 12}, 322b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 13}, {NoFlag, 0xabababab, 0x00000001, 14}, 323b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 15}, {NoFlag, 0xabababab, 0x00000001, 16}, 324b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 17}, {NoFlag, 0xabababab, 0x00000001, 18}, 325b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 19}, {NoFlag, 0xabababab, 0x00000001, 20}, 326b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 21}, {NoFlag, 0xabababab, 0x00000001, 22}, 327b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 23}, {NoFlag, 0xabababab, 0x00000001, 24}, 328b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 25}, {NoFlag, 0xabababab, 0x00000001, 26}, 329b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 27}, {NoFlag, 0xabababab, 0x00000001, 28}, 330b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 29}, {NoFlag, 0xabababab, 0x00000001, 30}, 331b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000001, 31}, {NoFlag, 0xabababab, 0x00000001, 32}, 332b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 0}, {NoFlag, 0xabababab, 0x00000002, 1}, 333b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 2}, {NoFlag, 0xabababab, 0x00000002, 3}, 334b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 4}, {NoFlag, 0xabababab, 0x00000002, 5}, 335b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 6}, {NoFlag, 0xabababab, 0x00000002, 7}, 336b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 8}, {NoFlag, 0xabababab, 0x00000002, 9}, 337b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 10}, {NoFlag, 0xabababab, 0x00000002, 11}, 338b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 12}, {NoFlag, 0xabababab, 0x00000002, 13}, 339b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 14}, {NoFlag, 0xabababab, 0x00000002, 15}, 340b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 16}, {NoFlag, 0xabababab, 0x00000002, 17}, 341b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 18}, {NoFlag, 0xabababab, 0x00000002, 19}, 342b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 20}, {NoFlag, 0xabababab, 0x00000002, 21}, 343b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 22}, {NoFlag, 0xabababab, 0x00000002, 23}, 344b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 24}, {NoFlag, 0xabababab, 0x00000002, 25}, 345b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 26}, {NoFlag, 0xabababab, 0x00000002, 27}, 346b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 28}, {NoFlag, 0xabababab, 0x00000002, 29}, 347b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 30}, {NoFlag, 0xabababab, 0x00000002, 31}, 348b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000002, 32}, {NoFlag, 0xabababab, 0x00000020, 0}, 349b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 1}, {NoFlag, 0xabababab, 0x00000020, 2}, 350b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 3}, {NoFlag, 0xabababab, 0x00000020, 4}, 351b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 5}, {NoFlag, 0xabababab, 0x00000020, 6}, 352b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 7}, {NoFlag, 0xabababab, 0x00000020, 8}, 353b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 9}, {NoFlag, 0xabababab, 0x00000020, 10}, 354b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 11}, {NoFlag, 0xabababab, 0x00000020, 12}, 355b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 13}, {NoFlag, 0xabababab, 0x00000020, 14}, 356b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 15}, {NoFlag, 0xabababab, 0x00000020, 16}, 357b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 17}, {NoFlag, 0xabababab, 0x00000020, 18}, 358b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 19}, {NoFlag, 0xabababab, 0x00000020, 20}, 359b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 21}, {NoFlag, 0xabababab, 0x00000020, 22}, 360b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 23}, {NoFlag, 0xabababab, 0x00000020, 24}, 361b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 25}, {NoFlag, 0xabababab, 0x00000020, 26}, 362b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 27}, {NoFlag, 0xabababab, 0x00000020, 28}, 363b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 29}, {NoFlag, 0xabababab, 0x00000020, 30}, 364b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00000020, 31}, {NoFlag, 0xabababab, 0x00000020, 32}, 365b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 0}, {NoFlag, 0xabababab, 0x0000007d, 1}, 366b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 2}, {NoFlag, 0xabababab, 0x0000007d, 3}, 367b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 4}, {NoFlag, 0xabababab, 0x0000007d, 5}, 368b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 6}, {NoFlag, 0xabababab, 0x0000007d, 7}, 369b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 8}, {NoFlag, 0xabababab, 0x0000007d, 9}, 370b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 10}, {NoFlag, 0xabababab, 0x0000007d, 11}, 371b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 12}, {NoFlag, 0xabababab, 0x0000007d, 13}, 372b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 14}, {NoFlag, 0xabababab, 0x0000007d, 15}, 373b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 16}, {NoFlag, 0xabababab, 0x0000007d, 17}, 374b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 18}, {NoFlag, 0xabababab, 0x0000007d, 19}, 375b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 20}, {NoFlag, 0xabababab, 0x0000007d, 21}, 376b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 22}, {NoFlag, 0xabababab, 0x0000007d, 23}, 377b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 24}, {NoFlag, 0xabababab, 0x0000007d, 25}, 378b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 26}, {NoFlag, 0xabababab, 0x0000007d, 27}, 379b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 28}, {NoFlag, 0xabababab, 0x0000007d, 29}, 380b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 30}, {NoFlag, 0xabababab, 0x0000007d, 31}, 381b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007d, 32}, {NoFlag, 0xabababab, 0x0000007e, 0}, 382b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 1}, {NoFlag, 0xabababab, 0x0000007e, 2}, 383b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 3}, {NoFlag, 0xabababab, 0x0000007e, 4}, 384b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 5}, {NoFlag, 0xabababab, 0x0000007e, 6}, 385b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 7}, {NoFlag, 0xabababab, 0x0000007e, 8}, 386b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 9}, {NoFlag, 0xabababab, 0x0000007e, 10}, 387b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 11}, {NoFlag, 0xabababab, 0x0000007e, 12}, 388b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 13}, {NoFlag, 0xabababab, 0x0000007e, 14}, 389b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 15}, {NoFlag, 0xabababab, 0x0000007e, 16}, 390b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 17}, {NoFlag, 0xabababab, 0x0000007e, 18}, 391b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 19}, {NoFlag, 0xabababab, 0x0000007e, 20}, 392b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 21}, {NoFlag, 0xabababab, 0x0000007e, 22}, 393b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 23}, {NoFlag, 0xabababab, 0x0000007e, 24}, 394b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 25}, {NoFlag, 0xabababab, 0x0000007e, 26}, 395b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 27}, {NoFlag, 0xabababab, 0x0000007e, 28}, 396b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 29}, {NoFlag, 0xabababab, 0x0000007e, 30}, 397b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007e, 31}, {NoFlag, 0xabababab, 0x0000007e, 32}, 398b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 0}, {NoFlag, 0xabababab, 0x0000007f, 1}, 399b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 2}, {NoFlag, 0xabababab, 0x0000007f, 3}, 400b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 4}, {NoFlag, 0xabababab, 0x0000007f, 5}, 401b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 6}, {NoFlag, 0xabababab, 0x0000007f, 7}, 402b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 8}, {NoFlag, 0xabababab, 0x0000007f, 9}, 403b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 10}, {NoFlag, 0xabababab, 0x0000007f, 11}, 404b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 12}, {NoFlag, 0xabababab, 0x0000007f, 13}, 405b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 14}, {NoFlag, 0xabababab, 0x0000007f, 15}, 406b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 16}, {NoFlag, 0xabababab, 0x0000007f, 17}, 407b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 18}, {NoFlag, 0xabababab, 0x0000007f, 19}, 408b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 20}, {NoFlag, 0xabababab, 0x0000007f, 21}, 409b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 22}, {NoFlag, 0xabababab, 0x0000007f, 23}, 410b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 24}, {NoFlag, 0xabababab, 0x0000007f, 25}, 411b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 26}, {NoFlag, 0xabababab, 0x0000007f, 27}, 412b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 28}, {NoFlag, 0xabababab, 0x0000007f, 29}, 413b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 30}, {NoFlag, 0xabababab, 0x0000007f, 31}, 414b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x0000007f, 32}, {NoFlag, 0xabababab, 0x00007ffd, 0}, 415b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 1}, {NoFlag, 0xabababab, 0x00007ffd, 2}, 416b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 3}, {NoFlag, 0xabababab, 0x00007ffd, 4}, 417b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 5}, {NoFlag, 0xabababab, 0x00007ffd, 6}, 418b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 7}, {NoFlag, 0xabababab, 0x00007ffd, 8}, 419b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 9}, {NoFlag, 0xabababab, 0x00007ffd, 10}, 420b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 11}, {NoFlag, 0xabababab, 0x00007ffd, 12}, 421b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 13}, {NoFlag, 0xabababab, 0x00007ffd, 14}, 422b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 15}, {NoFlag, 0xabababab, 0x00007ffd, 16}, 423b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 17}, {NoFlag, 0xabababab, 0x00007ffd, 18}, 424b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 19}, {NoFlag, 0xabababab, 0x00007ffd, 20}, 425b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 21}, {NoFlag, 0xabababab, 0x00007ffd, 22}, 426b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 23}, {NoFlag, 0xabababab, 0x00007ffd, 24}, 427b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 25}, {NoFlag, 0xabababab, 0x00007ffd, 26}, 428b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 27}, {NoFlag, 0xabababab, 0x00007ffd, 28}, 429b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 29}, {NoFlag, 0xabababab, 0x00007ffd, 30}, 430b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffd, 31}, {NoFlag, 0xabababab, 0x00007ffd, 32}, 431b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 0}, {NoFlag, 0xabababab, 0x00007ffe, 1}, 432b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 2}, {NoFlag, 0xabababab, 0x00007ffe, 3}, 433b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 4}, {NoFlag, 0xabababab, 0x00007ffe, 5}, 434b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 6}, {NoFlag, 0xabababab, 0x00007ffe, 7}, 435b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 8}, {NoFlag, 0xabababab, 0x00007ffe, 9}, 436b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 10}, {NoFlag, 0xabababab, 0x00007ffe, 11}, 437b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 12}, {NoFlag, 0xabababab, 0x00007ffe, 13}, 438b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 14}, {NoFlag, 0xabababab, 0x00007ffe, 15}, 439b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 16}, {NoFlag, 0xabababab, 0x00007ffe, 17}, 440b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 18}, {NoFlag, 0xabababab, 0x00007ffe, 19}, 441b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 20}, {NoFlag, 0xabababab, 0x00007ffe, 21}, 442b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 22}, {NoFlag, 0xabababab, 0x00007ffe, 23}, 443b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 24}, {NoFlag, 0xabababab, 0x00007ffe, 25}, 444b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 26}, {NoFlag, 0xabababab, 0x00007ffe, 27}, 445b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 28}, {NoFlag, 0xabababab, 0x00007ffe, 29}, 446b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 30}, {NoFlag, 0xabababab, 0x00007ffe, 31}, 447b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007ffe, 32}, {NoFlag, 0xabababab, 0x00007fff, 0}, 448b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 1}, {NoFlag, 0xabababab, 0x00007fff, 2}, 449b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 3}, {NoFlag, 0xabababab, 0x00007fff, 4}, 450b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 5}, {NoFlag, 0xabababab, 0x00007fff, 6}, 451b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 7}, {NoFlag, 0xabababab, 0x00007fff, 8}, 452b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 9}, {NoFlag, 0xabababab, 0x00007fff, 10}, 453b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 11}, {NoFlag, 0xabababab, 0x00007fff, 12}, 454b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 13}, {NoFlag, 0xabababab, 0x00007fff, 14}, 455b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 15}, {NoFlag, 0xabababab, 0x00007fff, 16}, 456b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 17}, {NoFlag, 0xabababab, 0x00007fff, 18}, 457b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 19}, {NoFlag, 0xabababab, 0x00007fff, 20}, 458b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 21}, {NoFlag, 0xabababab, 0x00007fff, 22}, 459b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 23}, {NoFlag, 0xabababab, 0x00007fff, 24}, 460b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 25}, {NoFlag, 0xabababab, 0x00007fff, 26}, 461b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 27}, {NoFlag, 0xabababab, 0x00007fff, 28}, 462b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 29}, {NoFlag, 0xabababab, 0x00007fff, 30}, 463b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x00007fff, 31}, {NoFlag, 0xabababab, 0x00007fff, 32}, 464b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 0}, {NoFlag, 0xabababab, 0x33333333, 1}, 465b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 2}, {NoFlag, 0xabababab, 0x33333333, 3}, 466b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 4}, {NoFlag, 0xabababab, 0x33333333, 5}, 467b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 6}, {NoFlag, 0xabababab, 0x33333333, 7}, 468b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 8}, {NoFlag, 0xabababab, 0x33333333, 9}, 469b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 10}, {NoFlag, 0xabababab, 0x33333333, 11}, 470b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 12}, {NoFlag, 0xabababab, 0x33333333, 13}, 471b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 14}, {NoFlag, 0xabababab, 0x33333333, 15}, 472b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 16}, {NoFlag, 0xabababab, 0x33333333, 17}, 473b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 18}, {NoFlag, 0xabababab, 0x33333333, 19}, 474b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 20}, {NoFlag, 0xabababab, 0x33333333, 21}, 475b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 22}, {NoFlag, 0xabababab, 0x33333333, 23}, 476b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 24}, {NoFlag, 0xabababab, 0x33333333, 25}, 477b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 26}, {NoFlag, 0xabababab, 0x33333333, 27}, 478b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 28}, {NoFlag, 0xabababab, 0x33333333, 29}, 479b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 30}, {NoFlag, 0xabababab, 0x33333333, 31}, 480b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x33333333, 32}, {NoFlag, 0xabababab, 0x55555555, 0}, 481b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 1}, {NoFlag, 0xabababab, 0x55555555, 2}, 482b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 3}, {NoFlag, 0xabababab, 0x55555555, 4}, 483b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 5}, {NoFlag, 0xabababab, 0x55555555, 6}, 484b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 7}, {NoFlag, 0xabababab, 0x55555555, 8}, 485b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 9}, {NoFlag, 0xabababab, 0x55555555, 10}, 486b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 11}, {NoFlag, 0xabababab, 0x55555555, 12}, 487b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 13}, {NoFlag, 0xabababab, 0x55555555, 14}, 488b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 15}, {NoFlag, 0xabababab, 0x55555555, 16}, 489b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 17}, {NoFlag, 0xabababab, 0x55555555, 18}, 490b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 19}, {NoFlag, 0xabababab, 0x55555555, 20}, 491b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 21}, {NoFlag, 0xabababab, 0x55555555, 22}, 492b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 23}, {NoFlag, 0xabababab, 0x55555555, 24}, 493b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 25}, {NoFlag, 0xabababab, 0x55555555, 26}, 494b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 27}, {NoFlag, 0xabababab, 0x55555555, 28}, 495b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 29}, {NoFlag, 0xabababab, 0x55555555, 30}, 496b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x55555555, 31}, {NoFlag, 0xabababab, 0x55555555, 32}, 497b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 0}, {NoFlag, 0xabababab, 0x7ffffffd, 1}, 498b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 2}, {NoFlag, 0xabababab, 0x7ffffffd, 3}, 499b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 4}, {NoFlag, 0xabababab, 0x7ffffffd, 5}, 500b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 6}, {NoFlag, 0xabababab, 0x7ffffffd, 7}, 501b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 8}, {NoFlag, 0xabababab, 0x7ffffffd, 9}, 502b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 10}, {NoFlag, 0xabababab, 0x7ffffffd, 11}, 503b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 12}, {NoFlag, 0xabababab, 0x7ffffffd, 13}, 504b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 14}, {NoFlag, 0xabababab, 0x7ffffffd, 15}, 505b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 16}, {NoFlag, 0xabababab, 0x7ffffffd, 17}, 506b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 18}, {NoFlag, 0xabababab, 0x7ffffffd, 19}, 507b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 20}, {NoFlag, 0xabababab, 0x7ffffffd, 21}, 508b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 22}, {NoFlag, 0xabababab, 0x7ffffffd, 23}, 509b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 24}, {NoFlag, 0xabababab, 0x7ffffffd, 25}, 510b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 26}, {NoFlag, 0xabababab, 0x7ffffffd, 27}, 511b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 28}, {NoFlag, 0xabababab, 0x7ffffffd, 29}, 512b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 30}, {NoFlag, 0xabababab, 0x7ffffffd, 31}, 513b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffd, 32}, {NoFlag, 0xabababab, 0x7ffffffe, 0}, 514b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 1}, {NoFlag, 0xabababab, 0x7ffffffe, 2}, 515b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 3}, {NoFlag, 0xabababab, 0x7ffffffe, 4}, 516b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 5}, {NoFlag, 0xabababab, 0x7ffffffe, 6}, 517b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 7}, {NoFlag, 0xabababab, 0x7ffffffe, 8}, 518b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 9}, {NoFlag, 0xabababab, 0x7ffffffe, 10}, 519b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 11}, {NoFlag, 0xabababab, 0x7ffffffe, 12}, 520b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 13}, {NoFlag, 0xabababab, 0x7ffffffe, 14}, 521b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 15}, {NoFlag, 0xabababab, 0x7ffffffe, 16}, 522b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 17}, {NoFlag, 0xabababab, 0x7ffffffe, 18}, 523b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 19}, {NoFlag, 0xabababab, 0x7ffffffe, 20}, 524b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 21}, {NoFlag, 0xabababab, 0x7ffffffe, 22}, 525b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 23}, {NoFlag, 0xabababab, 0x7ffffffe, 24}, 526b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 25}, {NoFlag, 0xabababab, 0x7ffffffe, 26}, 527b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 27}, {NoFlag, 0xabababab, 0x7ffffffe, 28}, 528b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 29}, {NoFlag, 0xabababab, 0x7ffffffe, 30}, 529b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7ffffffe, 31}, {NoFlag, 0xabababab, 0x7ffffffe, 32}, 530b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 0}, {NoFlag, 0xabababab, 0x7fffffff, 1}, 531b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 2}, {NoFlag, 0xabababab, 0x7fffffff, 3}, 532b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 4}, {NoFlag, 0xabababab, 0x7fffffff, 5}, 533b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 6}, {NoFlag, 0xabababab, 0x7fffffff, 7}, 534b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 8}, {NoFlag, 0xabababab, 0x7fffffff, 9}, 535b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 10}, {NoFlag, 0xabababab, 0x7fffffff, 11}, 536b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 12}, {NoFlag, 0xabababab, 0x7fffffff, 13}, 537b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 14}, {NoFlag, 0xabababab, 0x7fffffff, 15}, 538b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 16}, {NoFlag, 0xabababab, 0x7fffffff, 17}, 539b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 18}, {NoFlag, 0xabababab, 0x7fffffff, 19}, 540b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 20}, {NoFlag, 0xabababab, 0x7fffffff, 21}, 541b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 22}, {NoFlag, 0xabababab, 0x7fffffff, 23}, 542b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 24}, {NoFlag, 0xabababab, 0x7fffffff, 25}, 543b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 26}, {NoFlag, 0xabababab, 0x7fffffff, 27}, 544b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 28}, {NoFlag, 0xabababab, 0x7fffffff, 29}, 545b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 30}, {NoFlag, 0xabababab, 0x7fffffff, 31}, 546b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x7fffffff, 32}, {NoFlag, 0xabababab, 0x80000000, 0}, 547b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 1}, {NoFlag, 0xabababab, 0x80000000, 2}, 548b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 3}, {NoFlag, 0xabababab, 0x80000000, 4}, 549b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 5}, {NoFlag, 0xabababab, 0x80000000, 6}, 550b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 7}, {NoFlag, 0xabababab, 0x80000000, 8}, 551b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 9}, {NoFlag, 0xabababab, 0x80000000, 10}, 552b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 11}, {NoFlag, 0xabababab, 0x80000000, 12}, 553b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 13}, {NoFlag, 0xabababab, 0x80000000, 14}, 554b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 15}, {NoFlag, 0xabababab, 0x80000000, 16}, 555b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 17}, {NoFlag, 0xabababab, 0x80000000, 18}, 556b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 19}, {NoFlag, 0xabababab, 0x80000000, 20}, 557b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 21}, {NoFlag, 0xabababab, 0x80000000, 22}, 558b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 23}, {NoFlag, 0xabababab, 0x80000000, 24}, 559b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 25}, {NoFlag, 0xabababab, 0x80000000, 26}, 560b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 27}, {NoFlag, 0xabababab, 0x80000000, 28}, 561b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 29}, {NoFlag, 0xabababab, 0x80000000, 30}, 562b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000000, 31}, {NoFlag, 0xabababab, 0x80000000, 32}, 563b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 0}, {NoFlag, 0xabababab, 0x80000001, 1}, 564b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 2}, {NoFlag, 0xabababab, 0x80000001, 3}, 565b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 4}, {NoFlag, 0xabababab, 0x80000001, 5}, 566b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 6}, {NoFlag, 0xabababab, 0x80000001, 7}, 567b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 8}, {NoFlag, 0xabababab, 0x80000001, 9}, 568b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 10}, {NoFlag, 0xabababab, 0x80000001, 11}, 569b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 12}, {NoFlag, 0xabababab, 0x80000001, 13}, 570b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 14}, {NoFlag, 0xabababab, 0x80000001, 15}, 571b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 16}, {NoFlag, 0xabababab, 0x80000001, 17}, 572b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 18}, {NoFlag, 0xabababab, 0x80000001, 19}, 573b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 20}, {NoFlag, 0xabababab, 0x80000001, 21}, 574b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 22}, {NoFlag, 0xabababab, 0x80000001, 23}, 575b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 24}, {NoFlag, 0xabababab, 0x80000001, 25}, 576b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 26}, {NoFlag, 0xabababab, 0x80000001, 27}, 577b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 28}, {NoFlag, 0xabababab, 0x80000001, 29}, 578b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 30}, {NoFlag, 0xabababab, 0x80000001, 31}, 579b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0x80000001, 32}, {NoFlag, 0xabababab, 0xaaaaaaaa, 0}, 580b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 1}, {NoFlag, 0xabababab, 0xaaaaaaaa, 2}, 581b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 3}, {NoFlag, 0xabababab, 0xaaaaaaaa, 4}, 582b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 5}, {NoFlag, 0xabababab, 0xaaaaaaaa, 6}, 583b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 7}, {NoFlag, 0xabababab, 0xaaaaaaaa, 8}, 584b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 9}, {NoFlag, 0xabababab, 0xaaaaaaaa, 10}, 585b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 11}, {NoFlag, 0xabababab, 0xaaaaaaaa, 12}, 586b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 13}, {NoFlag, 0xabababab, 0xaaaaaaaa, 14}, 587b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 15}, {NoFlag, 0xabababab, 0xaaaaaaaa, 16}, 588b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 17}, {NoFlag, 0xabababab, 0xaaaaaaaa, 18}, 589b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 19}, {NoFlag, 0xabababab, 0xaaaaaaaa, 20}, 590b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 21}, {NoFlag, 0xabababab, 0xaaaaaaaa, 22}, 591b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 23}, {NoFlag, 0xabababab, 0xaaaaaaaa, 24}, 592b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 25}, {NoFlag, 0xabababab, 0xaaaaaaaa, 26}, 593b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 27}, {NoFlag, 0xabababab, 0xaaaaaaaa, 28}, 594b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 29}, {NoFlag, 0xabababab, 0xaaaaaaaa, 30}, 595b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xaaaaaaaa, 31}, {NoFlag, 0xabababab, 0xaaaaaaaa, 32}, 596b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 0}, {NoFlag, 0xabababab, 0xcccccccc, 1}, 597b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 2}, {NoFlag, 0xabababab, 0xcccccccc, 3}, 598b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 4}, {NoFlag, 0xabababab, 0xcccccccc, 5}, 599b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 6}, {NoFlag, 0xabababab, 0xcccccccc, 7}, 600b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 8}, {NoFlag, 0xabababab, 0xcccccccc, 9}, 601b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 10}, {NoFlag, 0xabababab, 0xcccccccc, 11}, 602b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 12}, {NoFlag, 0xabababab, 0xcccccccc, 13}, 603b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 14}, {NoFlag, 0xabababab, 0xcccccccc, 15}, 604b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 16}, {NoFlag, 0xabababab, 0xcccccccc, 17}, 605b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 18}, {NoFlag, 0xabababab, 0xcccccccc, 19}, 606b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 20}, {NoFlag, 0xabababab, 0xcccccccc, 21}, 607b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 22}, {NoFlag, 0xabababab, 0xcccccccc, 23}, 608b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 24}, {NoFlag, 0xabababab, 0xcccccccc, 25}, 609b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 26}, {NoFlag, 0xabababab, 0xcccccccc, 27}, 610b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 28}, {NoFlag, 0xabababab, 0xcccccccc, 29}, 611b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 30}, {NoFlag, 0xabababab, 0xcccccccc, 31}, 612b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xcccccccc, 32}, {NoFlag, 0xabababab, 0xffff8000, 0}, 613b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 1}, {NoFlag, 0xabababab, 0xffff8000, 2}, 614b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 3}, {NoFlag, 0xabababab, 0xffff8000, 4}, 615b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 5}, {NoFlag, 0xabababab, 0xffff8000, 6}, 616b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 7}, {NoFlag, 0xabababab, 0xffff8000, 8}, 617b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 9}, {NoFlag, 0xabababab, 0xffff8000, 10}, 618b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 11}, {NoFlag, 0xabababab, 0xffff8000, 12}, 619b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 13}, {NoFlag, 0xabababab, 0xffff8000, 14}, 620b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 15}, {NoFlag, 0xabababab, 0xffff8000, 16}, 621b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 17}, {NoFlag, 0xabababab, 0xffff8000, 18}, 622b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 19}, {NoFlag, 0xabababab, 0xffff8000, 20}, 623b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 21}, {NoFlag, 0xabababab, 0xffff8000, 22}, 624b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 23}, {NoFlag, 0xabababab, 0xffff8000, 24}, 625b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 25}, {NoFlag, 0xabababab, 0xffff8000, 26}, 626b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 27}, {NoFlag, 0xabababab, 0xffff8000, 28}, 627b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 29}, {NoFlag, 0xabababab, 0xffff8000, 30}, 628b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8000, 31}, {NoFlag, 0xabababab, 0xffff8000, 32}, 629b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 0}, {NoFlag, 0xabababab, 0xffff8001, 1}, 630b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 2}, {NoFlag, 0xabababab, 0xffff8001, 3}, 631b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 4}, {NoFlag, 0xabababab, 0xffff8001, 5}, 632b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 6}, {NoFlag, 0xabababab, 0xffff8001, 7}, 633b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 8}, {NoFlag, 0xabababab, 0xffff8001, 9}, 634b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 10}, {NoFlag, 0xabababab, 0xffff8001, 11}, 635b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 12}, {NoFlag, 0xabababab, 0xffff8001, 13}, 636b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 14}, {NoFlag, 0xabababab, 0xffff8001, 15}, 637b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 16}, {NoFlag, 0xabababab, 0xffff8001, 17}, 638b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 18}, {NoFlag, 0xabababab, 0xffff8001, 19}, 639b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 20}, {NoFlag, 0xabababab, 0xffff8001, 21}, 640b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 22}, {NoFlag, 0xabababab, 0xffff8001, 23}, 641b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 24}, {NoFlag, 0xabababab, 0xffff8001, 25}, 642b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 26}, {NoFlag, 0xabababab, 0xffff8001, 27}, 643b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 28}, {NoFlag, 0xabababab, 0xffff8001, 29}, 644b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 30}, {NoFlag, 0xabababab, 0xffff8001, 31}, 645b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8001, 32}, {NoFlag, 0xabababab, 0xffff8002, 0}, 646b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 1}, {NoFlag, 0xabababab, 0xffff8002, 2}, 647b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 3}, {NoFlag, 0xabababab, 0xffff8002, 4}, 648b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 5}, {NoFlag, 0xabababab, 0xffff8002, 6}, 649b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 7}, {NoFlag, 0xabababab, 0xffff8002, 8}, 650b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 9}, {NoFlag, 0xabababab, 0xffff8002, 10}, 651b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 11}, {NoFlag, 0xabababab, 0xffff8002, 12}, 652b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 13}, {NoFlag, 0xabababab, 0xffff8002, 14}, 653b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 15}, {NoFlag, 0xabababab, 0xffff8002, 16}, 654b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 17}, {NoFlag, 0xabababab, 0xffff8002, 18}, 655b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 19}, {NoFlag, 0xabababab, 0xffff8002, 20}, 656b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 21}, {NoFlag, 0xabababab, 0xffff8002, 22}, 657b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 23}, {NoFlag, 0xabababab, 0xffff8002, 24}, 658b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 25}, {NoFlag, 0xabababab, 0xffff8002, 26}, 659b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 27}, {NoFlag, 0xabababab, 0xffff8002, 28}, 660b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 29}, {NoFlag, 0xabababab, 0xffff8002, 30}, 661b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8002, 31}, {NoFlag, 0xabababab, 0xffff8002, 32}, 662b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 0}, {NoFlag, 0xabababab, 0xffff8003, 1}, 663b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 2}, {NoFlag, 0xabababab, 0xffff8003, 3}, 664b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 4}, {NoFlag, 0xabababab, 0xffff8003, 5}, 665b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 6}, {NoFlag, 0xabababab, 0xffff8003, 7}, 666b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 8}, {NoFlag, 0xabababab, 0xffff8003, 9}, 667b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 10}, {NoFlag, 0xabababab, 0xffff8003, 11}, 668b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 12}, {NoFlag, 0xabababab, 0xffff8003, 13}, 669b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 14}, {NoFlag, 0xabababab, 0xffff8003, 15}, 670b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 16}, {NoFlag, 0xabababab, 0xffff8003, 17}, 671b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 18}, {NoFlag, 0xabababab, 0xffff8003, 19}, 672b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 20}, {NoFlag, 0xabababab, 0xffff8003, 21}, 673b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 22}, {NoFlag, 0xabababab, 0xffff8003, 23}, 674b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 24}, {NoFlag, 0xabababab, 0xffff8003, 25}, 675b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 26}, {NoFlag, 0xabababab, 0xffff8003, 27}, 676b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 28}, {NoFlag, 0xabababab, 0xffff8003, 29}, 677b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 30}, {NoFlag, 0xabababab, 0xffff8003, 31}, 678b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffff8003, 32}, {NoFlag, 0xabababab, 0xffffff80, 0}, 679b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 1}, {NoFlag, 0xabababab, 0xffffff80, 2}, 680b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 3}, {NoFlag, 0xabababab, 0xffffff80, 4}, 681b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 5}, {NoFlag, 0xabababab, 0xffffff80, 6}, 682b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 7}, {NoFlag, 0xabababab, 0xffffff80, 8}, 683b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 9}, {NoFlag, 0xabababab, 0xffffff80, 10}, 684b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 11}, {NoFlag, 0xabababab, 0xffffff80, 12}, 685b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 13}, {NoFlag, 0xabababab, 0xffffff80, 14}, 686b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 15}, {NoFlag, 0xabababab, 0xffffff80, 16}, 687b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 17}, {NoFlag, 0xabababab, 0xffffff80, 18}, 688b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 19}, {NoFlag, 0xabababab, 0xffffff80, 20}, 689b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 21}, {NoFlag, 0xabababab, 0xffffff80, 22}, 690b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 23}, {NoFlag, 0xabababab, 0xffffff80, 24}, 691b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 25}, {NoFlag, 0xabababab, 0xffffff80, 26}, 692b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 27}, {NoFlag, 0xabababab, 0xffffff80, 28}, 693b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 29}, {NoFlag, 0xabababab, 0xffffff80, 30}, 694b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff80, 31}, {NoFlag, 0xabababab, 0xffffff80, 32}, 695b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 0}, {NoFlag, 0xabababab, 0xffffff81, 1}, 696b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 2}, {NoFlag, 0xabababab, 0xffffff81, 3}, 697b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 4}, {NoFlag, 0xabababab, 0xffffff81, 5}, 698b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 6}, {NoFlag, 0xabababab, 0xffffff81, 7}, 699b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 8}, {NoFlag, 0xabababab, 0xffffff81, 9}, 700b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 10}, {NoFlag, 0xabababab, 0xffffff81, 11}, 701b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 12}, {NoFlag, 0xabababab, 0xffffff81, 13}, 702b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 14}, {NoFlag, 0xabababab, 0xffffff81, 15}, 703b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 16}, {NoFlag, 0xabababab, 0xffffff81, 17}, 704b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 18}, {NoFlag, 0xabababab, 0xffffff81, 19}, 705b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 20}, {NoFlag, 0xabababab, 0xffffff81, 21}, 706b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 22}, {NoFlag, 0xabababab, 0xffffff81, 23}, 707b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 24}, {NoFlag, 0xabababab, 0xffffff81, 25}, 708b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 26}, {NoFlag, 0xabababab, 0xffffff81, 27}, 709b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 28}, {NoFlag, 0xabababab, 0xffffff81, 29}, 710b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 30}, {NoFlag, 0xabababab, 0xffffff81, 31}, 711b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff81, 32}, {NoFlag, 0xabababab, 0xffffff82, 0}, 712b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 1}, {NoFlag, 0xabababab, 0xffffff82, 2}, 713b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 3}, {NoFlag, 0xabababab, 0xffffff82, 4}, 714b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 5}, {NoFlag, 0xabababab, 0xffffff82, 6}, 715b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 7}, {NoFlag, 0xabababab, 0xffffff82, 8}, 716b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 9}, {NoFlag, 0xabababab, 0xffffff82, 10}, 717b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 11}, {NoFlag, 0xabababab, 0xffffff82, 12}, 718b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 13}, {NoFlag, 0xabababab, 0xffffff82, 14}, 719b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 15}, {NoFlag, 0xabababab, 0xffffff82, 16}, 720b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 17}, {NoFlag, 0xabababab, 0xffffff82, 18}, 721b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 19}, {NoFlag, 0xabababab, 0xffffff82, 20}, 722b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 21}, {NoFlag, 0xabababab, 0xffffff82, 22}, 723b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 23}, {NoFlag, 0xabababab, 0xffffff82, 24}, 724b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 25}, {NoFlag, 0xabababab, 0xffffff82, 26}, 725b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 27}, {NoFlag, 0xabababab, 0xffffff82, 28}, 726b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 29}, {NoFlag, 0xabababab, 0xffffff82, 30}, 727b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff82, 31}, {NoFlag, 0xabababab, 0xffffff82, 32}, 728b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 0}, {NoFlag, 0xabababab, 0xffffff83, 1}, 729b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 2}, {NoFlag, 0xabababab, 0xffffff83, 3}, 730b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 4}, {NoFlag, 0xabababab, 0xffffff83, 5}, 731b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 6}, {NoFlag, 0xabababab, 0xffffff83, 7}, 732b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 8}, {NoFlag, 0xabababab, 0xffffff83, 9}, 733b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 10}, {NoFlag, 0xabababab, 0xffffff83, 11}, 734b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 12}, {NoFlag, 0xabababab, 0xffffff83, 13}, 735b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 14}, {NoFlag, 0xabababab, 0xffffff83, 15}, 736b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 16}, {NoFlag, 0xabababab, 0xffffff83, 17}, 737b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 18}, {NoFlag, 0xabababab, 0xffffff83, 19}, 738b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 20}, {NoFlag, 0xabababab, 0xffffff83, 21}, 739b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 22}, {NoFlag, 0xabababab, 0xffffff83, 23}, 740b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 24}, {NoFlag, 0xabababab, 0xffffff83, 25}, 741b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 26}, {NoFlag, 0xabababab, 0xffffff83, 27}, 742b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 28}, {NoFlag, 0xabababab, 0xffffff83, 29}, 743b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 30}, {NoFlag, 0xabababab, 0xffffff83, 31}, 744b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffff83, 32}, {NoFlag, 0xabababab, 0xffffffe0, 0}, 745b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 1}, {NoFlag, 0xabababab, 0xffffffe0, 2}, 746b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 3}, {NoFlag, 0xabababab, 0xffffffe0, 4}, 747b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 5}, {NoFlag, 0xabababab, 0xffffffe0, 6}, 748b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 7}, {NoFlag, 0xabababab, 0xffffffe0, 8}, 749b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 9}, {NoFlag, 0xabababab, 0xffffffe0, 10}, 750b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 11}, {NoFlag, 0xabababab, 0xffffffe0, 12}, 751b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 13}, {NoFlag, 0xabababab, 0xffffffe0, 14}, 752b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 15}, {NoFlag, 0xabababab, 0xffffffe0, 16}, 753b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 17}, {NoFlag, 0xabababab, 0xffffffe0, 18}, 754b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 19}, {NoFlag, 0xabababab, 0xffffffe0, 20}, 755b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 21}, {NoFlag, 0xabababab, 0xffffffe0, 22}, 756b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 23}, {NoFlag, 0xabababab, 0xffffffe0, 24}, 757b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 25}, {NoFlag, 0xabababab, 0xffffffe0, 26}, 758b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 27}, {NoFlag, 0xabababab, 0xffffffe0, 28}, 759b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 29}, {NoFlag, 0xabababab, 0xffffffe0, 30}, 760b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffe0, 31}, {NoFlag, 0xabababab, 0xffffffe0, 32}, 761b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 0}, {NoFlag, 0xabababab, 0xfffffffd, 1}, 762b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 2}, {NoFlag, 0xabababab, 0xfffffffd, 3}, 763b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 4}, {NoFlag, 0xabababab, 0xfffffffd, 5}, 764b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 6}, {NoFlag, 0xabababab, 0xfffffffd, 7}, 765b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 8}, {NoFlag, 0xabababab, 0xfffffffd, 9}, 766b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 10}, {NoFlag, 0xabababab, 0xfffffffd, 11}, 767b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 12}, {NoFlag, 0xabababab, 0xfffffffd, 13}, 768b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 14}, {NoFlag, 0xabababab, 0xfffffffd, 15}, 769b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 16}, {NoFlag, 0xabababab, 0xfffffffd, 17}, 770b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 18}, {NoFlag, 0xabababab, 0xfffffffd, 19}, 771b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 20}, {NoFlag, 0xabababab, 0xfffffffd, 21}, 772b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 22}, {NoFlag, 0xabababab, 0xfffffffd, 23}, 773b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 24}, {NoFlag, 0xabababab, 0xfffffffd, 25}, 774b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 26}, {NoFlag, 0xabababab, 0xfffffffd, 27}, 775b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 28}, {NoFlag, 0xabababab, 0xfffffffd, 29}, 776b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 30}, {NoFlag, 0xabababab, 0xfffffffd, 31}, 777b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffd, 32}, {NoFlag, 0xabababab, 0xfffffffe, 0}, 778b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 1}, {NoFlag, 0xabababab, 0xfffffffe, 2}, 779b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 3}, {NoFlag, 0xabababab, 0xfffffffe, 4}, 780b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 5}, {NoFlag, 0xabababab, 0xfffffffe, 6}, 781b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 7}, {NoFlag, 0xabababab, 0xfffffffe, 8}, 782b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 9}, {NoFlag, 0xabababab, 0xfffffffe, 10}, 783b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 11}, {NoFlag, 0xabababab, 0xfffffffe, 12}, 784b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 13}, {NoFlag, 0xabababab, 0xfffffffe, 14}, 785b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 15}, {NoFlag, 0xabababab, 0xfffffffe, 16}, 786b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 17}, {NoFlag, 0xabababab, 0xfffffffe, 18}, 787b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 19}, {NoFlag, 0xabababab, 0xfffffffe, 20}, 788b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 21}, {NoFlag, 0xabababab, 0xfffffffe, 22}, 789b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 23}, {NoFlag, 0xabababab, 0xfffffffe, 24}, 790b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 25}, {NoFlag, 0xabababab, 0xfffffffe, 26}, 791b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 27}, {NoFlag, 0xabababab, 0xfffffffe, 28}, 792b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 29}, {NoFlag, 0xabababab, 0xfffffffe, 30}, 793b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xfffffffe, 31}, {NoFlag, 0xabababab, 0xfffffffe, 32}, 794b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 0}, {NoFlag, 0xabababab, 0xffffffff, 1}, 795b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 2}, {NoFlag, 0xabababab, 0xffffffff, 3}, 796b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 4}, {NoFlag, 0xabababab, 0xffffffff, 5}, 797b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 6}, {NoFlag, 0xabababab, 0xffffffff, 7}, 798b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 8}, {NoFlag, 0xabababab, 0xffffffff, 9}, 799b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 10}, {NoFlag, 0xabababab, 0xffffffff, 11}, 800b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 12}, {NoFlag, 0xabababab, 0xffffffff, 13}, 801b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 14}, {NoFlag, 0xabababab, 0xffffffff, 15}, 802b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 16}, {NoFlag, 0xabababab, 0xffffffff, 17}, 803b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 18}, {NoFlag, 0xabababab, 0xffffffff, 19}, 804b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 20}, {NoFlag, 0xabababab, 0xffffffff, 21}, 805b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 22}, {NoFlag, 0xabababab, 0xffffffff, 23}, 806b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 24}, {NoFlag, 0xabababab, 0xffffffff, 25}, 807b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 26}, {NoFlag, 0xabababab, 0xffffffff, 27}, 808b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 28}, {NoFlag, 0xabababab, 0xffffffff, 29}, 809b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 30}, {NoFlag, 0xabababab, 0xffffffff, 31}, 810b8021494Sopenharmony_ci {NoFlag, 0xabababab, 0xffffffff, 32}}; 811b8021494Sopenharmony_ci 812b8021494Sopenharmony_ci 813b8021494Sopenharmony_ci// A loop will be generated for each element of this array. 814b8021494Sopenharmony_ciconst TestLoopData kTests[] = {{{eq, r0, r0, LSL, r0}, 815b8021494Sopenharmony_ci "eq r0 r0 LSL r0", 816b8021494Sopenharmony_ci "Condition_eq_r0_r0_LSL_r0", 817b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 818b8021494Sopenharmony_ci kCondition}, 819b8021494Sopenharmony_ci {{ne, r0, r0, LSL, r0}, 820b8021494Sopenharmony_ci "ne r0 r0 LSL r0", 821b8021494Sopenharmony_ci "Condition_ne_r0_r0_LSL_r0", 822b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 823b8021494Sopenharmony_ci kCondition}, 824b8021494Sopenharmony_ci {{cs, r0, r0, LSL, r0}, 825b8021494Sopenharmony_ci "cs r0 r0 LSL r0", 826b8021494Sopenharmony_ci "Condition_cs_r0_r0_LSL_r0", 827b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 828b8021494Sopenharmony_ci kCondition}, 829b8021494Sopenharmony_ci {{cc, r0, r0, LSL, r0}, 830b8021494Sopenharmony_ci "cc r0 r0 LSL r0", 831b8021494Sopenharmony_ci "Condition_cc_r0_r0_LSL_r0", 832b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 833b8021494Sopenharmony_ci kCondition}, 834b8021494Sopenharmony_ci {{mi, r0, r0, LSL, r0}, 835b8021494Sopenharmony_ci "mi r0 r0 LSL r0", 836b8021494Sopenharmony_ci "Condition_mi_r0_r0_LSL_r0", 837b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 838b8021494Sopenharmony_ci kCondition}, 839b8021494Sopenharmony_ci {{pl, r0, r0, LSL, r0}, 840b8021494Sopenharmony_ci "pl r0 r0 LSL r0", 841b8021494Sopenharmony_ci "Condition_pl_r0_r0_LSL_r0", 842b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 843b8021494Sopenharmony_ci kCondition}, 844b8021494Sopenharmony_ci {{vs, r0, r0, LSL, r0}, 845b8021494Sopenharmony_ci "vs r0 r0 LSL r0", 846b8021494Sopenharmony_ci "Condition_vs_r0_r0_LSL_r0", 847b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 848b8021494Sopenharmony_ci kCondition}, 849b8021494Sopenharmony_ci {{vc, r0, r0, LSL, r0}, 850b8021494Sopenharmony_ci "vc r0 r0 LSL r0", 851b8021494Sopenharmony_ci "Condition_vc_r0_r0_LSL_r0", 852b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 853b8021494Sopenharmony_ci kCondition}, 854b8021494Sopenharmony_ci {{hi, r0, r0, LSL, r0}, 855b8021494Sopenharmony_ci "hi r0 r0 LSL r0", 856b8021494Sopenharmony_ci "Condition_hi_r0_r0_LSL_r0", 857b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 858b8021494Sopenharmony_ci kCondition}, 859b8021494Sopenharmony_ci {{ls, r0, r0, LSL, r0}, 860b8021494Sopenharmony_ci "ls r0 r0 LSL r0", 861b8021494Sopenharmony_ci "Condition_ls_r0_r0_LSL_r0", 862b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 863b8021494Sopenharmony_ci kCondition}, 864b8021494Sopenharmony_ci {{ge, r0, r0, LSL, r0}, 865b8021494Sopenharmony_ci "ge r0 r0 LSL r0", 866b8021494Sopenharmony_ci "Condition_ge_r0_r0_LSL_r0", 867b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 868b8021494Sopenharmony_ci kCondition}, 869b8021494Sopenharmony_ci {{lt, r0, r0, LSL, r0}, 870b8021494Sopenharmony_ci "lt r0 r0 LSL r0", 871b8021494Sopenharmony_ci "Condition_lt_r0_r0_LSL_r0", 872b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 873b8021494Sopenharmony_ci kCondition}, 874b8021494Sopenharmony_ci {{gt, r0, r0, LSL, r0}, 875b8021494Sopenharmony_ci "gt r0 r0 LSL r0", 876b8021494Sopenharmony_ci "Condition_gt_r0_r0_LSL_r0", 877b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 878b8021494Sopenharmony_ci kCondition}, 879b8021494Sopenharmony_ci {{le, r0, r0, LSL, r0}, 880b8021494Sopenharmony_ci "le r0 r0 LSL r0", 881b8021494Sopenharmony_ci "Condition_le_r0_r0_LSL_r0", 882b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 883b8021494Sopenharmony_ci kCondition}, 884b8021494Sopenharmony_ci {{al, r0, r0, LSL, r0}, 885b8021494Sopenharmony_ci "al r0 r0 LSL r0", 886b8021494Sopenharmony_ci "Condition_al_r0_r0_LSL_r0", 887b8021494Sopenharmony_ci ARRAY_SIZE(kCondition), 888b8021494Sopenharmony_ci kCondition}, 889b8021494Sopenharmony_ci {{al, r0, r0, LSL, r0}, 890b8021494Sopenharmony_ci "al r0 r0 LSL r0", 891b8021494Sopenharmony_ci "RdIsRn_al_r0_r0_LSL_r0", 892b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 893b8021494Sopenharmony_ci kRdIsRn}, 894b8021494Sopenharmony_ci {{al, r1, r1, LSL, r0}, 895b8021494Sopenharmony_ci "al r1 r1 LSL r0", 896b8021494Sopenharmony_ci "RdIsRn_al_r1_r1_LSL_r0", 897b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 898b8021494Sopenharmony_ci kRdIsRn}, 899b8021494Sopenharmony_ci {{al, r2, r2, LSL, r0}, 900b8021494Sopenharmony_ci "al r2 r2 LSL r0", 901b8021494Sopenharmony_ci "RdIsRn_al_r2_r2_LSL_r0", 902b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 903b8021494Sopenharmony_ci kRdIsRn}, 904b8021494Sopenharmony_ci {{al, r3, r3, LSL, r0}, 905b8021494Sopenharmony_ci "al r3 r3 LSL r0", 906b8021494Sopenharmony_ci "RdIsRn_al_r3_r3_LSL_r0", 907b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 908b8021494Sopenharmony_ci kRdIsRn}, 909b8021494Sopenharmony_ci {{al, r4, r4, LSL, r0}, 910b8021494Sopenharmony_ci "al r4 r4 LSL r0", 911b8021494Sopenharmony_ci "RdIsRn_al_r4_r4_LSL_r0", 912b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 913b8021494Sopenharmony_ci kRdIsRn}, 914b8021494Sopenharmony_ci {{al, r5, r5, LSL, r0}, 915b8021494Sopenharmony_ci "al r5 r5 LSL r0", 916b8021494Sopenharmony_ci "RdIsRn_al_r5_r5_LSL_r0", 917b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 918b8021494Sopenharmony_ci kRdIsRn}, 919b8021494Sopenharmony_ci {{al, r6, r6, LSL, r0}, 920b8021494Sopenharmony_ci "al r6 r6 LSL r0", 921b8021494Sopenharmony_ci "RdIsRn_al_r6_r6_LSL_r0", 922b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 923b8021494Sopenharmony_ci kRdIsRn}, 924b8021494Sopenharmony_ci {{al, r7, r7, LSL, r0}, 925b8021494Sopenharmony_ci "al r7 r7 LSL r0", 926b8021494Sopenharmony_ci "RdIsRn_al_r7_r7_LSL_r0", 927b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 928b8021494Sopenharmony_ci kRdIsRn}, 929b8021494Sopenharmony_ci {{al, r8, r8, LSL, r0}, 930b8021494Sopenharmony_ci "al r8 r8 LSL r0", 931b8021494Sopenharmony_ci "RdIsRn_al_r8_r8_LSL_r0", 932b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 933b8021494Sopenharmony_ci kRdIsRn}, 934b8021494Sopenharmony_ci {{al, r9, r9, LSL, r0}, 935b8021494Sopenharmony_ci "al r9 r9 LSL r0", 936b8021494Sopenharmony_ci "RdIsRn_al_r9_r9_LSL_r0", 937b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 938b8021494Sopenharmony_ci kRdIsRn}, 939b8021494Sopenharmony_ci {{al, r10, r10, LSL, r0}, 940b8021494Sopenharmony_ci "al r10 r10 LSL r0", 941b8021494Sopenharmony_ci "RdIsRn_al_r10_r10_LSL_r0", 942b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 943b8021494Sopenharmony_ci kRdIsRn}, 944b8021494Sopenharmony_ci {{al, r11, r11, LSL, r0}, 945b8021494Sopenharmony_ci "al r11 r11 LSL r0", 946b8021494Sopenharmony_ci "RdIsRn_al_r11_r11_LSL_r0", 947b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 948b8021494Sopenharmony_ci kRdIsRn}, 949b8021494Sopenharmony_ci {{al, r12, r12, LSL, r0}, 950b8021494Sopenharmony_ci "al r12 r12 LSL r0", 951b8021494Sopenharmony_ci "RdIsRn_al_r12_r12_LSL_r0", 952b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 953b8021494Sopenharmony_ci kRdIsRn}, 954b8021494Sopenharmony_ci {{al, r14, r14, LSL, r0}, 955b8021494Sopenharmony_ci "al r14 r14 LSL r0", 956b8021494Sopenharmony_ci "RdIsRn_al_r14_r14_LSL_r0", 957b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsRn), 958b8021494Sopenharmony_ci kRdIsRn}, 959b8021494Sopenharmony_ci {{al, r1, r8, LSL, r0}, 960b8021494Sopenharmony_ci "al r1 r8 LSL r0", 961b8021494Sopenharmony_ci "RdIsNotRn_al_r1_r8_LSL_r0", 962b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 963b8021494Sopenharmony_ci kRdIsNotRn}, 964b8021494Sopenharmony_ci {{al, r7, r4, LSL, r0}, 965b8021494Sopenharmony_ci "al r7 r4 LSL r0", 966b8021494Sopenharmony_ci "RdIsNotRn_al_r7_r4_LSL_r0", 967b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 968b8021494Sopenharmony_ci kRdIsNotRn}, 969b8021494Sopenharmony_ci {{al, r14, r10, LSL, r0}, 970b8021494Sopenharmony_ci "al r14 r10 LSL r0", 971b8021494Sopenharmony_ci "RdIsNotRn_al_r14_r10_LSL_r0", 972b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 973b8021494Sopenharmony_ci kRdIsNotRn}, 974b8021494Sopenharmony_ci {{al, r10, r6, LSL, r0}, 975b8021494Sopenharmony_ci "al r10 r6 LSL r0", 976b8021494Sopenharmony_ci "RdIsNotRn_al_r10_r6_LSL_r0", 977b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 978b8021494Sopenharmony_ci kRdIsNotRn}, 979b8021494Sopenharmony_ci {{al, r6, r5, LSL, r0}, 980b8021494Sopenharmony_ci "al r6 r5 LSL r0", 981b8021494Sopenharmony_ci "RdIsNotRn_al_r6_r5_LSL_r0", 982b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 983b8021494Sopenharmony_ci kRdIsNotRn}, 984b8021494Sopenharmony_ci {{al, r12, r2, LSL, r0}, 985b8021494Sopenharmony_ci "al r12 r2 LSL r0", 986b8021494Sopenharmony_ci "RdIsNotRn_al_r12_r2_LSL_r0", 987b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 988b8021494Sopenharmony_ci kRdIsNotRn}, 989b8021494Sopenharmony_ci {{al, r0, r11, LSL, r0}, 990b8021494Sopenharmony_ci "al r0 r11 LSL r0", 991b8021494Sopenharmony_ci "RdIsNotRn_al_r0_r11_LSL_r0", 992b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 993b8021494Sopenharmony_ci kRdIsNotRn}, 994b8021494Sopenharmony_ci {{al, r10, r14, LSL, r0}, 995b8021494Sopenharmony_ci "al r10 r14 LSL r0", 996b8021494Sopenharmony_ci "RdIsNotRn_al_r10_r14_LSL_r0", 997b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 998b8021494Sopenharmony_ci kRdIsNotRn}, 999b8021494Sopenharmony_ci {{al, r0, r5, LSL, r0}, 1000b8021494Sopenharmony_ci "al r0 r5 LSL r0", 1001b8021494Sopenharmony_ci "RdIsNotRn_al_r0_r5_LSL_r0", 1002b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 1003b8021494Sopenharmony_ci kRdIsNotRn}, 1004b8021494Sopenharmony_ci {{al, r0, r3, LSL, r0}, 1005b8021494Sopenharmony_ci "al r0 r3 LSL r0", 1006b8021494Sopenharmony_ci "RdIsNotRn_al_r0_r3_LSL_r0", 1007b8021494Sopenharmony_ci ARRAY_SIZE(kRdIsNotRn), 1008b8021494Sopenharmony_ci kRdIsNotRn}, 1009b8021494Sopenharmony_ci {{al, r0, r1, LSL, r2}, 1010b8021494Sopenharmony_ci "al r0 r1 LSL r2", 1011b8021494Sopenharmony_ci "ShiftTypes_al_r0_r1_LSL_r2", 1012b8021494Sopenharmony_ci ARRAY_SIZE(kShiftTypes), 1013b8021494Sopenharmony_ci kShiftTypes}, 1014b8021494Sopenharmony_ci {{al, r0, r1, LSR, r2}, 1015b8021494Sopenharmony_ci "al r0 r1 LSR r2", 1016b8021494Sopenharmony_ci "ShiftTypes_al_r0_r1_LSR_r2", 1017b8021494Sopenharmony_ci ARRAY_SIZE(kShiftTypes), 1018b8021494Sopenharmony_ci kShiftTypes}, 1019b8021494Sopenharmony_ci {{al, r0, r1, ASR, r2}, 1020b8021494Sopenharmony_ci "al r0 r1 ASR r2", 1021b8021494Sopenharmony_ci "ShiftTypes_al_r0_r1_ASR_r2", 1022b8021494Sopenharmony_ci ARRAY_SIZE(kShiftTypes), 1023b8021494Sopenharmony_ci kShiftTypes}, 1024b8021494Sopenharmony_ci {{al, r0, r1, ROR, r2}, 1025b8021494Sopenharmony_ci "al r0 r1 ROR r2", 1026b8021494Sopenharmony_ci "ShiftTypes_al_r0_r1_ROR_r2", 1027b8021494Sopenharmony_ci ARRAY_SIZE(kShiftTypes), 1028b8021494Sopenharmony_ci kShiftTypes}}; 1029b8021494Sopenharmony_ci 1030b8021494Sopenharmony_ci// We record all inputs to the instructions as outputs. This way, we also check 1031b8021494Sopenharmony_ci// that what shouldn't change didn't change. 1032b8021494Sopenharmony_cistruct TestResult { 1033b8021494Sopenharmony_ci size_t output_size; 1034b8021494Sopenharmony_ci const Inputs* outputs; 1035b8021494Sopenharmony_ci}; 1036b8021494Sopenharmony_ci 1037b8021494Sopenharmony_ci// These headers each contain an array of `TestResult` with the reference output 1038b8021494Sopenharmony_ci// values. The reference arrays are names `kReference{mnemonic}`. 1039b8021494Sopenharmony_ci#include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-mov-t32.h" 1040b8021494Sopenharmony_ci#include "aarch32/traces/simulator-cond-rd-operand-rn-shift-rs-movs-t32.h" 1041b8021494Sopenharmony_ci 1042b8021494Sopenharmony_ci 1043b8021494Sopenharmony_ci// The maximum number of errors to report in detail for each test. 1044b8021494Sopenharmony_ciconst unsigned kErrorReportLimit = 8; 1045b8021494Sopenharmony_ci 1046b8021494Sopenharmony_citypedef void (MacroAssembler::*Fn)(Condition cond, 1047b8021494Sopenharmony_ci Register rd, 1048b8021494Sopenharmony_ci const Operand& op); 1049b8021494Sopenharmony_ci 1050b8021494Sopenharmony_civoid TestHelper(Fn instruction, 1051b8021494Sopenharmony_ci const char* mnemonic, 1052b8021494Sopenharmony_ci const TestResult reference[]) { 1053b8021494Sopenharmony_ci SETUP(); 1054b8021494Sopenharmony_ci masm.UseT32(); 1055b8021494Sopenharmony_ci START(); 1056b8021494Sopenharmony_ci 1057b8021494Sopenharmony_ci // Data to compare to `reference`. 1058b8021494Sopenharmony_ci TestResult* results[ARRAY_SIZE(kTests)]; 1059b8021494Sopenharmony_ci 1060b8021494Sopenharmony_ci // Test cases for memory bound instructions may allocate a buffer and save its 1061b8021494Sopenharmony_ci // address in this array. 1062b8021494Sopenharmony_ci byte* scratch_memory_buffers[ARRAY_SIZE(kTests)]; 1063b8021494Sopenharmony_ci 1064b8021494Sopenharmony_ci // Generate a loop for each element in `kTests`. Each loop tests one specific 1065b8021494Sopenharmony_ci // instruction. 1066b8021494Sopenharmony_ci for (unsigned i = 0; i < ARRAY_SIZE(kTests); i++) { 1067b8021494Sopenharmony_ci // Allocate results on the heap for this test. 1068b8021494Sopenharmony_ci results[i] = new TestResult; 1069b8021494Sopenharmony_ci results[i]->outputs = new Inputs[kTests[i].input_size]; 1070b8021494Sopenharmony_ci results[i]->output_size = kTests[i].input_size; 1071b8021494Sopenharmony_ci 1072b8021494Sopenharmony_ci size_t input_stride = sizeof(kTests[i].inputs[0]) * kTests[i].input_size; 1073b8021494Sopenharmony_ci VIXL_ASSERT(IsUint32(input_stride)); 1074b8021494Sopenharmony_ci 1075b8021494Sopenharmony_ci scratch_memory_buffers[i] = NULL; 1076b8021494Sopenharmony_ci 1077b8021494Sopenharmony_ci Label loop; 1078b8021494Sopenharmony_ci UseScratchRegisterScope scratch_registers(&masm); 1079b8021494Sopenharmony_ci // Include all registers from r0 ro r12. 1080b8021494Sopenharmony_ci scratch_registers.Include(RegisterList(0x1fff)); 1081b8021494Sopenharmony_ci 1082b8021494Sopenharmony_ci // Values to pass to the macro-assembler. 1083b8021494Sopenharmony_ci Condition cond = kTests[i].operands.cond; 1084b8021494Sopenharmony_ci Register rd = kTests[i].operands.rd; 1085b8021494Sopenharmony_ci Register rn = kTests[i].operands.rn; 1086b8021494Sopenharmony_ci ShiftType shift = kTests[i].operands.shift; 1087b8021494Sopenharmony_ci Register rs = kTests[i].operands.rs; 1088b8021494Sopenharmony_ci Operand op(rn, shift, rs); 1089b8021494Sopenharmony_ci scratch_registers.Exclude(rd); 1090b8021494Sopenharmony_ci scratch_registers.Exclude(rn); 1091b8021494Sopenharmony_ci scratch_registers.Exclude(rs); 1092b8021494Sopenharmony_ci 1093b8021494Sopenharmony_ci // Allocate reserved registers for our own use. 1094b8021494Sopenharmony_ci Register input_ptr = scratch_registers.Acquire(); 1095b8021494Sopenharmony_ci Register input_end = scratch_registers.Acquire(); 1096b8021494Sopenharmony_ci Register result_ptr = scratch_registers.Acquire(); 1097b8021494Sopenharmony_ci 1098b8021494Sopenharmony_ci // Initialize `input_ptr` to the first element and `input_end` the address 1099b8021494Sopenharmony_ci // after the array. 1100b8021494Sopenharmony_ci __ Mov(input_ptr, Operand::From(kTests[i].inputs)); 1101b8021494Sopenharmony_ci __ Add(input_end, input_ptr, static_cast<uint32_t>(input_stride)); 1102b8021494Sopenharmony_ci __ Mov(result_ptr, Operand::From(results[i]->outputs)); 1103b8021494Sopenharmony_ci __ Bind(&loop); 1104b8021494Sopenharmony_ci 1105b8021494Sopenharmony_ci { 1106b8021494Sopenharmony_ci UseScratchRegisterScope temp_registers(&masm); 1107b8021494Sopenharmony_ci Register nzcv_bits = temp_registers.Acquire(); 1108b8021494Sopenharmony_ci Register saved_q_bit = temp_registers.Acquire(); 1109b8021494Sopenharmony_ci // Save the `Q` bit flag. 1110b8021494Sopenharmony_ci __ Mrs(saved_q_bit, APSR); 1111b8021494Sopenharmony_ci __ And(saved_q_bit, saved_q_bit, QFlag); 1112b8021494Sopenharmony_ci // Set the `NZCV` and `Q` flags together. 1113b8021494Sopenharmony_ci __ Ldr(nzcv_bits, MemOperand(input_ptr, offsetof(Inputs, apsr))); 1114b8021494Sopenharmony_ci __ Orr(nzcv_bits, nzcv_bits, saved_q_bit); 1115b8021494Sopenharmony_ci __ Msr(APSR_nzcvq, nzcv_bits); 1116b8021494Sopenharmony_ci } 1117b8021494Sopenharmony_ci __ Ldr(rd, MemOperand(input_ptr, offsetof(Inputs, rd))); 1118b8021494Sopenharmony_ci __ Ldr(rn, MemOperand(input_ptr, offsetof(Inputs, rn))); 1119b8021494Sopenharmony_ci __ Ldr(rs, MemOperand(input_ptr, offsetof(Inputs, rs))); 1120b8021494Sopenharmony_ci 1121b8021494Sopenharmony_ci (masm.*instruction)(cond, rd, op); 1122b8021494Sopenharmony_ci 1123b8021494Sopenharmony_ci { 1124b8021494Sopenharmony_ci UseScratchRegisterScope temp_registers(&masm); 1125b8021494Sopenharmony_ci Register nzcv_bits = temp_registers.Acquire(); 1126b8021494Sopenharmony_ci __ Mrs(nzcv_bits, APSR); 1127b8021494Sopenharmony_ci // Only record the NZCV bits. 1128b8021494Sopenharmony_ci __ And(nzcv_bits, nzcv_bits, NZCVFlag); 1129b8021494Sopenharmony_ci __ Str(nzcv_bits, MemOperand(result_ptr, offsetof(Inputs, apsr))); 1130b8021494Sopenharmony_ci } 1131b8021494Sopenharmony_ci __ Str(rd, MemOperand(result_ptr, offsetof(Inputs, rd))); 1132b8021494Sopenharmony_ci __ Str(rn, MemOperand(result_ptr, offsetof(Inputs, rn))); 1133b8021494Sopenharmony_ci __ Str(rs, MemOperand(result_ptr, offsetof(Inputs, rs))); 1134b8021494Sopenharmony_ci 1135b8021494Sopenharmony_ci // Advance the result pointer. 1136b8021494Sopenharmony_ci __ Add(result_ptr, result_ptr, Operand::From(sizeof(kTests[i].inputs[0]))); 1137b8021494Sopenharmony_ci // Loop back until `input_ptr` is lower than `input_base`. 1138b8021494Sopenharmony_ci __ Add(input_ptr, input_ptr, Operand::From(sizeof(kTests[i].inputs[0]))); 1139b8021494Sopenharmony_ci __ Cmp(input_ptr, input_end); 1140b8021494Sopenharmony_ci __ B(ne, &loop); 1141b8021494Sopenharmony_ci } 1142b8021494Sopenharmony_ci 1143b8021494Sopenharmony_ci END(); 1144b8021494Sopenharmony_ci 1145b8021494Sopenharmony_ci RUN(); 1146b8021494Sopenharmony_ci 1147b8021494Sopenharmony_ci if (Test::generate_test_trace()) { 1148b8021494Sopenharmony_ci // Print the results. 1149b8021494Sopenharmony_ci for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) { 1150b8021494Sopenharmony_ci printf("const Inputs kOutputs_%s_%s[] = {\n", 1151b8021494Sopenharmony_ci mnemonic, 1152b8021494Sopenharmony_ci kTests[i].identifier); 1153b8021494Sopenharmony_ci for (size_t j = 0; j < results[i]->output_size; j++) { 1154b8021494Sopenharmony_ci printf(" { "); 1155b8021494Sopenharmony_ci printf("0x%08" PRIx32, results[i]->outputs[j].apsr); 1156b8021494Sopenharmony_ci printf(", "); 1157b8021494Sopenharmony_ci printf("0x%08" PRIx32, results[i]->outputs[j].rd); 1158b8021494Sopenharmony_ci printf(", "); 1159b8021494Sopenharmony_ci printf("0x%08" PRIx32, results[i]->outputs[j].rn); 1160b8021494Sopenharmony_ci printf(", "); 1161b8021494Sopenharmony_ci printf("0x%08" PRIx32, results[i]->outputs[j].rs); 1162b8021494Sopenharmony_ci printf(" },\n"); 1163b8021494Sopenharmony_ci } 1164b8021494Sopenharmony_ci printf("};\n"); 1165b8021494Sopenharmony_ci } 1166b8021494Sopenharmony_ci printf("const TestResult kReference%s[] = {\n", mnemonic); 1167b8021494Sopenharmony_ci for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) { 1168b8021494Sopenharmony_ci printf(" {\n"); 1169b8021494Sopenharmony_ci printf(" ARRAY_SIZE(kOutputs_%s_%s),\n", 1170b8021494Sopenharmony_ci mnemonic, 1171b8021494Sopenharmony_ci kTests[i].identifier); 1172b8021494Sopenharmony_ci printf(" kOutputs_%s_%s,\n", mnemonic, kTests[i].identifier); 1173b8021494Sopenharmony_ci printf(" },\n"); 1174b8021494Sopenharmony_ci } 1175b8021494Sopenharmony_ci printf("};\n"); 1176b8021494Sopenharmony_ci } else if (kCheckSimulatorTestResults) { 1177b8021494Sopenharmony_ci // Check the results. 1178b8021494Sopenharmony_ci unsigned total_error_count = 0; 1179b8021494Sopenharmony_ci for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) { 1180b8021494Sopenharmony_ci bool instruction_has_errors = false; 1181b8021494Sopenharmony_ci for (size_t j = 0; j < kTests[i].input_size; j++) { 1182b8021494Sopenharmony_ci uint32_t apsr = results[i]->outputs[j].apsr; 1183b8021494Sopenharmony_ci uint32_t rd = results[i]->outputs[j].rd; 1184b8021494Sopenharmony_ci uint32_t rn = results[i]->outputs[j].rn; 1185b8021494Sopenharmony_ci uint32_t rs = results[i]->outputs[j].rs; 1186b8021494Sopenharmony_ci uint32_t apsr_input = kTests[i].inputs[j].apsr; 1187b8021494Sopenharmony_ci uint32_t rd_input = kTests[i].inputs[j].rd; 1188b8021494Sopenharmony_ci uint32_t rn_input = kTests[i].inputs[j].rn; 1189b8021494Sopenharmony_ci uint32_t rs_input = kTests[i].inputs[j].rs; 1190b8021494Sopenharmony_ci uint32_t apsr_ref = reference[i].outputs[j].apsr; 1191b8021494Sopenharmony_ci uint32_t rd_ref = reference[i].outputs[j].rd; 1192b8021494Sopenharmony_ci uint32_t rn_ref = reference[i].outputs[j].rn; 1193b8021494Sopenharmony_ci uint32_t rs_ref = reference[i].outputs[j].rs; 1194b8021494Sopenharmony_ci 1195b8021494Sopenharmony_ci if (((apsr != apsr_ref) || (rd != rd_ref) || (rn != rn_ref) || 1196b8021494Sopenharmony_ci (rs != rs_ref)) && 1197b8021494Sopenharmony_ci (++total_error_count <= kErrorReportLimit)) { 1198b8021494Sopenharmony_ci // Print the instruction once even if it triggered multiple failures. 1199b8021494Sopenharmony_ci if (!instruction_has_errors) { 1200b8021494Sopenharmony_ci printf("Error(s) when testing \"%s %s\":\n", 1201b8021494Sopenharmony_ci mnemonic, 1202b8021494Sopenharmony_ci kTests[i].operands_description); 1203b8021494Sopenharmony_ci instruction_has_errors = true; 1204b8021494Sopenharmony_ci } 1205b8021494Sopenharmony_ci // Print subsequent errors. 1206b8021494Sopenharmony_ci printf(" Input: "); 1207b8021494Sopenharmony_ci printf("0x%08" PRIx32, apsr_input); 1208b8021494Sopenharmony_ci printf(", "); 1209b8021494Sopenharmony_ci printf("0x%08" PRIx32, rd_input); 1210b8021494Sopenharmony_ci printf(", "); 1211b8021494Sopenharmony_ci printf("0x%08" PRIx32, rn_input); 1212b8021494Sopenharmony_ci printf(", "); 1213b8021494Sopenharmony_ci printf("0x%08" PRIx32, rs_input); 1214b8021494Sopenharmony_ci printf("\n"); 1215b8021494Sopenharmony_ci printf(" Expected: "); 1216b8021494Sopenharmony_ci printf("0x%08" PRIx32, apsr_ref); 1217b8021494Sopenharmony_ci printf(", "); 1218b8021494Sopenharmony_ci printf("0x%08" PRIx32, rd_ref); 1219b8021494Sopenharmony_ci printf(", "); 1220b8021494Sopenharmony_ci printf("0x%08" PRIx32, rn_ref); 1221b8021494Sopenharmony_ci printf(", "); 1222b8021494Sopenharmony_ci printf("0x%08" PRIx32, rs_ref); 1223b8021494Sopenharmony_ci printf("\n"); 1224b8021494Sopenharmony_ci printf(" Found: "); 1225b8021494Sopenharmony_ci printf("0x%08" PRIx32, apsr); 1226b8021494Sopenharmony_ci printf(", "); 1227b8021494Sopenharmony_ci printf("0x%08" PRIx32, rd); 1228b8021494Sopenharmony_ci printf(", "); 1229b8021494Sopenharmony_ci printf("0x%08" PRIx32, rn); 1230b8021494Sopenharmony_ci printf(", "); 1231b8021494Sopenharmony_ci printf("0x%08" PRIx32, rs); 1232b8021494Sopenharmony_ci printf("\n\n"); 1233b8021494Sopenharmony_ci } 1234b8021494Sopenharmony_ci } 1235b8021494Sopenharmony_ci } 1236b8021494Sopenharmony_ci 1237b8021494Sopenharmony_ci if (total_error_count > kErrorReportLimit) { 1238b8021494Sopenharmony_ci printf("%u other errors follow.\n", 1239b8021494Sopenharmony_ci total_error_count - kErrorReportLimit); 1240b8021494Sopenharmony_ci } 1241b8021494Sopenharmony_ci VIXL_CHECK(total_error_count == 0); 1242b8021494Sopenharmony_ci } else { 1243b8021494Sopenharmony_ci VIXL_WARNING("Assembled the code, but did not run anything.\n"); 1244b8021494Sopenharmony_ci } 1245b8021494Sopenharmony_ci 1246b8021494Sopenharmony_ci for (size_t i = 0; i < ARRAY_SIZE(kTests); i++) { 1247b8021494Sopenharmony_ci delete[] results[i]->outputs; 1248b8021494Sopenharmony_ci delete results[i]; 1249b8021494Sopenharmony_ci delete[] scratch_memory_buffers[i]; 1250b8021494Sopenharmony_ci } 1251b8021494Sopenharmony_ci} 1252b8021494Sopenharmony_ci 1253b8021494Sopenharmony_ci// Instantiate tests for each instruction in the list. 1254b8021494Sopenharmony_ci// TODO: Remove this limitation by having a sandboxing mechanism. 1255b8021494Sopenharmony_ci#if defined(VIXL_HOST_POINTER_32) 1256b8021494Sopenharmony_ci#define TEST(mnemonic) \ 1257b8021494Sopenharmony_ci void Test_##mnemonic() { \ 1258b8021494Sopenharmony_ci TestHelper(&MacroAssembler::mnemonic, #mnemonic, kReference##mnemonic); \ 1259b8021494Sopenharmony_ci } \ 1260b8021494Sopenharmony_ci Test test_##mnemonic( \ 1261b8021494Sopenharmony_ci "AARCH32_SIMULATOR_COND_RD_OPERAND_RN_SHIFT_RS_" #mnemonic "_T32", \ 1262b8021494Sopenharmony_ci &Test_##mnemonic); 1263b8021494Sopenharmony_ci#else 1264b8021494Sopenharmony_ci#define TEST(mnemonic) \ 1265b8021494Sopenharmony_ci void Test_##mnemonic() { \ 1266b8021494Sopenharmony_ci VIXL_WARNING("This test can only run on a 32-bit host.\n"); \ 1267b8021494Sopenharmony_ci USE(TestHelper); \ 1268b8021494Sopenharmony_ci } \ 1269b8021494Sopenharmony_ci Test test_##mnemonic( \ 1270b8021494Sopenharmony_ci "AARCH32_SIMULATOR_COND_RD_OPERAND_RN_SHIFT_RS_" #mnemonic "_T32", \ 1271b8021494Sopenharmony_ci &Test_##mnemonic); 1272b8021494Sopenharmony_ci#endif 1273b8021494Sopenharmony_ci 1274b8021494Sopenharmony_ciFOREACH_INSTRUCTION(TEST) 1275b8021494Sopenharmony_ci#undef TEST 1276b8021494Sopenharmony_ci 1277b8021494Sopenharmony_ci} // namespace 1278b8021494Sopenharmony_ci#endif 1279b8021494Sopenharmony_ci 1280b8021494Sopenharmony_ci} // namespace aarch32 1281b8021494Sopenharmony_ci} // namespace vixl 1282