Searched +full:floating +full:- +full:point (Results 1 – 25 of 77) sorted by relevance
1234
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | circuit_ir_specification.md | 5 …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 …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | i32tof32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "i32tof32" 18 title: Conversions between integer and floating point types 22 - x_none 24 - file-name: "op_none" 27 - sig: i32tof32 28 acc: inout:i32->f32 31 code-template: | 40 - values: [all …]
|
| D | u32tof32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "u32tof32" 18 title: Conversions between integer and floating point types 22 - x_none 24 - file-name: "op_none" 27 - sig: u32tof32 28 acc: inout:u32->f32 31 code-template: | 40 - values: [all …]
|
| D | u32tof64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | i64tof64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | u64tof32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "u64tof32" 18 title: Conversions between integer and floating point types 22 - x_none 24 - file-name: "op_none" 27 - sig: u64tof32 28 acc: inout:u64->f32 31 code-template: | 40 - values: [all …]
|
| D | u64tof64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | f32tof64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "f32tof64" 18 title: Conversions between integer and floating point types 22 - x_none 24 - file-name: "op_none" 27 - sig: f32tof64 28 acc: inout:f32->f64 31 code-template: | 40 - values: [all …]
|
| D | i64tof32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "i64tof32" 18 title: Conversions between integer and floating point types 22 - x_none 24 - file-name: "op_none" 27 - sig: i64tof32 28 acc: inout:i64->f32 31 code-template: | 40 - values: [all …]
|
| D | i32tof64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | f64tof32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: "f64tof32" 18 title: Conversions between integer and floating point types 22 - x_none 24 - file-name: "op_none" 27 - sig: f64tof32 28 acc: inout:f64->f32 31 code-template: | 43 check-type: no-check [all …]
|
| D | fneg.64.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | fneg.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # http://www.apache.org/licenses/LICENSE-2.0 16 - file-name: 'fneg' 18 title: Floating-point unary 20 Perform specified floating-point operation on accumulator 22 - x_none 25 - file-name: 'op_none' 28 - sig: fneg 32 code-template: | 41 - values: [all …]
|
| D | i64toi32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | i64tou1.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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" [all …]
|
| D | u32toi8.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | u64toi32.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | u32toi16.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| D | u32tou16.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: [all …]
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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: Load accumulator from string constant pool 21 description: In dynamically-typed language context load string as 'any' value. 23 - title: Static call 24 description: In dynamically-typed language context accept 'any' values in source 27 - title: Create and initialize new constant array [all …]
|
| /arkcompiler/runtime_core/runtime/interpreter/ |
| D | math_helpers.h | 2 * Copyright (c) 2021-2022 Huawei Device Co., Ltd. 7 * http://www.apache.org/licenses/LICENSE-2.0 28 struct bit_shl : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming) 32 size_t mask = std::numeric_limits<unsigned_type>::digits - 1; in operator() 39 struct bit_shr : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming) 43 size_t mask = std::numeric_limits<unsigned_type>::digits - 1; in operator() 50 struct bit_ashr : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming) 54 size_t mask = std::numeric_limits<unsigned_type>::digits - 1; in operator() 56 return x >> shift; // NOLINT(hicpp-signed-bitwise) in operator() 61 struct fmodulus : public std::binary_function<T, T, T> { // NOLINT(readability-identifier-naming) [all …]
|
| /arkcompiler/runtime_core/tests/verifier-tests/ |
| D | bug_2107_1.pa | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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 [all …]
|
| D | bug_2107_2.pa | 1 # Copyright (c) 2021-2022 Huawei Device Co., Ltd. 6 # 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 [all …]
|
| /arkcompiler/runtime_core/docs/ |
| D | assembly_format.md | 5 … assembly file format for Panda platform. Assembly files are human-readable and human-writeable pl… 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 …]
|
| D | rationale-for-bytecode.md | 10 Before discussing bytecode per se, let's take a look at an over-simplified picture of a real 47 In _stack-based_ approach, operands are implicitly encoded in the operation, which results in 54 add ; remove two top-most values from the stack, add them and put the result at the top 55 ; at this point, the top of the stack contains arg1 + arg2 60 In _register-based approach_, operands are explicitly encoded in the operation, which results in 66 ; at this point, virtual register 0 contains arg1 + arg2 71 This example demonstrates a fundamental difference between two approaches. Stack-based approach 73 can be represented with a single byte, while register-based `add reg_dst, reg_src1, reg_src2` may 76 At the same time, to execute a stack-based addition we need to run 3 instructions compared to 77 just a single register-based instruction. Since the interpreter has an extra work to do to read [all …]
|
1234