wupengyong
efc0b12047
Reason:optimize fastcall
...
Description:optimize fastcall
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I78093?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I1685c6b1341c82161d18e827f5449f90f7b1b634
2023-06-03 18:42:00 +08:00
hzzhouzebin
d9f48726ad
Fix stobjbyvalue for empty or COW array
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I79RCW
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: I2cc6b44944824974842ecb2dd03ccc9765e40465
2023-06-02 15:26:19 +08:00
yingguofeng@huawei.com
bfc478a38b
Feat(Aot): PGO extension supports hclass dump
...
Issue: #I78U0R
Change-Id: If7079aeb03cc265b68487f4997fc20d35626fe7f
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-06-01 19:54:22 +08:00
yingguofeng@huawei.com
cca4ba8fe4
Feat(PGO): PGO Support profile number type of object field
...
Issue: #I739C3
Change-Id: Ie57b6174d7b68121e81b72ffd8d71ec1b0d5f80f
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-05-24 15:36:53 +08:00
wupengyong
c0fa165ab0
Reason:add fast call and change calling conversion to cc
...
Description:add fast call and change calling conversion to cc
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6TTCX?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I7c35619d73a4d961799232bc22b78b6513f65e71
2023-05-18 19:23:25 +08:00
xiongluo
cf451e377d
constant string optimization
...
Signed-off-by: xiongluo <xiongluo@huawei.com>
Change-Id: Ieabea29874752fed615b0a911cf4118e791663eb
2023-05-08 17:07:03 +08:00
weng-xi
1bff96723a
Remove UpdateHotness From AOT SLowPath
...
For the bytecode that requires IC, AOT will perform the UpdateHotness operation,
which increases the size of the 'an' file
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I70BJX
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I95598449157fdff5d9952738bf6b4fed74c51483
2023-05-05 16:56:11 +08:00
wanghuan
62b052937a
enable builtin-string-stub
...
desc: enable builtin-string-stub
solu: make FlattenString interface to IR and enable builtin-string-stub
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ZACR
Signed-off-by: wanghuan <wanghuan80@huawei.com>
Change-Id: I31ea1999d94c8ba9a8fc663c8284a00930e957ad
2023-05-04 16:26:21 +08:00
wuzhefeng
6002abbef1
Implement debug information framework (Part-3)
...
To faciliate aot debuggging, we need to provide the ability of code
commenting, so we will add api of adding debug-information to our gate
compilation framework and pass the information to LLVM-IR. At last, the
generated machine code can be associated with specific code comments.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6VRHQ
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I6a1eef5588231f3aa31cc6b2efea9667d0eda929
2023-04-26 14:19:53 +08:00
wupengyong
c1aa7ecd82
Reason:add function apply builtins ir
...
Description:add function apply ir
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y5E4?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ie5ade286a56c5237175476a6a0b915558b87c454
2023-04-24 21:03:55 +08:00
yingguofeng@huawei.com
e705f7a167
Perf(Aot): nbody optimization
...
1. Optimize CallTargetCheck lowering
2. StoreProperty bugfix
Issue: #I6V1KU
Change-Id: I818c1df9454f745ff9245cdff9d9c4a45cbf282e
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-04-14 09:32:56 +08:00
yingguofeng@huawei.com
a6ddc25b6e
feat>(compiler): PGO type profiler
...
1、PGO Support type profiler for asm interpreter
2、Optimization function call profiler
3、ap version promote to 0.0.0.2
4、Adaptor number speculative phase supporting pgo type
link #I6JPH4
Change-Id: I18043c4f99af93e5ba6eb2e895039fe0edfe5b4e
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-03-30 20:39:06 +08:00
xliu
98b9524791
ToNumber IR
...
Description:
Add JSTaggedValue::ToNumber IR
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6NJ0G
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I999a034065d74911d70a7ecef79fc615beaac99d
2023-03-28 20:58:12 +08:00
zhangyukun8
62a3e35295
AOT support js stacktrace
...
1. add pcOffset into stackmap before call In AOT
2. parse stackmap to find pcOffset before any OptimziedJSFunctionFrame
3. remove use code of stubs in AOT
4. add testcase for js stacktrace of AOT
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6GXRR?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>
Change-Id: Ib21646b7319628fb425ac8ce489dc2370a347b81
2023-03-03 10:08:54 +08:00
dingding
c9a5a51ed0
Rename AOT to TS in HClass Related Scenarios
...
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6D1GL
Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: Iec475c2f9887ff38699bd225bd948cf4b09a20e6
2023-02-06 12:50:01 +08:00
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
wuzhefeng
b3e17b9138
Refactor Redundant Code
...
There are some redundant codes that should be removed.
Tesing: pass CI/test262
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5P593
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: I666622b396870fa074d788009a99495233a061a3
2022-09-03 06:43:41 -07:00
wengchangcheng
7237c5ce47
Merge remote-tracking branch 'origin/master' into wcc_0808
...
Change-Id: I06cc861adac3bdf82361e6fe80784b628fcd93f1
2022-09-02 09:31:09 +08:00
wuzhefeng
a9ac619fb9
Refactor CIR code.
...
There are several confusing cast-related circuit IRs, such as
XXXToTaggedNGC(), XXToTagged(), so their essential meanings should be
clarified and reflected in the function names. This PR refactors the function names and check if the usages is proper.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5OOTK
Tesing: pass all test262 and CI.
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com>
Change-Id: Iff246630e6b512e8e0fdd2987f780896b0e25931
2022-08-30 20:23:51 -07:00
wengchangcheng
447847cb1d
Merge remote-tracking branch 'origin/master' into wcc_0808
...
Change-Id: I1566e28d02d931b390ac5d7c3cb11c3485aed5de
2022-08-30 19:19:34 +08:00
sunzhe23
63f7b6137c
fix asm interpreter bug for isa
...
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-08-29 21:30:51 +08:00
wupengyong
ddc1a37202
reason:add builtins substring ir
...
description:add builtins substring ir
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5N5SN?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ic05fd3fd4492fd3060bb066ca560d537d1e623cc
2022-08-25 09:13:25 +08:00
wengchangcheng
ab13a0da91
Descriptor: support first level instruction
...
Details:
1. Add old Opcode defines
2. Add new inst handler of throw & wide & deprecated
3. Modify interpreter for new inst
4. Modify typeinfer for new inst
5. Modify asm interpreter for new inst
6. Modify aot circuit builder for new inst
7. Translate old inst to first level inst
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LPNL
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: If9e0b60cafc32a662a5fb1676887939d5a2b9ebf
2022-08-24 14:12:42 +08:00
sunzhe23
1d71ea69fb
Add LogicAnd replace BoolAnd
...
1 put some function from stub_builder to circuit_builder
2 add LogicAnd
issue: I5LGK0
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-08-11 20:20:37 +08:00
sunzhe23
38acdc0239
Fix updateHotnessCounter performance bug
...
1 remove some useless code
2 add param this Func for UpdateHotnessCounter
3 fix default hotnessCounter from 512 to int16_t max
issue: I5LGCS
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-08-10 12:07:46 +08:00
xliu
16b398b58f
fix SetTypeArrayPropertyByName
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5LBEG
Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I0557b8e4501d851700a085b56797c93e5d95c3ea
2022-08-09 09:33:13 +08:00
openharmony_ci
05c4974c99
!1810 add builtins stub
...
Merge pull request !1810 from wpy111/master
2022-08-05 02:23:37 +00:00
wupengyong
eef2380567
reason:add buitins stub
...
description:add buitins stub
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5HCIM?from=project-issue
Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I4673f7f1443a8a9f6a3c01985f219e50ddb024fa
2022-08-04 17:27:44 +08:00
lichenshuai
cd88cbb2d3
Add NewObjectStubBuilder and Optimize ArgumentsAccessorData
...
1. Add NewObjectStubBuilder to handle NewJSObject, NewArgumentsObj, etc.
2. Use shared AccessorData for GetUnmappedArgs in C interpreter.
3. Add arguments in TDD.
Issue: #I5KFHP
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I3835edddd6375c9d9495fac7c44cf4014bd1f8a1
2022-08-04 09:22:16 +08:00
毕虎
85a9ed147c
Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into master
2022-08-02 16:22:46 +08:00
bi-hu
f45e51d61b
Added New Code Of Asyncgenrator
...
Signed-off-by: bi-hu <bihu@huawei.com>
https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5JIGT
2022-08-02 15:42:50 +08:00
lichenshuai
91e4bdbfc7
GetUnmappedArgs IR
...
Use IR instead of CallRuntime for GetUnmappedArgs.
Issue: #I5IH6C
Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I78d550886d362d1730406fb672aa4974dc3ba7b0
2022-08-01 11:11:58 +08:00
changjiaxing
7e7fbebe53
Provides a fast path to the tonumeric instruction
...
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I5JPKW?from=project-issue
Signed-off-by: changjiaxing <changjiaxing2@huawei.com>
2022-07-30 15:15:46 +08:00
sunzhe23
44bdc1dbd8
Add IC Stub Builder
...
add IC Stub builder to build ic accessor ir
issue: I5JKY6
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-07-29 15:26:04 +08:00
sunzhe23
238bd07b97
Refactor StubBuilder
...
Add stub.h to initialize circuit, a stub build can be created for multiple times
issue: #I5INN2
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-07-25 11:14:41 +08:00
lijincheng
1365fe05de
Bugfix for Aot Error Found In Test262
...
1.Handle the situation which constant gate is at the end of current block
2.Handle import/export in Multiple files for TSAOT
3.Handle try-catch-finally
4.Handle conditionJump with only one successor
5.Handle try block without instructions which can throw exception
6.Handle LoopBack Verify Error
7.Add UT case for try-catch-finally
8.Handle getModule Error in Aot compile
9.Handle block endwith Constant gate
10.Bugfix for NewObj returnValue Error when need to throw Exception
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5F6JT
Signed-off-by: lijincheng <lijincheng13@huawei.com>
2022-07-22 14:52:21 +08:00
sunzhe23
1783bf0e05
Refactor compiler Stub (part-2)
...
rename Stub to StubBuilder
issue: #I5IDQB
Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2022-07-22 10:48:37 +08:00