Commit Graph

286 Commits

Author SHA1 Message Date
zhouguangyuan
1304244e91 Add static branch prediction for CheckSafePoint
Signed-off-by: ZhouGuangyuan <zhouguangyuan1@huawei.com>
Change-Id: Ifd618d5f2b1dfe5191fd5d21719f0bf2f0d1cf74
2024-06-24 11:16:10 +08:00
wupengyong
8e309bcddf Revert "Revert "!7663 opt callruntime IsElementsKindSwitchOn""
This reverts commit 092dee000e.

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Id6b80dc82ee7bd640c6827e1a383a46ef8bb0b78
2024-06-11 20:12:34 +08:00
openharmony_ci
aad409e815
!7689 Disable worker pgo profiler and aot optimization
Merge pull request !7689 from yingguofeng/master
2024-06-07 09:52:39 +00:00
yingguofeng@huawei.com
ef2532024a <Fix>(Aot): Disable worker pgo profiler and aot optimization
Issue: #I9VIJF
Change-Id: I30046d6a4c1d53c616634bbf20c510172342b775
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2024-06-07 16:00:46 +08:00
openharmony_ci
d54e9c13b9
!7496 [Baseline JIT] new features and bugfix(MR276-MR301)
Merge pull request !7496 from suyue/ohmaster0522rebase
2024-06-07 03:12:53 +00:00
wupengyong
092dee000e Revert "!7663 opt callruntime IsElementsKindSwitchOn"
This reverts commit 7b8fbc7cd1, reversing
changes made to a3703671fc.

Signed-off-by: wupengyong <wupengyong@huawei.com>
2024-06-06 22:08:39 +08:00
suyue
1c4a599bc8 [Baseline JIT] new features and bugfix(MR276-MR303)
!276 [BaselineJIT]baseline bugfix CreateemptyarrayImm16
* [BaselineJIT]baseline bugfix CreateemptyarrayImm16

!277 [BaselineJIT]baseline bugfix of stringId,slotId type
* [BaselineJIT]baseline bugfix of stringId,slotId type

!278 bugfix for stringId,slotId and levelId
* [baselineJit]bugfix for stringId,slotId and levelId

!279 [BaselineJIT]generate assembly for bytecode MOV_V*_V* directly
* [BaselineJIT]generate assembly for bytecode MOV_V*_V* directly

!280 [baselineJit]bugfix for index needed extend to int32/16 and add log
* [baselineJit]bugfix for index needed extend to int32/16 and add log

!281 [BaselineJIT]avoid push args on stack
* [BaselineJIT]avoid push args on stack

!272 [BaselineJIT] support exception handler
* [BaselineJIT] support exception handler

Change-Id: I57d84d30dad04c31ca163183aab67ea3e0d6911a

!283 [BaselineJIT] do not pass parameters on the stack
* [BaselineJIT] do not pass parameters on the stack

!282 [BaselineJIT] support return thisObject for NewObjRange
* [BaselineJIT] support return thisObject for NewObjRange

!285 [BaselineJIT]support profiler part2
* part23
* part22
* part21
* part20
* part19
* part18, support APPEND_SUFFIX_IMM16
* part17
* part16
* part15
* part14
* part13
* part12
* part11
* part10
* part9
* part8
* part7
* part6
* part5
* part4
* part3
* BaselineCallargs3Imm8V8V8V8 callRange
* callagr1 and callarg2
* BaselineCallArg0Imm8

Change-Id: Ib19febd1a506be1b7f5b08120cf7f8e0914df389

!286 [BaselineJIT]bugfix for the type of slotId
* [BaselineJIT]bugfix for the type of slotId

!284 [BaselineJIT] enable other EXCEPTION macros
* [BaselineJIT] enable other EXCEPTION macros

!288 [BaselineJIT]baseline support update hotness part2
* [BaselineJIT]support distinguish upframe for current baseline frame
* [BaselineJIT]support BaselineSuspendgeneratorV8
* [BaselineJIT]baseline support update hotness part2

!289 [BaselineJIT] adapter UpFrame for baseline
* [BaselineJIT] adapter UpFrame for baseline

!291 [BaselineJIT] get baselineBuiltinFp by asm stub
* [BaselineJIT] get baselineBuiltinFp by asm stub

!292 [baselineJit]bugfix for builtin and replace return value with macro CHECK_EXCEPTION_WITH_ACC
* replace return value with macro CHECK_EXCEPTION_WITH_ACC part5
* replace return value with macro CHECK_EXCEPTION_WITH_ACC part4
* replace return value with macro CHECK_EXCEPTION_WITH_ACC part3
* replace return value with macro CHECK_EXCEPTION_WITH_ACC part2
* [baselineJit]bugfix for BaselineDelobjpropV8 and replace return value …

!293 [baselineJit]bugfix for arm64
* [baselineJit]bugfix for arm64

!294 replace return value with macro
* supplement CHECK_PENDING_EXCEPTION
* [baselineJit]replace return value with macro CHECK_EXCEPTION_WITH_JUMP…
* [baselineJit]replace return value with macro CHECK_EXCEPTION_WITH_VARACC

!296 [baselineJit]exception handler macro DISPATCH_LAST
* enable DISPATCH_LAST in UPDATE_HOTNESS
* DISPATCH_LAST part2
* [baselineJit]DISPATCH_LAST part1

!297 [baselineJit] support profile 补充
* [baselineJit] support profile in WideNewobjrangePrefImm16V8,

!295 bugfix for HandleReturn
* [baselineJit]bugfix for HandleReturn

Change-Id: I53c342fb00401e9acbef1cc178dea832e3defefd

!298 bugfix for interpreter
* [baselineJit]bugfix for interpreter

Signed-off-by: suyue <suyue13@huawei.com>
Change-Id: Ic77e5dc3bc4accc999f2ef2e07e562058dc88fbe

!300 [BaselineJIT]support js stack trace
* [BaselineJIT]support js stack trace

Change-Id: Ia2a8069577e9f9568d9b376be867320f2e0b52cf

!299 [baselineJit]Bugfix for arm64
* [baselineJit]Bugfix for arm64

Change-Id: Icce088dc3b42b183d794ea47998efc51d752854f

!301 [baselineJit]Bugfix for BaselineNewobjapplyImm16V8
* [baselineJit]Bugfix for BaselineNewobjapplyImm16V8,BaselineCloseiterat…

!302 [baselineJit]Bugfix for mov imm64 to reg in arm64
* [baselineJit]Bugfix for mov imm64 to reg in arm64

!303 [baselineJit]bugfix for RuntimeGetBytecodePcOfstForBaseline
* [baselineJit]bugfix for RuntimeGetBytecodePcOfstForBaseline

Change-Id: I67fdd8bf1c9da3d8f7a87d180689618f95771cea
2024-06-06 16:28:41 +08:00
DaiHN
52c6b3e7f8 Revert "Reason:opt proxy get set"
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9VEVN?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I8b0737aab3007e19a4333635dc3fd6c365a94c03
2024-06-05 21:02:36 +08:00
openharmony_ci
7b8fbc7cd1
!7663 opt callruntime IsElementsKindSwitchOn
Merge pull request !7663 from wpy111/master
2024-06-05 06:53:41 +00:00
openharmony_ci
755d2b8045
!7594 Add fastElementkind ut case & Fix FillFractionals
Merge pull request !7594 from maojunwei/fastelementkind
2024-06-05 03:16:36 +00:00
wupengyong
eec73be2f7 Reason:opt callruntime IsElementsKindSwitchOn
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9UV05?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I34ee3ac1867cfe567c7e573787afb75afc15b1a5
2024-06-05 10:43:27 +08:00
wangyue
9c9fd70e2c jit && dfx
Signed-off-by: wangyue <guowanlong@huawei.com>
Change-Id: I4010825e9e665a5c5d6ed45aedb05e0e0bef2098
2024-06-01 14:06:52 +04:00
zhangyiwei
2990f9eb23 sticky gc
Signed-off-by: zhangyiwei <zhangyiwei11@huawei.com>
Change-Id: Id1d6b22d966b7342f832b4ca197c751df791cf48
2024-06-01 09:58:09 +08:00
openharmony_ci
961cf1338f
!7452 [新需求]: Function.prototype.bind IR化
Merge pull request !7452 from 李晨帅/FunctionIR
2024-05-30 13:24:21 +00:00
dov1s
e57387ce90 Add fastElementkind ut case & Fix fixeddtoa
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9TDU1

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: Ib6b9d70c71a10d234ba8030f7f7fd4dda3328b2b
2024-05-30 15:11:47 +08:00
wupengyong
f6165120eb Reason:opt proxy get set
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9QROW?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Id8f52dc74279ed79ca94cb4ab4afbb14a788325c
2024-05-28 19:19:04 +08:00
openharmony_ci
1b4552a7a3
!7442 Opt Array.isArray & Reflect.get & Object.SetPrototypeOf
Merge pull request !7442 from maojunwei/reflect
2024-05-27 13:53:55 +00:00
dov1s
31aae2d345 Opt Array.isArray & Reflect.get & Object.SetPrototypeOf
issue:#I9QCP4

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I6a6a3b4bcf0d17532b820a4e8ff337edced8261f
2024-05-27 19:26:21 +08:00
lichenshuai
cdb629a9b9 [新需求]: Function.prototype.bind IR化
对 Function.prototype.bind IR化,以提升性能

Issue: #I9QCI5

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I2bc7df27a3cdba7baf895dc9064ad0d4c873f4e4
2024-05-27 17:05:53 +08:00
openharmony_ci
db3b09a31a
!7466 avoid deopt when array store index is out of bounds
Merge pull request !7466 from KasonChan/ck_opt_stoutofbounds
2024-05-25 15:17:06 +00:00
c00451847
73b688a52d avoid deopt when array store index is out of bounds
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9PFML
Signed-off-by: c00451847 <chenkai71@huawei.com>
Change-Id: Ic297d2b3d673121654e1a1f64eb508522745a0e4
2024-05-25 16:53:18 +08:00
openharmony_ci
72da5dd3b2
!7313 Add fastpath for elementkind
Merge pull request !7313 from maojunwei/elementkind
2024-05-24 12:43:49 +00:00
openharmony_ci
71aab22190
!7276 define property by name
Merge pull request !7276 from jiangmengyang/ic
2024-05-24 12:39:51 +00:00
dov1s
555f00b5e3 Add fastpath for elementkind
issue:#I9O499

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: Icad8c5624d50fa492c56fed8eec568d63a5d682c
2024-05-24 15:11:45 +08:00
openharmony_ci
2d317fa7c1
!7206 Inline some builtins of Object Function Reflect
Merge pull request !7206 from dingding/aot_inline
2024-05-23 04:30:24 +00:00
openharmony_ci
fea1d192c9
!7407 IR Number.toString()
Merge pull request !7407 from maojunwei/toString
2024-05-21 04:46:40 +00:00
dingding
9d15de8852 Inline some builtins of Object Function Reflect
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9KXK4

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: I4bfa2df0ca295fea3594639483d271a746c82153
2024-05-20 19:52:51 +08:00
maojunwei
eedb2ed59c IR Number.toString();
issue:#I9PTER

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I2fe546429df9b329837d19b07851b409ae749825
2024-05-17 12:52:12 +08:00
lichenshuai
7112c43755 [新需求]: 新增Cell类型,并适配缓存ProfileTypeInfo以提升性能
之前,profileTypeInfo位于method,当前已被移动至function,此时如果重复definefunc,则会使得profileTypeInfo被清空。
因此,需要缓存profileTypeInfo以提升性能。
新增Cell类型,用于缓存profileTypeInfo。

Issue: #I9OZOF

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I151d78401ea7eba03426fd80fd3549a7f12effa0
2024-05-15 17:51:47 +08:00
yycc
de448b07cc Adapt new isTrue/False instruction
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I9N35U
Description: Adapt new isTrue/False instruction

Signed-off-by: yycc <yuyicen1@huawei.com>
Change-Id: I73c57e6ee6a8adf2483c5a02c51d5e4e4c945532
2024-05-14 10:54:59 +08:00
lijiamin2019
25076981de Support sendable env
Signed-off-by: lijiamin2019 <lijiamin24@huawei.com>
Change-Id: I12c98e977e9338cbe811cdd65b8e6b80bc8f4872
2024-05-12 17:41:27 +08:00
c00451847
ac3eae8b47 opt definefunc field store barrier
issue: https://gitee.com/open_harmony/dashboard?issue_id=I9IT6U
Change-Id: I631113b5a718d5e7a338ccb4888da974a100a8df
Signed-off-by: c00451847 <chenkai71@huawei.com>
2024-05-10 16:59:55 +08:00
liuzhijie
f15f4fcb24 Optimize AOT NewObjRange
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9H3R6?from=project-issue
Signed-off-by: liuzhijie <liuzhijie9@huawei.com>

Change-Id: I6cfb557949befdd22343f3d9a5ed69bd9eb8a1fb
2024-04-28 11:07:38 +08:00
openharmony_ci
a629c7f53b
!7006 add BinarySearch IR
Merge pull request !7006 from wpy111/master
2024-04-25 02:56:07 +00:00
wupengyong
dd13cf5e1d Reason:add BinarySearch IR
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9I3F7?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: If302d0b446537b1c247da241e49af2f803887314
2024-04-23 21:00:46 +08:00
Like
8463dad7ca privateproperty lowering
Signed-off-by: Like <zhenglike@huawei.com>
Change-Id: Idd4affbc9d1ea861d8ef1168ce5f36ee9ef495e7
2024-04-23 14:20:59 +08:00
w00443755
e68673a13f enable baseline compiler
add baseline builtins

Change-Id: Ib8d7c392c62e21eab19b17e45c0fafb499cbbed9

support running baseline compiler by option --compiler-force-baseline-compile-main=true

Change-Id: I7c7337faf9fad39ccffb2de28d46403e2f6cb22b

baseline jit part3

Change-Id: I36e8dd6a6fa6fffb738029a8620bbcd01df1e017

baseline part4

Change-Id: Ib45bcf7255a85aa48f864a6021adf819927e6a13

baseline part5 move baseline into compiler folder

Change-Id: Ia8781c95ae00c4f300e7267a6da0078b5d04e4c8

!185 support BaselinePrologue
* support BaselinePrologue part3
* support BaselinePrologue part2
* support BaselinePrologue

!187 [BaselineJit] support load baseline builtins
* [BaselineJit]support load baseline builtins

!186[BaselineJIT] workaround for baselinejit support install code
* install code part3
* install code part2
* baseline jit support intall code

!188 [BaselineJit] support CallBuiltin
* [BaselineJit] baseline support  CallBuiltin

!189 [BaselineJIT]implement StackOffset class
* [BaselineJIT]implement StackOffset class

!190 [BaselineJIT]refactor BaselineAssembler and MacroAssembler
* [BaselineJIT]refactor BaselineAssembler and MacroAssembler

!191 [BaselineJIT] refactor class BaselineCompiler
* [BaselineJIT] refactor class BaselineCompiler

!192 [BaselineJIT] callbuiltin support new parameter type
new parameter type: int32_t,SpecialParameter,VirtualRegister

!193 [BaselineJIT]modify BaselineLoadObjByName function
* [BaselineJIT]modify BaselineLoadObjByName function

!194 [BaselineJIT] support new builtins
* [BaselineJIT] add  BaselineTryLdGLobalByNameImm8ID16,  BaselineStToGlobalRecordImm16ID16, BaselineLdaStrID16

!196 [BaselineJIT]bugfix for BaselinePrologue, align the rsp
* [BaselineJIT]bugfix for BaselinePrologue, align the rsp

!197 [BaselineJIT]bugfix for StackOffsetDescriptor
* [BaselineJIT]bugfix for StackOffsetDescriptor

!198 [BaselineJIT]workaround for helloworld testcase, helloworld can run successfully
* workaround for helloworld testcase, helloworld can run successfully

!200 [BaselineJIT]adapt profile collection
* [BaselineJIT]adapt profile collection

!201 [BaselineJIT]refactor baseline jit
* [BaselineJIT]refactor baseline jit

!203 [BaselineJIT]support trigger BaselineJITCompile and call baselinecode async
* [BaselineJIT]support trigger BaselineJITCompile and call baselinecode async

!202 [BaselineJIT]enable update hotness
* [BaselineJIT]enable update hotness

!205 [BaselineJIT]adapt JSCallDispatch interface
* [BaselineJIT]adapt JSCallDispatch interface

Change-Id: I4efce4346f985c7e074d7fc4bbfe3b081272e950

!195 [Baseline JIT] bytecode to builtin funs
* !206 enable bytecode builtins and call CHECK_PENDING_EXCEPTION
* [Baseline JIT] builtins:StobjbynameImm9Id16V8,StobjbynameImm16Id16V8,S…
* [Baseline JIT] builtins:CopyrestargsImm8,LdlexvarImm4Imm4,StlexvarImm4…
* [Baseline JIT] builtins: LdsuperbyvalueImm8V8,LdsuperbyvalueImm16V8,St…
* [Baseline JIT] builtins: DelobjpropV8,AsyncfunctionawaituncaughtV8,Cop…
* !204 enable bytecode builtins
* [Baseline JIT] builtins: DefineclasswithbufferImm8Id16Id16Imm16V8,Defi…
*  [Baseline JIT] builtins: LdthisbynameImm8Id16,Definegettersetterbyval…
* [Baseline JIT] builtins: Callarg0Imm8,SupercallspreadImm8V8,ApplyImm8V…
* !199 enable bytecode builtin func
* [Baseline JIT] builtins: StrictnoteqImm8V8,StricteqImm8V8,Istrue,Isfal…
* [Baseline JIT] builtins: NegImm8,NotImm8,IncImm8,DecImm8,IsinImm8V8,In…
* [Baseline JIT] builtins: And2Imm8V8,Or2Imm8V8,Xor2Imm8V8,ExpImm8V8,Typ…
* [Baseline JIT] builtins:LessImm8V8,LesseqImm8V8,GreaterImm8V8,Greatere…
* [Baseline JIT] builtins:Add2Imm8V8,SUB2_IMM8_V8,MUL2_IMM8_V8,DIV2_IMM8…
* [Baseline JIT] builtins:CreateobjectwithbufferImm8Id16,Createobjectwit…
* [Baseline JIT]builtins:Createemptyobject,CreateemptyarrayImm8,Createem…
* [Baseline JIT] builtins:GetiteratorImm16,Asyncfunctionenter,Createasyn…
* [Baseline JIT] builtins:ldsymbol,ldglobal,Poplexenv,Getunmappedargs,Ge…
* [BaselineJIT] builtins: add base class

!209 handle opcode in baseline compiler
* handle opcode in baseline compiler

!210 [baseline jit]: add baseline stub call signature target kind info
* [baseline jit]: add baseline stub call signature target kind info

!212 [BaselineJIT]baseline builtin bugfix
* [BaselineJIT]baseline builtin bugfix

!207 [BaselineJIT]support BaselineBuiltinFrame
* [BaselineJIT]support BaselineBuiltinFrame

!214 [BaselineJIT]baseline builtin bugfix of using JSCallDispatch
* [BaselineJIT]baseline builtin bugfix JSCallDispatch

Change-Id: Id67b991df5dee753a38c284234d15b02f0d8a091

!215 [BaselineJIT]bugfix for StackOffsetDescriptor
* [BaselineJIT]bugfix for StackOffsetDescriptor

!216 [baseline jit]update bytecode builtins
* [baseline jit]update bytecode builtins

!213 [BaselineJIT]support BaselineReturn and BaselineReturnundefined
* [BaselineJIT]support BaselineReturn and BaselineReturnundefined

!218 [BaselineJIT]baseline builtin
* [BaselineJIT]baseline builtin:ldfunction,ldthis,asyncgeneratorresolvev…

!217 parse baseline-jit bytecode v1.0
* parse bytecode in baseline-jit

!220 [BaselineJIT]baseline refactor ParameterIndex
* [BaselineJIT]baseline refactor ParameterIndex

!223 [BaselineJIT]get function and method from stack, avoiding method is used after call
* [BaselineJIT]get function and method from stack, avoiding method is us…

!224 [BaselineJIT]bugfix for compiling x64.release
* [BaselineJIT]bugfix for compiling x64.release

!226 [BaselineJIT] adapt gc for BASELINE_BUILTIN_FRAME type
* [BaselineJIT]adapt gc for BASELINE_BUILTIN_FRAME type

!222 [BaselineJIT] parse baseline builtin args
* [BaselineJIT] parse baseline builtin args:part 2
* [BaselineJIT] parse baseline builtin args

!229 parse baseline-jit bytecode v2.0
* [BaselineJIT] parse bytecode v2.0

!230 [BaselineJIT] remove including undefined_function file
* [BaselineJIT] remove including undefined_function file

!228 handle byte opcode of jmp v2
* [baseline jit]handle opcode of jmp V2

[BaselineJIT]rebase bugfix

Change-Id: I078298849139317dfa89fb139979c1b7d938b344

!231 [BaselineJIT] fix bugs about reading bytecode
* [BaselineJIT] fix bugs about read bytecode

!232 [BaselineJIT] fix bug about processing arguments in stub
* [BaselineJIT] fix bug about processing argument in baseline-stubs

!233 handle int64_t type in CallBuiltin
* [baseline jit]handle int64_t type in CallBuiltin

!234 [BaselineJIT] fix bug for StToGlobalRecordImm16ID16
* [BaselineJIT] fix bug for StToGlobalRecordImm16ID16

!235 [BaselineJIT] fix bugs about args type
* [BaselineJIT] fix type of args that passing to builtins

!236 [BaselineJIT] do not pass constpool to builtins
* [BaselineJIT] do not passing constpool to builtin

Change-Id: I8c46d70527a3fedd841d28ac1908a02d4a66edeb

!237 [baselineJit]Bugfix for sp used in JSCallDispatch and incorretc type
* [baselineJit]Bugfix for sp used in JSCallDispatch and incorretc type

Change-Id: I3f42ecd06266a20b2b145cfe98bcbd97a2848bab

[BaselineJIT] dump_test bugfix

Change-Id: I97d21960ca98cd1a6fc9b1e81b647ff9d8d5d0c2

[BaselineJIT]codecheck fix

Change-Id: I93eb02e45b70f4a5bfee84fec0c8e2cdc765d348

code check bugfix part2

Change-Id: I8680dd2c098193705709691fa78e8e6f3ad8cd6c

bugfix for review

Change-Id: I49b28e109530b9f8b403ba22ba39948e02834021

[BaselineJIT]change file folder

Change-Id: I1f46110a804f17270badcff7cdeb2058ca164161

[BaselineJIT]bugfix for review part2

Change-Id: I190406652697f9b17ac6c84dd706262046dbb5f7

!238 [BaselineJIT] fix more than 6 args builtins
*  [BaselineJIT] fix more than 6 args builtins

!239 [BaselineJIT] fix bug in parsing CALLTHISRANGE_IMM8_IMM8_V8
* [BaselineJIT] fix bug in parsing CALLTHISRANGE_IMM8_IMM8_V8

!240 [BaselineJIT] fix bug and add NewobjrangeImm8Imm8V8,NewobjrangeImm16Imm8V8
* [BaselineJIT] fix bug and add NewobjrangeImm8Imm8V8,NewobjrangeImm16Imm8V8

!241 [BaselineJIT] fix bug of ldnan, ldinfinity
* [BaselineJIT] fix bug of ldnan, ldinfinity

!242 [BaselineJIT] return JSCallDispatch result
* [BaselineJIT] return result of JSCallDispatch for baselinecode

!245 [BaselineJIT] fix builtins return value
* [BaselineJIT] fix builtins return value

!244 [BaselineJIT] save result to acc
* [BaselineJIT] save result to acc

!243 Bugfix for StlexvarImm4Imm4
* [baselineJit]Bugfix for StlexvarImm4Imm4

!246 [BaselineJIT] remove ldfunction
* [BaselineJIT] remove ldfunction

!248 [BaselineJIT] save result of DEFINECLASSWITHBUFFER_IMM8_ID16_ID16_IMM16_V8
* [BaselineJIT] fix return

!247 [baselineJit]Bugfix for Stlexvar and Ldlexvar
* [baselineJit]Bugfix for Stlexvar and Ldlexvar

!249 [BaselineJIT] Revert "!242[BaselineJIT] return JSCallDispatch result"
* Revert "!242 [BaselineJIT] return JSCallDispatch result"

!251 Bugfix for BaselineCreateobjectwithexcludedkeysImm8V8V8
* [baselineJit]Bugfix for BaselineCreateobjectwithexcludedkeysImm8V8V8

!252 [baselineJit]Bugfix for notException branch
* [baselineJit]Bugfix for notException branch

!250 [BaselineJIT] save result to acc in JSCallDispatch for baselinemethodcode
* [BaselineJIT] save result of JSCallDispatch to acc for baselinecode

!254 [BaselineJIT] fix type bug
* [BaselineJIT] fix type bug

!255 [BaselineJIT] fix bug of LDAI_IMM32
* [BaselineJIT] fix bug of LDAI_IMM32

!253 Bugfix for Poplexenv
* [baselineJit]Bugfix for Poplexenv

!256 [BaselineJIT] fix pc & refractor jscalldispatch for baseline-jit
* [BaselineJIT] fix pc of baseline-jit & refactor jscalldispatch for baseline-jit

!257 [BaselineJIT] replace indirectly jscalldispatch with jscalldispatchforbaseline
* [BaselineJIT] replace indirectly jscalldispatch with jscalldispatchforbaseline

!258 [BaselineJIT] fix using shl2 builtin bug
* [BaselineJIT] fix using shl2 builtin bug

!259 Bugfix and enable BaselineIstrue and BaselineIsFalse
* [baselineJit]Bugfix and enable BaselineIstrue and BaselineIsFalse

!260 [BaselineJIT]  fix bug about passing FUNC parameter
* [BaselineJIT] fix bug about passing FUNC parameter

!261 [BaselineJIT] support passing parameters by stack and fix offset param bug
* [BaselineJIT] support passing parameters by stack and fix offset param bug

!263 [BaselineJIT] fix parameters bug of LdobjbyvalueImm16V8 & StobjbyvalueImm16V8V8
* [BaselineJIT] fix parameters bug of LdobjbyvalueImm16V8 & StobjbyvalueImm16V8V8

!262 Bugfix for jump offset
* [baselineJit]Bugfix for jump offset

!264 [BaselineJIT] fix intermediates v8 parameters bug
* [BaselineJIT] fix intermediates v8 parameters bug

Change-Id: I8bf4fdf7621770a1976925423de23693570365c9

!267 [BaselineJIT] fix bug of BaselineInstanceofImm8V8
* [BaselineJIT] fix bug of BaselineInstanceofImm8V8

!269 [BaselineJIT] support NEWOBJRANGE_IMM16_IMM8_V8 & fix calling DefineMethod runtimeStub
* [BaselineJIT] support NEWOBJRANGE_IMM16_IMM8_V8 & fix calling DefineMe…

!268 [BaselineJIT]support update hotness
* [BaselineJIT]enable update hotness part2
* [BaselineJIT]support update hotness

Change-Id: I24b02a9e015df7263b1e9d7210377add0bfc558c

CI bugfix

Change-Id: I2d5aef07a1f14b3c64585790cff99d64be0d6396
Signed-off-by: w00443755 <wangzhilei2@huawei.com>
2024-04-21 17:58:55 +08:00
Andrey Efremov
6fc2f3a590 Inline Set/Map has builtin
* Add tests

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9E585

Change-Id: I97a1d6da6172c459fe68f7fb58697a2ae5568ec5
Signed-off-by: Andrey Efremov <efremov.andrey@huawei-partners.com>
2024-04-18 16:40:41 +08:00
zhangyukun8
a805844282 CallBuiltinStub bugfix
1. Fix callsigature of builtincallwithargv
2. Remove call(rather than new) builtin constructor stub
3. AOT tail call builtin stub bugfix
4. Protect argv for AOT calling builtin constructor stub

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9FZMK?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I3f811db07de1ff3589c28af9cc4d18140b623bdb
2024-04-16 09:56:57 +08:00
openharmony_ci
de1ae1531b
!6824 add dataview setInt32 setFloat32 setFloat64 optimize
Merge pull request !6824 from wpy111/master
2024-04-10 08:04:08 +00:00
openharmony_ci
e4f5cab36b
!6776 Implement hash calculation for numbers and objects
Merge pull request !6776 from udav/hash
2024-04-09 12:31:24 +00:00
wupengyong
d72c703870 Reason:add dataview setInt32 setFloat32 setFloat64 optimize
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9F1RB?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I069e11d137c4e763413f9d9ab1f58d870234263e
2024-04-09 19:53:41 +08:00
Artem Udovichenko
978570144e Implement hash calculation for number
Change-Id: Ibf45fa2ad53197088a5f40a29513feedd92c5d04
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-04-08 20:18:20 +08:00
linxiang8
58abf70f8e rebase pgo_type to master
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9EE0H
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: Iaaf1b480e4a6dbfaebafb5153fd9f3c3e1eefbd0
2024-04-08 18:59:44 +08:00
hzzhouzebin
5c4a946bc6 Freez SharedArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9DFUB
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I6e3dcd39b1e2d5ecd8cff0c3f65fc3495496fbf5
2024-04-02 16:16:14 +08:00
hzzhouzebin
93b2fdb032 New API for SharedArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I9D0L7
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I4625ed4531180b4a6db45d65c0ebaa7482a88a83
2024-04-02 07:56:43 +08:00
Artem Udovichenko
e136588892 Revert "Implement hash calculation for number"
Change-Id: I3c66e943c3be72dc33f602648297c4553004e683
Signed-off-by: Artem Udovichenko <artem.udovichenko@huawei.com>
2024-04-01 16:31:46 +08:00
openharmony_ci
5c6ded208b
!6698 Clear jit flag when new jsfunction
Merge pull request !6698 from xiaoweidong/clearjitflag
2024-03-29 08:45:58 +00:00
openharmony_ci
becdd90295
!6643 Opt typedArray.newTypedArray
Merge pull request !6643 from liujia178/NewTypedArrayIR
2024-03-28 12:31:36 +00:00
xiaoweidong
d91e0f62de Clear aotflag when new jsfunction if the flag was set for jit
Change-Id: Ibaffcd0ad4cf6300ccffb5adc3cf9d49e518f588
Signed-off-by: xiaoweidong <xiaoweidong@huawei.com>
2024-03-28 16:25:53 +08:00