jit_value jit_phantom_math_func_float32( jit_function_t func, const char* function, jit_value args[1] ) { JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, sin) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, cos) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, abs) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, tan) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, atan) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, asin) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, acos) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, sqrt) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, cosh) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, exp) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, log) JIT_PHANTOM_CALL_UNARY_INTRINSIC(float32, log10) JIT_PHANTOM_CALL_FUNC_1_RET_BY_REF(float32, vector2f, vector2f); JIT_PHANTOM_CALL_FUNC_1_RET_BY_REF(float32, vector3f, vector3f); JIT_PHANTOM_CALL_FUNC_1_RET_BY_REF(float32, vector4f, vector4f); return jit_value(); }
jit_value jit_phantom_math_unary_intrinsic_float64( jit_function_t func, const char* intrinsic, jit_value operand ) { return jit_value(); }
jit_value operator<<(const jit_value& value1, const jit_value& value2) { return jit_value(jit_insn_shl(value_owner(value1, value2), value1.raw(), value2.raw())); }
jit_value operator~(const jit_value& value1) { return jit_value(jit_insn_not(jit_value_get_function(value1.raw()), value1.raw())); }