From d08acee2972edb4d89a68366094d1043006fd3b9 Mon Sep 17 00:00:00 2001 From: ctw-ian Date: Thu, 9 Feb 2023 21:38:19 +0800 Subject: [PATCH] Support async function in taskpool Issue:I6E373 Signed-off-by: ctw-ian Change-Id: I881bf9968991c844172ea251fb91c3507d457c04 --- isa/isa.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/isa/isa.yaml b/isa/isa.yaml index a6a681f684..639d2c9241 100644 --- a/isa/isa.yaml +++ b/isa/isa.yaml @@ -252,6 +252,7 @@ isa_information: last_throw_prefixed_opcode_idx: 0x09 last_wide_prefixed_opcode_idx: 0x13 last_deprecated_prefixed_opcode_idx: 0x2e + last_callruntime_prefixed_opcode_idx: 0x00 prefixes: - name: throw @@ -263,6 +264,9 @@ prefixes: - name: deprecated description: deprecated instructions but are keeped for compatibility. opcode_idx: 0xfc + - name: callruntime + description: call runtime methods. + opcode_idx: 0xfb groups: - title: constant object loaders @@ -731,6 +735,27 @@ groups: format: [op_imm_8_v_8] properties: [jit_ic_slot, one_slot] + - title: call runtime functions + description: instructions which call runtime functions + verification: + - none + exceptions: + - x_none + properties: + - acc_read + - acc_write + namespace: ecmascript + pseudo: | + acc = ecma_op(acc, operand_0, ..., operands_n) + semantics: | + skip + instructions: + - sig: callruntime.notifyconcurrentresult + acc: in:top + opcode_idx: [0x00] + format: [pref_op_none] + prefix: callruntime + - title: throw instructions description: throw instructions verification: -- Gitee