Home
last modified time | relevance | path

Searched refs:vs (Results 1 – 25 of 51) sorted by relevance

123

/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/graphics/
DXShader.js76 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/
Darrays-08.pa26 # 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
Darrays-07.pa26 # 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
Darrays-05.pa20 # - sig: lenarr vs
Darrays-02.pa30 # - sig: ldarr vs
/arkcompiler/runtime_core/tests/cts-assembly/
Darrays-07.pa26 # 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
Darrays-08.pa26 # 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
Darrays-05.pa20 # - sig: lenarr vs
Darrays-02.pa30 # - sig: ldarr vs
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DregSpiller.cpp81 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()
DregSpiller.h53 …[[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;
DcodeGen.h95 [[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;
Dpandagen.h73 [[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);
DETSGen.cpp172 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/
Dinterpreter.irt829 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/
Dabs_int_inl.h311 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/
Dinterpreter-inl.h136 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/
Dinterpreter-inl.h194 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/
Dstring_compare_to.sts28 ["А", "Ф", -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/
DfuncRefWithRestArguments.sts27 const fp2: FunctionN<int> = (...vs: (Object|null|undefined)[]): int => {
29 for (const v of vs) {
/arkcompiler/ets_frontend/
D.gitignore12 ets2panda/linter*/**/.vs
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dets_isinteger.sts25 //! 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/
Dtest_core_typeduarray.j295 …("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}})…
Dtest_core_typedarray.j2118 …("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/
Dcodegen.cpp1542 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 …]

123