openharmony_ci
e66c06a338
!4514 Fix some aot bug
...
Merge pull request !4514 from weng-xi/fix_aot_bug
2023-07-26 07:11:19 +00:00
weng-xi
c346054491
Fix some aot bug
...
Fix some aot bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7NXUR
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: Ib7708639b1c35fdac6ac6385ed116b1eafeee587
2023-07-26 11:00:49 +08:00
yingguofeng@huawei.com
9406361da4
Feat(interpreter): Support pgo profile for getter/setter
...
Issue: #I7KUXS
Change-Id: I460596c0ec5a02ad020841c7bbf93720c330e2d7
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-22 11:55:16 +08:00
yingguofeng@huawei.com
a3f1d03902
Fix(Interpreter): Optimize Int overflow in Interpreter
...
Issue: #I7M1FX
Change-Id: I56bd3edd0a9a05d54805edd3f113d2423e90f4f8
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-18 16:21:43 +08:00
yingguofeng@huawei.com
3b107f900a
Feat(Aot): Track Double/Int field for aot compiler
...
Issue: #I7JI0Z
Change-Id: I24f762d505cf467e86d5a12f3fc78c9ecd4513f1
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-12 21:55:16 +08:00
yingguofeng@huawei.com
e59e99f29e
Feat(Aot): Support fastpath for Wide intruction profilecall
...
Issue: #I7I3EQ
Change-Id: Ibc8e225943d0a0fbeaaf487830701a503eccf015
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-06 17:24:23 +08:00
yingguofeng@huawei.com
cac9aaf2c1
Feat(Aot): Support int div and Fix pgo number type bugfix
...
Issue: #I7EKNN
Change-Id: Id5c9e922fb313a757f44b284a1a9bc4e5dc16a82
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-06-19 15:29:03 +08:00
openharmony_ci
aca4fa9894
回退 'Pull Request !4251 : Support int div and Fix pgo number type bugfix'
2023-06-19 07:04:36 +00:00
yingguofeng@huawei.com
344ad132f6
Feat(Aot): Support int div and Fix pgo number type bugfix
...
Issue: #I7DILY
Change-Id: Id5c9e922fb313a757f44b284a1a9bc4e5dc16a82
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-06-19 09:47:49 +08:00
ginxu
9547f8b3bd
Remove ConstData
...
1. Remove constadata to prevent node from entering entry bb
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7BDJV
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I1d9f799150cec3f895b82866b1251145fdda713c
2023-06-08 11:54:16 +08:00
openharmony_ci
4b04dda813
!4156 Fix stobjbyvalue for empty or COW array
...
Merge pull request !4156 from hzzhouzebin/FixStobjbyvalue
2023-06-04 10:54:12 +00:00
openharmony_ci
6c358a7528
!4107 Optimize Fastcall
...
Merge pull request !4107 from wpy111/master
2023-06-03 13:45:26 +00:00
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