| /arkcompiler/runtime_core/static_core/verification/absint/ |
| D | abs_int_inl.h | 308 template <BytecodeInstructionSafe::Format FORMAT> 313 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMov() 314 uint16_t vs = inst_.GetVReg<FORMAT, 0x01>(); in HandleMov() 323 MoveToNextInst<FORMAT>(); in HandleMov() 327 template <BytecodeInstructionSafe::Format FORMAT> 332 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMovWide() 333 uint16_t vs = inst_.GetVReg<FORMAT, 0x01>(); in HandleMovWide() 342 MoveToNextInst<FORMAT>(); in HandleMovWide() 346 template <BytecodeInstructionSafe::Format FORMAT> 351 uint16_t vd = inst_.GetVReg<FORMAT, 0x00>(); in HandleMovObj() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | interpreter-inl.h | 77 template <BytecodeInstruction::Format FORMAT, class InstructionHandler> 81 return instrHandler->GetInst().template GetImm<FORMAT, 0>() + 1; in GetNumberActualArgsDyn() 84 template <BytecodeInstruction::Format FORMAT, class InstructionHandler> 107 template <BytecodeInstruction::Format FORMAT> 111 this->template MoveToNextInst<FORMAT, false>(); in HandleNop() 114 template <BytecodeInstruction::Format FORMAT> 117 auto imm = bit_cast<double>(this->GetInst().template GetImm<FORMAT>()); in HandleFldaiDyn() 120 this->template MoveToNextInst<FORMAT, false>(); in HandleFldaiDyn() 123 template <BytecodeInstruction::Format FORMAT> 126 int32_t imm = this->GetInst().template GetImm<FORMAT>(); in HandleLdaiDyn() [all …]
|
| D | vregister_iterator.h | 20 template <BytecodeInstruction::Format FORMAT> 28 if constexpr (BytecodeInstruction::IsVregArgsShort(FORMAT)) { in GetVRegIdx() 31 return instn_.GetVReg<FORMAT, 0>(); in GetVRegIdx() 34 return instn_.GetVReg<FORMAT, 1>(); in GetVRegIdx() 39 } else if constexpr (BytecodeInstruction::IsVregArgs(FORMAT)) { in GetVRegIdx() 42 return instn_.GetVReg<FORMAT, 0U>(); in GetVRegIdx() 45 return instn_.GetVReg<FORMAT, 1U>(); in GetVRegIdx() 48 return instn_.GetVReg<FORMAT, 2U>(); in GetVRegIdx() 51 return instn_.GetVReg<FORMAT, 3U>(); in GetVRegIdx() 56 } else if constexpr (BytecodeInstruction::IsVregArgsRange(FORMAT)) { in GetVRegIdx() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_isa.yaml | 37 format: [pref_op_none] 41 format: [pref_op_none] 45 format: [pref_op_none] 49 format: [pref_op_none] 53 format: [pref_op_none] 57 format: [pref_op_none] 61 format: [pref_op_none] 65 format: [pref_op_none] 69 format: [pref_op_none] 73 format: [pref_op_none] [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/ |
| D | old_instruction.h | 62 Format format = GetFormat(GetOpcode()); in GetId() local 63 if (format == Format::ID16) { in GetId() 66 if (format == Format::ID32) { in GetId() 69 if (format == Format::PREF_ID16_IMM16_IMM16_V8_V8) { in GetId() 72 if (format == Format::PREF_ID16_IMM16_V8) { in GetId() 75 if (format == Format::PREF_ID32) { in GetId() 78 if (format == Format::PREF_ID32_IMM8) { in GetId() 81 if (format == Format::PREF_ID32_V8) { in GetId() 84 if (format == Format::V4_IMM4_ID16) { in GetId() 87 if (format == Format::V4_V4_ID16) { in GetId() [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | isa.yaml | 108 # File format and ISA versioning 317 format: [op_none] 322 format: [op_none] 327 format: [op_none] 332 format: [op_none] 337 format: [op_none] 341 format: [op_none] 345 format: [op_none] 350 format: [op_none] 355 format: [op_none] [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/templates/ |
| D | bytecode_instruction-inl_gen.h.erb | 20 constexpr bool BytecodeInst<MODE>::HasId(Format format, size_t idx) { 21 switch (format) { 23 % fmt = i.format 26 case Format::<%= fmt.pretty.upcase %>: 39 constexpr bool BytecodeInst<MODE>::HasVReg(Format format, size_t idx) { 40 switch (format) { 42 % fmt = i.format 45 case Format::<%= fmt.pretty.upcase %>: 58 constexpr bool BytecodeInst<MODE>::HasImm(Format format, size_t idx) { 59 switch (format) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/ |
| D | interpreter-inl.h | 42 template <BytecodeInstruction::Format FORMAT> 45 auto id = this->GetInst().template GetId<FORMAT>(); in HandleEtsLaunchShort() 46 LOG_INST() << "launch.short v" << this->GetInst().template GetVReg<FORMAT, 0>() << ", v" in HandleEtsLaunchShort() 47 … << this->GetInst().template GetVReg<FORMAT, 1>() << ", " << std::hex << "0x" << id; in HandleEtsLaunchShort() 48 HandleLaunch<FORMAT, false>(id); in HandleEtsLaunchShort() 51 template <BytecodeInstruction::Format FORMAT> 54 auto id = this->GetInst().template GetId<FORMAT>(); in HandleEtsLaunch() 55 LOG_INST() << "launch v" << this->GetInst().template GetVReg<FORMAT, 0>() << ", v" in HandleEtsLaunch() 56 << this->GetInst().template GetVReg<FORMAT, 1>() << ", v" in HandleEtsLaunch() 57 << this->GetInst().template GetVReg<FORMAT, 2>() << ", v" in HandleEtsLaunch() [all …]
|
| /arkcompiler/runtime_core/libpandafile/templates/ |
| D | bytecode_instruction-inl_gen.h.erb | 18 constexpr bool BytecodeInst<Mode>::HasId(Format format, size_t idx) { 19 switch (format) { 21 % fmt = i.format 24 case Format::<%= fmt.pretty.upcase %>: 37 constexpr bool BytecodeInst<Mode>::HasVReg(Format format, size_t idx) { 38 switch (format) { 40 % fmt = i.format 43 case Format::<%= fmt.pretty.upcase %>: 56 constexpr bool BytecodeInst<Mode>::HasImm(Format format, size_t idx) { 57 switch (format) { [all …]
|
| /arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/ |
| D | bytecode_inst-inl_gen.h.erb | 39 constexpr bool BytecodeInst::HasId(Format format, size_t idx) { 40 switch (format) { 46 % fmt = i.format 49 case Format::<%= fmt.pretty.upcase %>: 60 constexpr bool BytecodeInst::HasVReg(Format format, size_t idx) { 61 switch (format) { 67 % fmt = i.format 70 case Format::<%= fmt.pretty.upcase %>: 81 constexpr bool BytecodeInst::HasImm(Format format, size_t idx) { 82 switch (format) { [all …]
|
| /arkcompiler/runtime_core/static_core/isa/ |
| D | isa.yaml | 108 # File format and ISA versioning 282 format: [op_none] 296 format: [op_v1_4_v2_4, op_v1_8_v2_8, op_v1_16_v2_16] 300 format: [op_v1_4_v2_4, op_v1_16_v2_16] 304 format: [op_v1_4_v2_4, op_v1_8_v2_8, op_v1_16_v2_16] 319 format: [op_v_4_imm_4, op_v_8_imm_8, op_v_8_imm_16, op_v_8_imm_32] 323 format: [op_v_8_imm_64] 328 format: [pref_op_v_8_imm_32] 333 format: [op_v_8_imm_64] 348 format: [op_v_8] [all …]
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_instruction_tests.cpp | 34 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 1); in TEST() 35 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), -6); in TEST() 42 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 0xf); in TEST() 43 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), 0x2); in TEST() 54 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST() 61 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), 0x21); in TEST() 69 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST() 70 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST() 77 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0xf2); in TEST() 78 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST() [all …]
|
| D | bytecode_imm_fetch_tests.cpp | 33 …EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0>()), static_cast<int8_t>(0x17… in TEST() 34 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0, true>()), in TEST() 45 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), static_cast<int8_t>(-22)); in TEST() 46 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0, true>()), static_cast<int8_t>(-22)); in TEST() 56 EXPECT_EQ(inst.GetFormat(), BytecodeInstruction::Format::IMM32); in TEST() 57 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM32, 0>()), static_cast<int32_t>(0x1e)); in TEST() 58 …EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM32, 0, true>()), static_cast<int32_t>(0x1e)… in TEST() 68 … EXPECT_EQ((bit_cast<double>(inst.GetImm<BytecodeInstruction::Format::IMM64, 0, true>())), 3.14); in TEST() 81 …EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0>()), static_cast<int8_t>(0x8e… in TEST() 82 …EXPECT_NE((inst.GetImm<BytecodeInstruction::Format::IMM8_V8_V8_V8, 0>()), static_cast<uint8_t>(0x8… in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/libpandafile/tests/ |
| D | bytecode_instruction_tests.cpp | 37 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 1); in TEST() 38 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), -6); in TEST() 45 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V4_IMM4, 0>()), 0xf); in TEST() 46 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V4_IMM4, 0>()), 0x2); in TEST() 54 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST() 61 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::IMM8, 0>()), 0x21); in TEST() 69 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST() 70 … EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), static_cast<int8_t>(0xf2)); in TEST() 77 EXPECT_EQ((inst.GetVReg<BytecodeInstruction::Format::V8_IMM8, 0>()), 0xf2); in TEST() 78 EXPECT_EQ((inst.GetImm<BytecodeInstruction::Format::V8_IMM8, 0>()), 0x12); in TEST() [all …]
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | file_format.md | 1 # Panda Binary File Format 3 This document describes Panda binary file format with the following goals in mind: 16 Current binary file format should extend these limits to conform to the modern requirements. 21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and 30 Binary file format should support fast access to information. It means that 31 redundant references should be avoided. Also, if it possible, binary file format should avoid data 32 indexes (like sorted list of strings). However, the described binary format supports one index: 59 To support this feature, the described binary file format uses offsets and doesn't specify how 64 The binary file format supports future changes via version number. 68 Any tool which supports format version `N` must support format version `N - 1` too. [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | file_format.md | 1 # Panda Binary File Format 3 This document describes Panda binary file format with the following goals in mind: 16 Current binary file format should extend these limits to conform to the modern requirements. 21 The format uses [TaggedValue](#taggedvalue) which allows to store only information we have and 30 Binary file format should support fast access to information. It means that 31 redundant references should be avoided. Also, if it possible, binary file format should avoid data 32 indexes (like sorted list of strings). However, the described binary format supports one index: 59 To support this feature, the described binary file format uses offsets and doesn't specify how 64 The binary file format supports future changes via version number. 68 Any tool which supports format version `N` must support format version `N - 1` too. [all …]
|
| /arkcompiler/runtime_core/cmake/ |
| D | README.md | 12 …ets (if you have installed additional libraries, like google-test, clang-format, clang-tidy, etc.). 25 …roject and then also build style-checker targets (you must install clang-format and clang-tidy wit… 41 You may force fixes for clang-format issues, with the `make clang_force_format` command. 42 Run `make help | grep clang` to see all possible clang-[format|style] targets. 43 …ponding clang-format target (`make clang_format_opt_opt.cpp`) or the clang-tidy one (`make clang_t… 53 * Clang-format style file - `.clang-format` 54 * Script to show diff through clang-format execution - `scripts/run-clang-format.py`
|
| /arkcompiler/runtime_core/static_core/abc2program/templates/ |
| D | abc_inst_convert.cpp.erb | 30 const BytecodeInstruction::Format format = bcIns.GetFormat(); 32 switch (format) { 36 case BytecodeInstruction::Format::<%=i.format.pretty.upcase%>: 42 …e_back(bit_cast<double, int64_t>(bcIns.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upca… 44 …ce_back(bit_cast<float, int32_t>(bcIns.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upca… 48 …mplace_back(static_cast<int64_t>(bcIns.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upca… 50 …ins.imms.emplace_back(bcIns.GetImm<BytecodeInstruction::Format::<%=i.format.pretty.upcase%>, <%=im… 72 // if format has ID in it - recieve it. else instruction is indirect call and id = methodId 75 if (bcIns.HasId(format, 0)) { 108 … "between amount of registers specified by instruction format and amount of function's arguments) "
|
| /arkcompiler/runtime_core/static_core/libpandafile/ |
| D | bytecode_instruction.h | 242 template <Format FORMAT, typename EnumT = BytecodeInst<MODE>::Opcode, size_t IDX = 0> 245 template <Format FORMAT, size_t IDX = 0> 248 template <Format FORMAT> 251 template <Format FORMAT, size_t IDX = 0> 325 template <Format FORMAT> 328 return JumpTo(Size(FORMAT)); in GetNext() 383 Format GetFormat() const; 407 static constexpr bool HasId(Format format, size_t idx); 409 static constexpr bool HasVReg(Format format, size_t idx); 411 static constexpr bool HasImm(Format format, size_t idx); [all …]
|
| /arkcompiler/runtime_core/static_core/cmake/ |
| D | README.md | 12 …ets (if you have installed additional libraries, like google-test, clang-format, clang-tidy, etc.). 25 …roject and then also build style-checker targets (you must install clang-format and clang-tidy wit… 41 You may force fixes for clang-format issues, with the `make clang_force_format` command. 42 Run `make help | grep clang` to see all possible clang-[format|style] targets. 43 …ponding clang-format target (`make clang_format_opt_opt.cpp`) or the clang-tidy one (`make clang_t… 53 * Clang-format style file - `.clang-format` 54 * Script to show diff through clang-format execution - `scripts/run-clang-format.py`
|
| /arkcompiler/jsvm/src/platform/ |
| D | platform.cpp | 49 void VPrint(const char* format, va_list args) in VPrint() argument 51 vprintf(format, args); in VPrint() 54 void VPrintError(const char* format, va_list args) in VPrintError() argument 56 (void)vfprintf(stderr, format, args); in VPrintError() 59 void OS::Print(OS::LogLevel level, const char* format, ...) in Print() argument 62 va_start(args, format); in Print() 64 VPrintError(format, args); in Print() 66 VPrint(format, args); in Print()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/isa/ |
| D | isa.yaml | 42 format: [pref_op_v1_4_v2_4_id_16] 47 format: [pref_op_v1_4_v2_4_v3_4_v4_4_id_16] 52 format: [pref_op_v_8_id_16] 57 format: [pref_op_v1_4_v2_4_id_16] 62 format: [pref_op_v1_4_v2_4_v3_4_v4_4_id_16] 67 format: [pref_op_v_8_id_16] 102 format: [pref_op_v_8_id_32] 109 format: [pref_op_v_8_id_32] 116 format: [pref_op_v_8_id_32] 154 format: [pref_op_v_8_id_32] [all …]
|
| /arkcompiler/toolchain/build/templates/cxx/ |
| D | external_deps_handler.py | 43 print("file '{}' doesn't exist.".format(input_file)) 51 print("The file '{}' format is incorrect.".format(input_file)) 77 …print("Attemp to get a target({}) which is not in the component's inner_kits!".format(target_name)) 92 … config_info = read_json_file("{}arkcompiler/ets_runtime/bundle.json".format(args.root_src_dir)) 96 … config_info = read_json_file("{}arkcompiler/runtime_core/bundle.json".format(args.root_src_dir)) 100 … config_info = read_json_file("{}arkcompiler/ets_frontend/bundle.json".format(args.root_src_dir)) 104 … config_info = read_json_file("{}arkcompiler/toolchain/bundle.json".format(args.root_src_dir)) 109 "third_party_gn/libuv/dummy_bundle.json".format(args.root_src_dir)) 114 "bounds_checking_function/dummy_bundle.json".format(args.root_src_dir)) 119 "icu/dummy_bundle.json".format(args.root_src_dir)) [all …]
|
| /arkcompiler/ets_frontend/test262/ |
| D | intl_tests.txt | 177 intl402/DateTimeFormat/prototype/format/throws-value-non-finite.js 178 intl402/DateTimeFormat/prototype/format/dayPeriod-short-en.js 179 intl402/DateTimeFormat/prototype/format/dayPeriod-narrow-en.js 180 intl402/DateTimeFormat/prototype/format/taint-Object-prototype.js 181 intl402/DateTimeFormat/prototype/format/builtin.js 182 intl402/DateTimeFormat/prototype/format/name.js 183 intl402/DateTimeFormat/prototype/format/format-function-builtin.js 184 intl402/DateTimeFormat/prototype/format/related-year-zh.js 185 intl402/DateTimeFormat/prototype/format/bound-to-datetimeformat-instance.js 186 intl402/DateTimeFormat/prototype/format/date-constructor-not-called.js [all …]
|
| /arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/ |
| D | bytecode_inst.h | 177 template <Format FORMAT, size_t IDX = 0, bool IS_SIGNED = false> 198 template <Format FORMAT> 201 return JumpTo(Size(FORMAT)); in GetNext() 235 Format GetFormat() const; 251 static constexpr bool HasId(Format format, size_t idx); 253 static constexpr bool HasVReg(Format format, size_t idx); 255 static constexpr bool HasImm(Format format, size_t idx); 257 static constexpr Format GetFormat(Opcode opcode); 259 static constexpr size_t Size(Format format);
|