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