Home
last modified time | relevance | path

Searched +full:floating +full:- +full:point (Results 1 – 25 of 49) sorted by relevance

12

/ark/runtime_core/tests/cts-coverage-tool/
Dnon_testable.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
13 ---
16 - title: Conversions between integer and floating point types
17 description: Conversion from floating-point types to integer one obeys the following
20 - title: Create new object
24 - title: Load accumulator from string constant pool
25 description: In dynamically-typed language context load string as 'any' value.
28 - title: Type conversions
30 Conversion from floating-point types to integer one obeys the following rules.
33 - title: Object equality comparison
[all …]
/ark/js_runtime/ecmascript/compiler/
Dcircuit_ir_specification.md5 …scribes semantic of programs in a language-neutral and target-neutral way, targeting multi-languag…
9 …hey acted like a [finite state machine](https://en.wikipedia.org/wiki/Finite-state_machine) (FSM))…
11 …will load from or store to the global memory, so they should be executed non-simultaneously and in…
17 …he state transition action of the FSM. Selector gates are affiliated (many-to-one) to `MERGE` stat…
65 …>, b:<JS_STRING>) -> c:<JS_STRING>=JS_ADD(a:<JS_NUMBER>, b:<JS_STRING>)` and `c:<JS_ANY>=VALUE_SEL…
69-level instructions (HIR), middle-level instructions (MIR) and low-level instructions (LIR). They …
71 * HIR instructions represent language-related computational process, which usually correspond to th…
72 * MIR instructions are language-independent and target-independent, which are similar to LLVM IR, b…
73 * LIR instructions are target-related, which usually correspond to the machine instructions of targ…
82 * `ARCH` means architecture-related integer type (`INTx` on `x` bits architecture).
[all …]
/ark/runtime_core/tests/cts-generator/cts-template/
Di64tof64.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i64tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i64tof64
28 acc: inout:i64->f64
31 code-template: |
40 - values:
41 - "0"
[all …]
Di32tof64.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i32tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: i32tof64
28 acc: inout:i32->f64
31 code-template: |
40 - values:
41 - "0"
[all …]
Du32tof64.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u32tof64
28 acc: inout:u32->f64
31 code-template: |
40 - values:
41 - "0"
[all …]
Du64tof64.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64tof64"
18 title: Conversions between integer and floating point types
22 - x_none
24 - file-name: "op_none"
27 - sig: u64tof64
28 acc: inout:u64->f64
31 code-template: |
40 - values:
41 - "0"
[all …]
Dfneg.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "fneg.64"
18 title: Floating-point unary
20 Perform specified floating-point operation on accumulator
22 - x_none
25 - file-name: "op_none"
28 - sig: fneg.64
31 code-template: |
40 - values:
41 - "0.0"
[all …]
Di64toi32.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i64toi32"
21 … Truncations discard all but N lowest-order bits, where N is the bit size of destination type.
23 - x_none
25 - file-name: "op_none"
28 - sig: i64toi32
29 acc: inout:i64->i32
32 code-template: |
46 - values:
47 - "0"
[all …]
Di64tou1.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "i64tou1"
24 - x_none
26 - file-name: "op_none"
29 - sig: i64tou1
30 acc: inout:i64->u1
33 code-template: |
47 - values:
48 - "0"
49 - "0"
[all …]
Du32toi8.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32toi8"
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
23 - x_none
25 - file-name: "op_none"
28 - sig: u32toi8
29 acc: inout:u32->i8
32 code-template: |
46 - values:
47 - "0"
[all …]
Du32toi16.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32toi16"
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
23 - x_none
25 - file-name: "op_none"
28 - sig: u32toi16
29 acc: inout:u32->i16
32 code-template: |
46 - values:
47 - "0"
[all …]
Du64toi32.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64toi32"
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
23 - x_none
25 - file-name: "op_none"
28 - sig: u64toi32
29 acc: inout:u64->i32
32 code-template: |
46 - values:
47 - "0"
[all …]
Du32toi64.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32toi64"
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
23 - x_none
25 - file-name: "op_none"
28 - sig: u32toi64
29 acc: inout:u32->i64
32 code-template: |
41 - values:
42 - "0"
[all …]
Du32tou16.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tou16"
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
23 - x_none
25 - file-name: "op_none"
28 - sig: u32tou16
29 acc: inout:u32->u16
32 code-template: |
41 - values:
42 - "0"
[all …]
Du64tou32.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64tou32"
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
23 - x_none
25 - file-name: "op_none"
28 - sig: u64tou32
29 acc: inout:u64->u32
32 code-template: |
41 - values:
42 - "0"
[all …]
Du32tou8.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tou8"
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
23 - x_none
25 - file-name: "op_none"
28 - sig: u32tou8
29 acc: inout:u32->u8
32 code-template: |
41 - values:
42 - "0"
[all …]
Du64tou1.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u64tou1"
24 - x_none
26 - file-name: "op_none"
29 - sig: u64tou1
30 acc: inout:u64->u1
33 code-template: |
42 - values:
43 - "0"
44 - "0"
[all …]
Du32tou1.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "u32tou1"
24 - x_none
26 - file-name: "op_none"
29 - sig: u32tou1
30 acc: inout:u32->u1
33 code-template: |
42 - values:
43 - "0"
44 - "0"
[all …]
Dfcmpl.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "fcmpl.64"
18 title: Floating-point comparison
19 description: Perform specified floating point comparison between register and accumulator.
21 - x_none
23 - file-name: "op_vs_8_zero"
26 - sig: fcmpl.64 v:in:f64
27 acc: inout:f64->i32
29 check-type: check-positive
31 code-template: |
[all …]
Dfcmpg.yaml6 # http://www.apache.org/licenses/LICENSE-2.0
16 - file-name: "fcmpg.64"
18 title: Floating-point comparison
19 description: Perform specified floating point comparison between register and accumulator.
21 - x_none
23 - file-name: "op_vs_8_zero"
26 - sig: fcmpg.64 v:in:f64
27 acc: inout:f64->i32
29 check-type: check-positive
31 code-template: |
[all …]
/ark/runtime_core/runtime/interpreter/
Dmath_helpers.h7 * http://www.apache.org/licenses/LICENSE-2.0
29 struct bit_shl : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming)
33 size_t mask = std::numeric_limits<unsigned_type>::digits - 1; in operator()
40 struct bit_shr : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming)
44 size_t mask = std::numeric_limits<unsigned_type>::digits - 1; in operator()
51 struct bit_ashr : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming)
55 size_t mask = std::numeric_limits<unsigned_type>::digits - 1; in operator()
57 return x >> shift; // NOLINT(hicpp-signed-bitwise) in operator()
62 struct fmodulus : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming)
65 static_assert(std::is_floating_point_v<T>, "T should be floating point type"); in operator()
[all …]
/ark/runtime_core/docs/
Dassembly_format.md5 … assembly file format for Panda platform. Assembly files are human-readable and human-writable pla…
11-to-byte-code language with a minimal feature set. All language-specific "traits" that should be s…
15 * Panda assembler should not follow any implicit conventions about the name of the entry point.
28 * Floating-point decimal/hexadecimal literals that can be represented with IEEE 754. Hexadecimal fl…
32 …e of any characters enclosed in `"` characters. Non-printable characters and characters out of Lat…
36 - `\"` double quote, `\x22`
37 - `\a` alert, `\x07`
38 - `\b` backspace, `\x08`
39 - `\f` form feed, `\x0c`
40 - `\n` newline, `\x0a`
[all …]
Drationale-for-bytecode.md46 In a _stack-based_ approach, operands are implicitly encoded in the operation. The code is as follo…
52 add ; remove two top-most values from the stack, add them and put the result at the top
53 ; at this point, the top of the stack contains arg1 + arg2
58 In a _register-based approach_, operands are explicitly encoded in the operation. The code is as fo…
63 ; at this point, virtual register 0 contains arg1 + arg2
68 This example demonstrates a fundamental difference between two approaches. Stack-based approach
70 can be represented with a single byte, while register-based `add reg_dst, reg_src1, reg_src2` may
73 In addition, a stack-based addition requires three instructions, while a register-based addition
76 more _dispatch overhead_. This means that the stack-based bytecode is slower by nature.
78 According to our experiment, uncompressed register-based Dalvik bytecode can be reduced by ~26%
[all …]
/ark/runtime_core/tests/verifier-tests/
Dbug_2107_1.pa6 # http://www.apache.org/licenses/LICENSE-2.0
16 #---
17 #- title: Type conversions
22 # - x_none
24 # - sig: i64tof64
25 # acc: inout:i64->f64
27 # - op_none
29 # - acc_type
31 ## runner-option: verifier-failure
32 ## runner-option: bugid: 964, 1653
[all …]
Dbug_2107_2.pa6 # http://www.apache.org/licenses/LICENSE-2.0
16 #---
17 #- title: Integer truncations and extensions.
19 # Truncations discard all but N lowest-order bits, where N is the bit size of destination
24 # - x_none
26 # - sig: i64toi32
27 # acc: inout:i64->i32
29 # - op_none
31 # - acc_type
33 ## runner-option: verifier-failure
[all …]

12