wengchangcheng
cd90e396a7
Descriptor: ark hilog refactor
...
details:
1. use hilog in ohos device
2. use panda logger in host
issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5FR5J
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com >
Change-Id: I6f5de00751154bdb6aac3101515961a3a4432e80
2022-07-06 22:55:49 +08:00
getingke
c958b9a873
Merge branch 'master' of https://gitee.com/openharmony/ark_js_runtime into aot_call_asmInterpreter
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I04892b95ea6e8188213f615769f0f199a511e9cb
2022-06-10 09:17:20 +08:00
getingke
62d97885f8
fixed for aot call asm interpreter
...
Change-Id: I052dfa2e8849b5a9645bac4389099266efd5047e
Signed-off-by: getingke <getingke@huawei.com >
2022-06-09 11:28:11 +08:00
sunzhe23
4c5952a90f
Fix some performance issue for asm interpreter
...
description:
1 reuse ic slot for ic slot overflow case
2 Replace CallStub with (tail call) bytecode handler for GetPropertyByName
3 add fast path for call new return handler
issue: I5BFu2
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-06-09 10:30:14 +08:00
sunzhe23
10ebc065d8
Support stackless callnew for asm interpreter
...
description:
1 use JSCallDispatch implments call new
2 refactor js common call
issue: I5AKJU
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-06-08 13:28:04 +08:00
sunzhe23
372df16bd4
Refactor JSCall Dispatcher and implments asm getter/setter
...
description:
1 Refactor Call Dispatcher, and Regactor common call
2 use circuit IR implments getter/setter
issue: I59POB
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-05-30 16:14:30 +08:00
luochuhao
7522f51989
Add multi-abc-file support in stub compiler and aot compiler and related adaptation.
...
Use methodId of func in pandafile as index for each aot func in llvmModule.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I598P5
Signed-off-by: luochuhao <luochuhao@huawei.com >
Change-Id: I9646d6a80c8138744ebbd617837550b4661f27d3
2022-05-29 16:59:27 +08:00
getingke
d667d9b5b9
fixed for code style check
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I3ff8ba9fbeaa282d02f4832a4b6a85e054670765
2022-05-18 20:55:17 +08:00
getingke
d3a73bc238
fixed for review comment by wuzhefeng
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: Ie52314f22202735975972a7695797e566d97dd00
2022-05-18 14:49:38 +08:00
getingke
241a120850
fixed for aarch64 assembler support jsfunction call
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I61e2acf53af25f5c054191243acd97068256f52f
2022-05-16 14:38:35 +08:00
getingke
b162e5c242
fixed for assembler aarch64 support
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: Idf8e19e43a6ee1bf94a175781d32f139ba657cf6
2022-05-13 18:13:31 +08:00
getingke
083b87ffd2
fixed for aarch64 assembler stubs
...
Signed-off-by: getingke <getingke@huawei.com >
Change-Id: I7deae6679760db3cb0d2fbcbcc9e8c8999101c02
2022-05-13 17:56:03 +08:00
wuzhefeng
662f2b78a6
Refactor Compilation Framework Part-2
...
1. Rename IR builder to improve the readability.
2. Remove redundant Headers to decouple the relationships of components.
Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I56YPT
Signed-off-by: wuzhefeng <wuzhefeng1@huawei.com >
Change-Id: I0c8da6cd55bb8e7f33421ba846bab89bd5e06c55
2022-05-11 04:28:10 -07:00
zhangyukun
25daaf26ef
constuct entry frame of execute with rsp
...
1. add fp to support discontinuous frame gc and resume rsp
2. assemble execute and impl entry frame with rsp
3. use assembler to refactor .s
Issue:https://gitee.com/openharmony/ark_js_runtime/issues/I52BQE?from=project-issue
Signed-off-by: zhangyukun <zhangyukun8@huawei.com >
Change-Id: I6966672dc065d63144fe7fa145ab76571189d540
2022-05-07 14:13:50 +08:00
wanyanglan
290f0d3844
Replace x64 call.S with x64 assembler
...
Replace JSFunctionEntry, OptimizedCallOptimized, CallNativeTrampoline,
OptimizedCallRuntime, JSCall, JSCallWithArgV assembly functions with
x86 assembler
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I55O8Y
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: I1970a5bfd032530ad791b5c91b96d35f7be9ac14
2022-05-06 14:10:27 +08:00
wanyanglan
12af863e48
Add X64 Assembler Instructions
...
The current support for x86 assembly instructions is not good enough,
more assembly instructions need to be added to support the assembler
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I54DY4
Signed-off-by: wanyanglan <wanyanglan1@huawei.com >
Change-Id: I24eb69b9eba089dea4a3de1b3b3b6e499c47d172
2022-04-24 16:46:40 +08:00
sunzhe23
528db23a05
Refactor leave&entry frame
...
issue: #I541LG
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-04-23 23:35:51 -07:00
sunzhe23
941be6ea2a
Generate asm code for AsmInterCallRuntime
...
issue: #I53761
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-04-17 23:49:48 -07:00
sunzhe23
44d2430c3c
Add x64 assembler
...
1 Implements x64 assembler
2 Add Asm code generator framework
3 Generating AsmInterCallRuntime with the x64 assembler
issue: #I52Ak6
Signed-off-by: sunzhe23 <sunzhe23@huawei.com >
2022-04-13 22:01:24 -07:00