diff options
Diffstat (limited to 'compiler/optimizing/intrinsics.h')
-rw-r--r-- | compiler/optimizing/intrinsics.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/intrinsics.h b/compiler/optimizing/intrinsics.h index b6c7e1b997..a16b93dfc6 100644 --- a/compiler/optimizing/intrinsics.h +++ b/compiler/optimizing/intrinsics.h @@ -328,6 +328,11 @@ bool IsCallFreeIntrinsic(HInvoke* invoke, Codegenerator* codegen) { return false; } +// Insert a `Float.floatToRawIntBits()` or `Double.doubleToRawLongBits()` intrinsic for a +// given input. These fake calls are needed on arm and riscv64 to satisfy type consistency +// checks while passing certain FP args in core registers for direct @CriticalNative calls. +void InsertFpToIntegralIntrinsic(HInvokeStaticOrDirect* invoke, size_t input_index); + } // namespace art #endif // ART_COMPILER_OPTIMIZING_INTRINSICS_H_ |