| /arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/ |
| D | XShader.js | 76 let vs = gl.createShader(gl.VERTEX_SHADER); 77 gl.shaderSource(vs, vss); 78 gl.compileShader(vs); 79 if (!gl.getShaderParameter(vs, gl.COMPILE_STATUS)) { 81 'error occured compiling the shaders:' + gl.getShaderInfoLog(vs) 98 gl.attachShader(ret, vs); 107 gl.deleteShader(vs);
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| D | arrays-08.pa | 26 # if vs == null then 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc] 46 # - sig: ldarru.16 vs
|
| D | arrays-07.pa | 26 # if vs == null then 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc] 46 # - sig: ldarru.8 vs
|
| D | arrays-05.pa | 20 # - sig: lenarr vs
|
| D | arrays-02.pa | 30 # - sig: ldarr vs
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | arrays-07.pa | 26 # if vs == null then 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc] 46 # - sig: ldarru.8 vs
|
| D | arrays-08.pa | 26 # if vs == null then 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc] 46 # - sig: ldarru.16 vs
|
| D | arrays-05.pa | 20 # - sig: lenarr vs
|
| D | arrays-02.pa | 30 # - sig: ldarr vs
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | regSpiller.cpp | 81 IRNode *DynamicRegSpiller::MoveReg(const ir::AstNode *const node, const VReg vd, const VReg vs, in MoveReg() argument 84 return GetCodeGen()->AllocMov(node, vd, vs); in MoveReg() 112 IRNode *StaticRegSpiller::MoveReg(const ir::AstNode *const node, const VReg vd, const VReg vs, cons… in MoveReg() argument 114 if (vd == vs) { in MoveReg() 118 const auto *const sourceType = GetCodeGen()->GetVRegType(vs); in MoveReg() 125 spills_.emplace_back(vd, vs); in MoveReg() 128 return GetCodeGen()->AllocMov(node, vd, vs); in MoveReg()
|
| D | regSpiller.h | 53 …[[nodiscard]] virtual IRNode *MoveReg(const ir::AstNode *node, VReg vd, VReg vs, bool spillMov) = … 80 … [[nodiscard]] IRNode *MoveReg(const ir::AstNode *node, VReg vd, VReg vs, bool spillMov) override; 97 … [[nodiscard]] IRNode *MoveReg(const ir::AstNode *node, VReg vd, VReg vs, bool spillMov) override;
|
| D | codeGen.h | 95 [[nodiscard]] virtual IRNode *AllocMov(const ir::AstNode *node, VReg vd, VReg vs) = 0; 96 [[nodiscard]] virtual IRNode *AllocMov(const ir::AstNode *node, OutVReg vd, VReg vs) = 0;
|
| D | pandagen.h | 73 [[nodiscard]] IRNode *AllocMov(const ir::AstNode *node, VReg vd, VReg vs) override; 74 [[nodiscard]] IRNode *AllocMov(const ir::AstNode *node, OutVReg vd, VReg vs) override; 75 void MoveVreg(const ir::AstNode *node, VReg vd, VReg vs); 140 void SuperCallSpread(const ir::AstNode *node, VReg vs);
|
| D | ETSGen.cpp | 172 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, const VReg vd, const VReg vs) in AllocMov() argument 174 const auto *const sourceType = GetVRegType(vs); in AllocMov() 176 auto *const mov = [this, sourceType, node, vd, vs]() -> IRNode * { in AllocMov() 178 return Allocator()->New<MovObj>(node, vd, vs); in AllocMov() 181 return Allocator()->New<MovWide>(node, vd, vs); in AllocMov() 183 return Allocator()->New<Mov>(node, vd, vs); in AllocMov() 190 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, OutVReg vd, const VReg vs) in AllocMov() argument 196 return Allocator()->New<MovObj>(node, *vd.reg, vs); in AllocMov() 198 return Allocator()->New<MovWide>(node, *vd.reg, vs); in AllocMov() 203 return Allocator()->New<Mov>(node, *vd.reg, vs); in AllocMov() [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/scripts/ |
| D | interpreter.irt | 829 macro(:handle_throw) do |vs| 830 If(vs, 0).EQ.Unlikely { 833 call_runtime("ThrowExceptionFromInterpreter", %tr, vs, %frame, %pc).void 852 macro(:handle_mov) do |vd, vs| 853 set_primitive(vd, vs).u32 856 macro(:handle_lda) do |vs| 857 set_acc_primitive(vs) 929 macro(:"handle_#{sign}cmp") do |acc_val, vs| 931 If(acc_val, vs).send(:"#{cc.upcase}") { 934 If(acc_val, vs).EQ { [all …]
|
| /arkcompiler/runtime_core/static_core/verification/absint/ |
| D | abs_int_inl.h | 311 uint16_t vs = inst_.GetVReg<FORMAT, 0x01>(); in HandleMov() local 314 if (!CheckRegType(vs, bits32_)) { in HandleMov() 319 AssignRegToReg(vd, vs); in HandleMov() 330 uint16_t vs = inst_.GetVReg<FORMAT, 0x01>(); in HandleMovWide() local 333 if (!CheckRegType(vs, bits64_)) { in HandleMovWide() 338 AssignRegToReg(vd, vs); in HandleMovWide() 349 uint16_t vs = inst_.GetVReg<FORMAT, 0x01>(); in HandleMovObj() local 351 if (!CheckRegType(vs, refType_)) { in HandleMovObj() 356 AssignRegToReg(vd, vs); in HandleMovObj() 447 uint16_t vs = inst_.GetVReg<FORMAT>(); in HandleLda() local [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/interpreter/ |
| D | interpreter-inl.h | 136 uint16_t vs = this->GetInst().template GetVReg<FORMAT, 1>(); in HandleMov() local 137 LOG_INST() << "mov v" << vd << ", v" << vs; in HandleMov() 139 curFrameHandler.GetVReg(vd).MovePrimitive(curFrameHandler.GetVReg(vs)); in HandleMov() 147 uint16_t vs = this->GetInst().template GetVReg<FORMAT, 1>(); in HandleMovWide() local 148 LOG_INST() << "mov.64 v" << vd << ", v" << vs; in HandleMovWide() 150 curFrameHandler.GetVReg(vd).MovePrimitive(curFrameHandler.GetVReg(vs)); in HandleMovWide() 158 uint16_t vs = this->GetInst().template GetVReg<FORMAT, 1>(); in HandleMovObj() local 159 LOG_INST() << "mov.obj v" << vd << ", v" << vs; in HandleMovObj() 161 curFrameHandler.GetVReg(vd).MoveReference(curFrameHandler.GetVReg(vs)); in HandleMovObj() 169 uint16_t vs = this->GetInst().template GetVReg<FORMAT, 1>(); in HandleMovDyn() local [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/ |
| D | interpreter-inl.h | 194 uint16_t vs = this->GetInst().template GetVReg<FORMAT>(); in HandleEtsLdobjName() local 197 LOG_INST() << "ets.ldobj.name v" << vs << ", " << std::hex << "0x" << id; in HandleEtsLdobjName() 199 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsLdobjName() 236 uint16_t vs = this->GetInst().template GetVReg<FORMAT>(); in HandleEtsLdobjNameWide() local 239 LOG_INST() << "ets.ldobj.name.64 v" << vs << ", " << std::hex << "0x" << id; in HandleEtsLdobjNameWide() 241 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsLdobjNameWide() 278 uint16_t vs = this->GetInst().template GetVReg<FORMAT>(); in HandleEtsLdobjNameObj() local 281 LOG_INST() << "ets.ldobj.name.obj v" << vs << ", " << std::hex << "0x" << id; in HandleEtsLdobjNameObj() 283 ObjectHeader *obj = this->GetFrame()->GetVReg(vs).GetReference(); in HandleEtsLdobjNameObj() 322 uint16_t vs = this->GetInst().template GetVReg<FORMAT>(); in HandleEtsStobjName() local [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/strings/ |
| D | string_compare_to.sts | 28 ["А", "Ф", -1], // latin vs utf-16 -> LT 29 ["Ф", "A", 1 ], // utf-16 vs latin -> GT 39 [ "AAAA", "AAAAA", -1 ], // same prefix 4c vs 5c -> LT 40 [ "AAAAA", "AAAA", 1 ], // same prefix 5c vs 4c -> GT 86 [ "ГГГГ", "ГГГГГ", -1 ], // same prefix 4c vs 5c -> LT 87 [ "ГГГГГ", "ГГГГ", 1 ], // same prefix 5c vs 4c -> GT 125 // mixed (utf vs latin) strings comparison, never equals
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | funcRefWithRestArguments.sts | 27 const fp2: FunctionN<int> = (...vs: (Object|null|undefined)[]): int => { 29 for (const v of vs) {
|
| /arkcompiler/ets_frontend/ |
| D | .gitignore | 12 ets2panda/linter*/**/.vs
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_isinteger.sts | 25 //! ASM_NEXT x64: /mov\s+\$0x7FFFFFFF,.*/, arm64: /b\.vs.*/, arm32: /vcmp\.f32.*/ 39 //! ASM_NEXT x64: /mov\s+\$0x7FFFFFFF,.*/, arm64: /b\.vs.*/, arm32: /vcmp\.f32.*/ 61 //! ASM_NEXT x64: /mov\s+\$0x7FFFFFFFFFFFFFFF,.*/, arm64: /b\.vs.*/, arm32: /mov\s+r[0… 77 //! ASM_NEXT x64: /mov\s+\$0x7FFFFFFFFFFFFFFF,.*/, arm64: /b\.vs.*/, arm32: /mov\s+r[0…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_core_typeduarray.j2 | 95 …("Data mismatch for $_get(int) and $_get(number): " + target[i as int] + " vs " + target[i as numb… 100 …// NOTE: comparison of target that filled by set(int, {{.item.type}}) vs target2.$_set(number, {{.… 115 …console.print("Data mismatch for $_get(int) vs $_get(int) filled by set(int, {{.item.type}}) vs $_… 119 …console.print("Data mismatch for $_get(number) vs $_get(number) filled by set(int, {{.item.type}})…
|
| D | test_core_typedarray.j2 | 118 …("Data mismatch for $_get(int) and $_get(number): " + target[i as int] + " vs " + target[i as numb… 123 …// NOTE: comparison of target that filled by set(int, {{.item.primitiveType}}) vs target2.$_set(nu… 138 …console.print("Data mismatch for $_get(int) vs $_get(int) filled by set(int, {{.item.primitiveType… 142 …nsole.print("Data mismatch for $_get(number) vs $_get(number) filled by set(int, {{.item.primitive…
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | codegen.cpp | 1542 compiler::Register vs = inst->GetSrcReg(1U); in VisitStoreObject() local 1545 bool isAccType = (vs == compiler::ACC_REG_ID); in VisitStoreObject() 1559 enc->result_.emplace_back(pandasm::Create_STOBJ_V(vs, vd, id)); in VisitStoreObject() 1568 enc->result_.emplace_back(pandasm::Create_STOBJ_V_64(vs, vd, id)); in VisitStoreObject() 1575 enc->result_.emplace_back(pandasm::Create_STOBJ_V_OBJ(vs, vd, id)); in VisitStoreObject() 1594 compiler::Register vs = inst->GetSrcReg(1U); in VisitStoreStatic() local 1606 DoLda(vs, enc->result_); in VisitStoreStatic() 1612 DoLda64(vs, enc->result_); in VisitStoreStatic() 1616 DoLdaObj(vs, enc->result_); in VisitStoreStatic() 1640 compiler::Register vs = inst->GetSrcReg(0U); in VisitLoadObject() local [all …]
|