Value | Meaning |
---|---|
GCC_JIT_BINARY_OP_PLUS | Addition of arithmetic values; analogous to: (EXPR_A) + (EXPR_B) in C. For pointer addition, use gcc_jit_context_new_array_access. |
GCC_JIT_BINARY_OP_MINUS | Subtraction of arithmetic values; analogous to: (EXPR_A) - (EXPR_B) in C. |
GCC_JIT_BINARY_OP_MULT | Multiplication of a pair of arithmetic values; analogous to: (EXPR_A) * (EXPR_B) in C. |
GCC_JIT_BINARY_OP_DIVIDE | Quotient of division of arithmetic values; analogous to: (EXPR_A) / (EXPR_B) in C. The result type affects the kind of division: if the result type is integer-based, then the result is truncated towards zero, whereas a floating-point result type indicates floating-point division. |
GCC_JIT_BINARY_OP_MODULO | Remainder of division of arithmetic values; analogous to: (EXPR_A) % (EXPR_B) in C. |
GCC_JIT_BINARY_OP_BITWISE_AND | Bitwise AND; analogous to: (EXPR_A) & (EXPR_B) in C. |
GCC_JIT_BINARY_OP_BITWISE_XOR | Bitwise exclusive OR; analogous to: (EXPR_A) ^ (EXPR_B) in C. |
GCC_JIT_BINARY_OP_BITWISE_OR | Bitwise inclusive OR; analogous to: (EXPR_A) | (EXPR_B) in C. |
GCC_JIT_BINARY_OP_LOGICAL_AND | Logical AND; analogous to: (EXPR_A) && (EXPR_B) in C. |
GCC_JIT_BINARY_OP_LOGICAL_OR | Logical OR; analogous to: (EXPR_A) || (EXPR_B) in C. |
GCC_JIT_BINARY_OP_LSHIFT | Left shift; analogous to: (EXPR_A) << (EXPR_B) in C. |
GCC_JIT_BINARY_OP_RSHIFT | Right shift; analogous to: (EXPR_A) >> (EXPR_B) in C. |