yuanyao
327112583c
RegExp enables $1..$9 global cache
...
Description:
enables RegExp.$1 ... .$9
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6BTMN
Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I78055455669e5f326a1b5aa8c199c24ce1fd44d7
2023-02-03 09:52:03 +08:00
openharmony_ci
1f021b6cb1
!3425 Fix updatehotnesscounter in asm interpreter
...
Merge pull request !3425 from zhangyukun8/master
2023-01-18 03:39:03 +00:00
zhangyukun8
99b7d31b1f
Fix updatehotnesscounter in asm interpreter
...
Save hotnessCounter before call asm js function
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6AK0I?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ic9bb334fe2dfefabc2628df3a2629f86aabeaf66
2023-01-17 18:56:29 +08:00
openharmony_ci
abdb8b236f
!3348 Fix AOT bug of hasOwnProperty
...
Merge pull request !3348 from weng-xi/fix_bug_of_compatibility
2023-01-15 03:30:20 +00:00
weng-xi
8f1fda94e3
Fix AOT bug of hasOwnProperty
...
1. change the logic of load/store operations when use AOT HClass
2. Supplement ut case
3. Add two new IC handlers
4. Add removeAOTFlag method to arktools
5. Add accessor flag to AOT HCLASS
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I692NO
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I9ca7e329b77e83b6c5a2c98525d551b5b4a1a9a4
2023-01-14 14:49:52 +08:00
openharmony_ci
d1abf4cc2a
!3386 Add fastpath of InstanceofIR JSCallDispatch
...
Merge pull request !3386 from lvfuqing/master
2023-01-13 02:23:07 +00:00
openharmony_ci
5e3e241a38
!3282 add JSTypedArray::FastGetPropertyByIndex IR
...
Merge pull request !3282 from wpy111/master
2023-01-11 15:20:01 +00:00
Fuqing Lv
1beb66c228
Add fastpath of InstanceofIR JSCallDispatch
...
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I69T1T
Signed-off-by: Fuqing Lv <lvfuqing1@huawei.com>
Change-Id: Ie535921a3064537839321cd66cc0dc3fe5c3e107
2023-01-11 11:30:09 +08:00
Fuqing Lv
2a938847dd
Add InstanceofIC IR
...
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I69C9J :
Signed-off-by: Fuqing Lv <lvfuqing1@huawei.com>
Change-Id: Ia79f1c51e1b856ced95f2c942d989f295fe4c701
2023-01-09 11:28:31 +08:00
wupengyong
2af8ddf265
reason:add JSTypedArray::FastGetPropertyByIndex IR
...
description:add JSTypedArray::FastGetPropertyByIndex IR
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I67C4S?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Iaca0cc76e3a71620f80b8d7a8059035ce47dd8b6
2023-01-06 17:36:14 +08:00
g00416891
fa5b47c71a
Explicit only works on single-argument constructor
...
Signed-off-by: g00416891 <guobingbing3@huawei.com>
Change-Id: Ia9bfc1e905962127d2afea6adb21704d4f0cd6d0
2023-01-03 11:06:16 +08:00
wupengyong
26709a4a3e
reason:add asmInterpreter code comment
...
description:add asmInterpreter code comment
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I662JK?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I25a273e4827ff32b2700d5cc6507730220ee8737
2022-12-17 15:07:50 +08:00
xujie
e9f3f18835
Add builtins array constructor stub
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I64K3J
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: I6ae6adc53b00eb43c9879c46a92fa15c13486ef9
2022-12-06 16:13:35 +08:00
openharmony_ci
5262acdd74
!3136 Add DateConstructor in builtins stubs
...
Merge pull request !3136 from dingding/ir_DateConstructor
2022-12-05 11:36:51 +00:00
ding
1d0c851fcd
Add DateConstructor in builtins stubs
...
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I649EV
Signed-off-by: ding <dingding5@huawei.com>
Change-Id: I22d1b4f2ec92f45c04b816c3a35e7a43ab6d9922
2022-12-05 15:56:32 +08:00
openharmony_ci
810c561eef
!3105 add Assert in stub
...
Merge pull request !3105 from wpy111/master
2022-12-02 07:37:01 +00:00
wupengyong
60b5039d3f
reason:add Assert in stub
...
description:add Assert in stub
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I63R7H?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I9bf81836163f300f8121dc8586c4db741a66b45d
2022-12-02 11:41:58 +08:00
sunzhe23
812f607fbc
Support Gate MetaData
...
replace gate GetProperties with gate meta data.
issues: I63J2D
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-11-30 17:52:21 +08:00
zhangyukun8
21a4d386f5
adapt aot cpuprofile
...
1.update leaveframe before call no gc runtime
2.keep atomicity when construct frames
3.rewrite checking isInsideStub and isInsideAot
4.deal with entry frame for cpuprofile
5.add folder stackmap
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I61SM9?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I329f19a88bcf8e7f7d31606bfa51c822e32df9b8
2022-11-28 21:44:52 +08:00
openharmony_ci
7cac42cad5
!3086 Modifying Code Alarms
...
Merge pull request !3086 from jing_han/master
2022-11-28 13:27:19 +00:00
jing_han
30b4a27aed
Modifying Code Alarms
...
Signed-off-by: jing_han <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I63I56
2022-11-28 19:48:29 +08:00
ding
d37f6d4596
AOT and ASM-Interpreter share builtins stub with call and new
...
1.Support new Builtins Constructor in Builtins Stub framework.
2.Support invoking Builtins Stub both ASM interpreter and AOT.
3.Add BooleanCosntructor implementation in Builtins Stub.
4.Add new log component: builtins
5.Add corresponding test case which can trace builtins execution path.
6.Add iterate stack map handler when entering by assembler.
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I631G9
Signed-off-by: ding <dingding5@huawei.com>
Change-Id: Ie3a485a0383464ecc0b42be0a21baf50bb35bc21
2022-11-28 19:15:55 +08:00
openharmony_ci
04555150ff
!2929 add TreeString and LineString
...
Merge pull request !2929 from wanghuan2022/master
2022-11-26 01:43:30 +00:00
huangzhenghua
2b03d70271
clean alarm
...
Signed-off-by: huangzhenghua <huangzhenghua3@huawei.com>
Change-Id: Ibe52bcaec35aecbc9cdf56bd9d1734adb94b8b7b
2022-11-25 17:19:44 +08:00
wanghuan
1d29a3a825
add TreeString and LineString
...
desc: add TreeString and LineString
solu:
1. add TreeString and LineString
2. all string fucntions fit new construction
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5X82Y
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I6c6ded38ee67741b5c0f17f19b72e68a4375b303
2022-11-25 16:39:45 +08:00
yingguofeng@huawei.com
a02d176dea
fix(compiler): optimize the format of pgo profiler
...
1、The separator of recordName and content changes from ':' to ':['
2、Add method name for dfx
3、Change PGO switch from MACRO to property
Closes #I6079Y
Change-Id: I565163d9ce7e2c120f32d33c447e3461592caffe
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-11-14 21:03:24 +08:00
wupengyong
380c5905ce
reason:add assert in asm interpreter
...
description:add assert in asm interpreter
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I603UA?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ib23b1ec3b78af1600e7a34f81ef9bd9836ee5720
2022-11-10 20:07:42 +08:00
xujie
a79205f75e
Optimize CreateEmptArray and CreateArrayWithBuffer
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5ZIQF
Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Ic86467dd0632f4d7525cc21fb2bab1fdb9de6520
2022-11-09 15:36:50 +08:00
zhangyukun8
9749ffbf0b
Fix pdfjs benchmark crash of aot
...
1. mark all large methods firstly
2. deal with aot cache in asm interpreter
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5YR96?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I011aa923cbdac49b40ad03ee4ac622f13fe5f9d4
2022-11-02 17:22:07 +08:00
lichenshuai
39057c8849
HashMap HashSet LinkedList List ForEach IR
...
Use IR to save time and to avoid JSFunction::Call().
Issue: #I5Y9UV
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I54733053d39b3957d0a4789eb02f98cd19b5c394
2022-10-31 19:56:57 +08:00
wupengyong
a573e89461
reason:add arraylist forEach replaceAllElements ir
...
description:add arraylist forEach replaceAllElements ir
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5XTXR?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ic715767f024834b98d126aa903d9ed459d3edc11
2022-10-27 11:45:41 +08:00
openharmony_ci
2e5a1c88a2
!2719 LightWeightMap LightWeightSet ForEach IR
...
Merge pull request !2719 from 李晨帅/master
2022-10-26 11:46:12 +00:00
getingke
6fd036f520
fixed for optimized ICMP, FCMP, ZEXT, SEXT, TRUNC gate
...
Signed-off-by: getingke <getingke@huawei.com>
Change-Id: I6c89abff92c3bb3ac555091fb1bca57521f88217
2022-10-26 17:25:56 +08:00
lichenshuai
a71bceff37
LightWeightMap LightWeightSet ForEach IR
...
Use IR to save time and to avoid JSFunction::Call().
Isuue: #I5XO4T
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I834bf28f9cc66c3e4c8d92ff18b5f2d8e9a41b90
2022-10-26 11:51:28 +08:00
xiongluo
1291aa23a9
cow array optimize
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5V3ET?from=project-issue
Signed-off-by: xiongluo <xiongluo@huawei.com>
2022-10-26 11:37:49 +08:00
openharmony_ci
c57cb2bdf0
!2704 add queue deque stack plainarray and fix queue bug
...
Merge pull request !2704 from wpy111/master
2022-10-25 13:14:15 +00:00
wupengyong
7e6660bad8
reason:add queue deque stack plainarray and fix queue bug
...
description:add queue deque stack plainarray and fix queue bug
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5XGLR?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I9f27e3d65e31817bf5524419078f08868869c12a
2022-10-25 17:10:42 +08:00
zhangyukun8
01616c7949
Add IC of AOT slow path
...
1. Impl AOT ldobjbyname&stobjbyname slot path IC
2. Impl AOT ldobjbyvalue&stobjbyvalue slot path IC
3. Impl AOT tryldglobalbyname&trystglobalbyname slot path IC
4. Impl AOT ldglobalvar&stglobalvar slot path IC
5. IR GetGlobalOwnByName&LdGlobalRecord
6. fix some bug of LoadMiss&StoreMiss
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5TSWP?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: I6458ab83b6506e3124a249728422d4570d9fa2dc
2022-10-25 08:54:43 +08:00
yingguofeng@huawei.com
3d7a083324
feat/perf(aot/compiler/asm-interpreter): compiler supports PGO optimization
...
1、The JS runtime counts the number of function calls and records the methodID with fewer calls.
2、The AOT compiler supports filtering the unexpected functions according to the profile file without AOT.
Closes #I5W57I
Change-Id: Ie6f7c9d2132b16a95b4b9ed84cb4ef67332b7604
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2022-10-24 17:49:12 +08:00
wupengyong
e26c99f36a
reason:add containers callfunction frame
...
description:add containers callfunction frame
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5VVX9?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I84a29d8976a21d7670923854513082eb38672db9
2022-10-19 10:23:57 +08:00
wupengyong
68993a2540
reason:vector foreach ir
...
description:vector foreach ir
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5V8GA?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I2d17299a773359d2fa987bb01cbb7cae2efebbfe
2022-10-13 16:59:03 +08:00
wuzhangda
45e0aae72e
Merge branch 'master' of https://gitee.com/openharmony/arkcompiler_ets_runtime into local_br_1
...
Change-Id: If381ec6ffa0e7805858dd9d9ed1b7e43c0168325
Signed-off-by: wuzhangda <wuzhangda@huawei.com>
2022-09-28 10:41:42 +08:00
wuzhangda
5d41682103
Improve Type Lowering For Circuit
...
Simplify FastAddOrSubOrMul2Number(), Modify variable name TaggedCastToInt32() => GetInt32OfTInt()、TaggedCastToInt64() => GetInt64OfTInt()、TaggedCastToDouble() to GetDoubleOfTDouble()、FastAddOrSubOrMul2Number() => CalculateNumbers().
Signed-off-by: wuzhangda <wuzhangda@huawei.com>
Change-Id: I3757239b4c95f8533a61578c19b1b580e3d0912a
2022-09-27 16:05:20 +08:00
openharmony_ci
4dd4779b07
!2225 InstanceOf IR化
...
Merge pull request !2225 from lvfuqing/master
2022-09-27 07:32:38 +00:00
lvfuqing
6751f21ece
InstanceOf IR
...
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5M5ND
Change-Id: Ib8b5988eefd8a0455fc70b44bab04d6a4c803f3f
Signed-off-by: lvfuqing <lvfuqing1@huawei.com>
Change-Id: I4e80b33e01eb823c3e482eb2451ab71dcc931bbb
2022-09-26 22:00:58 +08:00
wengchangcheng
ffc186cf35
Merge remote-tracking branch 'origin/master' into wcc_0723
...
Change-Id: Id4c239349acbb93b1ebd48207996527a388ad376
2022-09-20 20:31:01 +08:00
wuzhangda
7bdff16afe
Extended Multilevel Type Lowering For Circuit
...
LowerTypedMod, LowerTypedGreater, LowerTypedGreaterEq, LowerTypedDiv, LowerTypedEq, LowerTypedNotEq
Signed-off-by: wuzhangda <wuzhangda@huawei.com>
Change-Id: I4e2a7a7011c97756af5b8ff842e30f51c13d1509
2022-09-20 17:32:59 +08:00
sunzhe23
da4dfc9096
fix tagged CanonicalizeToInt bug
...
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-09-20 11:58:42 +08:00
wengchangcheng
ff85273bc9
Descriptor: delete FunctionKind in JSFunction
...
Details: delete FunctionKind in JSFunction
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LPNL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Idc21112643211e691d5a0b6ae11831ad4bb7acd6
2022-09-09 00:09:56 +08:00
wengchangcheng
55392a0f90
Merge remote-tracking branch 'origin/master' into wcc_0808
...
Change-Id: I7aec95cbcb209a8dfa94a1f6f0687a492fb46a06
2022-09-05 14:31:27 +08:00