Commit Graph

1109 Commits

Author SHA1 Message Date
void_f
7d67907fb5 Range Analysis of MUL and MOD
Issus: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7PNGT
Signed-off-by: void_f <void_f@foxmail.com>

Change-Id: I47e45654c1f9e2cd409ebd95810e99e75749a385
2023-08-03 10:32:03 +08:00
openharmony_ci
827770770a
!4516 Bugfix on JSStableArray::FastCopyFromArrayToTypedArray
Merge pull request !4516 from chenjingxiang/fast_copy_array_to_typed_array
2023-08-02 02:33:22 +00:00
openharmony_ci
25d8be5b87
!4517 Bugfix on BuiltinsDataView::SetViewValue and GetViewValue
Merge pull request !4517 from chenjingxiang/dataview
2023-08-02 02:28:44 +00:00
quiet-thought
04798afdf9 Bugfix on BuiltinsDataView::SetViewValue and GetViewValue
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I7NVPC

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I32c07c114185ba55902c54b4d25af61e1ba4b60d
2023-08-02 09:56:01 +08:00
openharmony_ci
75b4e3d01f
!4558 AOT Optimization - RangeGuard Pass Part-5
Merge pull request !4558 from 刘智杰/range_guard
2023-08-01 13:07:46 +00:00
liuzhijie
48852686c3 AOT Optimization - RangeGuard Pass Part-5
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7PMY6?from=project-issue
Signed-off-by: liuzhijie <jay.lau2020.work@outlook.com>

Change-Id: Ifd2f51ff95dd723e6e5977b6fea39fb82e0c045a
2023-08-01 20:35:11 +08:00
zhangyukun8
25f6530062 Function ptr support pgo inline
1. Collect method id of calltarget when call js function
2. Load gt by method id from pgo
3. Set call insts' calltarget type
4. Fix process method bug
5. Support pgo-aot testcases
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7NMOO?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>

Change-Id: Ib7e92ab1b529195367af16f923c2e620f40f8a36
2023-08-01 18:48:24 +08:00
sunzhe23
d89dcfdfac Fix BinaryArithmetic get wrong gateType bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7PN45

Signed-off-by: sunzhe23 <sunzhe23@huawei.com>
2023-08-01 15:47:49 +08:00
openharmony_ci
3a20e69b8c
!4550 Fix the bug of AOT generate phc
Merge pull request !4550 from weng-xi/filter_method
2023-07-31 09:35:02 +00:00
weng-xi
21b6360043 Fix the bug of AOT generate phc
Fix the bug that the method with the same name is not filtered when aot generates phc

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7PBCB
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I15b58ec3aa61a049bd8fb13879b556bc991b2a0c
2023-07-31 15:36:34 +08:00
tanglizhen
fb7bd278ae Ts test cases
Signed-off-by: tanglizhen <tanglizhen2@huawei.com>
2023-07-31 09:53:15 +08:00
王笑佳
704b679647 Fix app freeze
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7OZIL

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-07-29 20:00:52 +08:00
openharmony_ci
fa7801807a
!4528 Add UT for try finally case compile error
Merge pull request !4528 from ChunyangWang/update_ut_for_try_catch_compile_error
2023-07-28 10:08:11 +00:00
ginxu
9deacc68b2 Support Fast Inline Accessor
Reduce unnecessary load Accessor

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7OG6T
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: If5071a1d42c6d09d2db78089403a0e900b3c0b68
2023-07-28 16:05:27 +08:00
liuzhijie
03c4e4e102 MayAccessOneMemory - Point to the same memory
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7OHIL?from=project-issue
Signed-off-by: liuzhijie <jay.lau2020.work@outlook.com>

Change-Id: I23f882b77e5a099300c92b9f5951da6c5b8c7718
2023-07-27 20:48:15 +08:00
openharmony_ci
4be3327d86
!4522 Bugfix on IsDst Function on Windows Platform
Merge pull request !4522 from chenjingxiang/date_in_dst_br
2023-07-27 07:59:53 +00:00
K0u1hw
c58cedfe97 Add UT for try finally case compile error
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7OHIP
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>

Change-Id: I8048076b678f5bab010da06d4e831e32307d83e5
2023-07-27 15:40:06 +08:00
openharmony_ci
ab5e9ed683
!4421 Optimize CreateArrayWithBuffer instruction
Merge pull request !4421 from 吴璋达/arraybuffer
2023-07-27 04:48:10 +00:00
linxiang8
34c3b89b4c Bugfix: fix some compiler bug
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6NLEV
Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: I1f877a658cb7838d73bce1a11ed647881c124249
2023-07-26 20:59:01 +08:00
wu_zhang_da
5f474177a1 Optimize CreateArrayWithBuffer Instruction
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7KUJH

Signed-off-by: wu_zhang_da <wuzhangda@huawei.com>
Change-Id: I18a47544030568903aac09b8f02480da933e5e9f
2023-07-26 18:10:05 +08:00
quiet-thought
7b2712aa3b Bugfix on IsDst Function on Windows Platform
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7O8T9

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Idad04e9b1e7fa98750d1cbdf610ad7d95a0961bb
2023-07-26 18:08:07 +08:00
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
liuzhijie
c913868f5d AOT Optimization - RangeGuard Pass Part-3
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7NQ62?from=project-issue
Signed-off-by: liuzhijie <jay.lau2020.work@outlook.com>

Change-Id: Ib5b34c8eab4dee48a7873ee02f1e1291d49be21c
2023-07-26 09:12:34 +08:00
quiet-thought
3442c34d96 Bugfix on JSStableArray::FastCopyFromArrayToTypedArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7NUZM

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I0f2f6c8e3c484d62e1bc53594641ca1bda1bd452
2023-07-25 20:44:21 +08:00
openharmony_ci
fc4b4ef71e
!4499 Fix the try-catch bug of AOT compiler
Merge pull request !4499 from weng-xi/fix_bug_of_try
2023-07-25 05:22:53 +00:00
openharmony_ci
5029270669
!4502 TrackFiled 适配Object Literal Bugfix
Merge pull request !4502 from yingguofeng/master_object_literal
2023-07-25 04:36:54 +00:00
openharmony_ci
089f36fb51
!4476 Inline Getter Setter
Merge pull request !4476 from 许杰/inline_accessor
2023-07-25 02:29:35 +00:00
yingguofeng@huawei.com
ecbc459cc8 Fix(Aot): ObjectLiteral adapter trackField
Issue: #I7NL4U
Change-Id: Ie9e5f2a269bdac7a7b95098ad21b8dd0d74388ed
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2023-07-25 09:56:53 +08:00
weng-xi
0b9590b94d Fix the try-catch bug of AOT compiler
Fix the try-catch bug of AOT compiler

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7NGBA
Signed-off-by: weng-xi <wengxi1@huawei.com>
Change-Id: I7a19e9b5b0c725a018ba0c95abc88c332a2d2cf3
2023-07-25 09:42:47 +08:00
openharmony_ci
2fcde36d5c
!4474 Fix cocos deopt bug and enable class static hcr
Merge pull request !4474 from wpy111/master
2023-07-24 16:36:24 +00:00
openharmony_ci
0416c4206c
!4494 Bugfix on BuiltinsArray::Join cicular reference problem
Merge pull request !4494 from chenjingxiang/join_cicular_br
2023-07-24 13:47:40 +00:00
wupengyong
7cd0e3dd23 Reason:1.fix cocos deopt bug 2.enable class static high ir
Description:Reason:1.fix cocos deopt bug 2.enable class static high ir
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7MR80?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: I3e17e0df38d623ed705d380fc99fdfd7f42ad0e7
2023-07-24 21:37:02 +08:00
openharmony_ci
788ecb9fbd
!4475 Bugfix for checkandconvert undefined
Merge pull request !4475 from ChunyangWang/fix_async_check_and_convert_bug
2023-07-24 12:36:37 +00:00
openharmony_ci
1f6e14361e
!4467 Erase load byteOffset in TypedArray load and store
Merge pull request !4467 from duzhiyuan/master
2023-07-24 08:59:41 +00:00
quiet-thought
88dc8aab97 Bugfix on BuiltinsArray::Join cicular reference problem
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7NB0T

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Ie63a9f76b0dcdee0e9422b6fa8e8886a78256c96
2023-07-24 15:58:59 +08:00
DDOSvoid
70b1607c36 Erase load byteOffset in TypedArray load/store and add aottest case
issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7MJBU
Signed-off-by: DDOSvoid <DDOSvoid@163.com>

Change-Id: I3f8abde85e55cb9f82749c74fbe3f6b5444785f9
2023-07-24 14:32:11 +08:00
openharmony_ci
047df4b829
!4405 Add pure NaN for DataView
Merge pull request !4405 from maojunwei/master
2023-07-24 04:01:48 +00:00
K0u1hw
34ade7c5fe Bugfix for checkandconvert undefined
Details: 1. set phi tagged when input has tagged value
         2. add frameState for entry
Issues: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7MR8W
Signed-off-by: K0u1hw <wangchunyang15@huawei.com>

Change-Id: Ie2289edb941b3871bfcf61747a9f011738607140
2023-07-24 11:17:32 +08:00
dov1s
1e341814f9 Add pure NaN for DataView
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7K5TV?from=project-issue

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I4944d5cfd9a38e0a8fe7fb57cff1efa5dc436ae6
2023-07-24 10:21:23 +08:00
dingding
25ee7e5685 AOT Type-Based Polymorphic Property Access
1. Support polymorphic named property access in TSHCRLowering.
2. Merge the process of loading and storing as access.
3. Intruduce a new class ObjectAccessHelper to let TSHCRLowering pay more
   attention to the process of graph.
4. Triple improvement in micro polymorphism performance test. (250->80)

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

Signed-off-by: dingding <dingding5@huawei.com>
Change-Id: I00814e82fce2cd21a9d3743344ea47acc598719d
2023-07-23 10:08:00 +08:00
ginxu
dc335f1392 Inline Getter Setter
1. Support Inline Accessor
2. Add testcase

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7MVZT
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: I58fb124edd696dc260b0efb3977d4bd78aef95d9
2023-07-21 14:23:10 +08:00
openharmony_ci
fddb862533
!4463 Handle Inline Recursive Function
Merge pull request !4463 from 许杰/inline_recursive
2023-07-20 12:47:20 +00:00
zhangyukun8
67f20ea93f Deal with .rodata.cst16 when build an file
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7M6ST?from=project-issue
Signed-off-by: zhangyukun8 <zhangyukun8@huawei.com>

Change-Id: I7e1e913cedc545be491d50c43f953206c8662472
2023-07-20 19:37:47 +08:00
ginxu
afdea5fbfb Handle Inline Recursive Function
1. Recursive function will not inline itself
2. Add testcase

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7MD26
Signed-off-by: ginxu <xujie101@huawei.com>
Change-Id: Ief135246ea3122b350541b7bcb3aba86bbf26333
2023-07-20 14:10:41 +08:00
openharmony_ci
a6771089c9
!4457 AOT RangeGuard Optimization Pass - Part 1
Merge pull request !4457 from yaoyuan/master
2023-07-20 05:05:40 +00:00
openharmony_ci
1cae444d6c
!4461 Bugfix for float64 div zero
Merge pull request !4461 from Fuchen/bugfix_float64div
2023-07-20 03:35:33 +00:00
yuanyao
d0fd1a088f AOT Optimization - Add RangeGuard Pass Part-1
Issue: I7M53L

Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I833de4e73d2aaf2f6036cbb14a72a864b3ba6f67
2023-07-20 09:41:28 +08:00
openharmony_ci
98fec81ee2
!4456 [Bug]: 汇编解释器中进行乘法运算时返回的结果导致后续除法无法区分±Infinity
Merge pull request !4456 from 李晨帅/master
2023-07-19 09:12:39 +00:00
openharmony_ci
e9b1328cc2
!4460 Bugfix on Array.slice call ArraySpeciesCreate to create dictionary mode array
Merge pull request !4460 from chenjingxiang/create_species_create_br
2023-07-19 08:33:22 +00:00