diff options
author | Mike Danes <onemihaid@hotmail.com> | 2017-05-31 20:30:18 +0300 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2017-06-07 19:29:43 +0300 |
commit | 0435fbb7f154193dc3df35918e11945d0cf9e2b2 (patch) | |
tree | 2547e34ebccb9ca86092e05bdbdfacbcf20f5c93 /src/jit/utils.h | |
parent | 64a4d4969363dd8a96afece3ff48e1b20cccba68 (diff) | |
download | coreclr-0435fbb7f154193dc3df35918e11945d0cf9e2b2.tar.gz coreclr-0435fbb7f154193dc3df35918e11945d0cf9e2b2.tar.bz2 coreclr-0435fbb7f154193dc3df35918e11945d0cf9e2b2.zip |
Move GetSignedMagicNumberForDivide to utils.cpp
Diffstat (limited to 'src/jit/utils.h')
-rw-r--r-- | src/jit/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jit/utils.h b/src/jit/utils.h index fe785aa623..1a76f5b274 100644 --- a/src/jit/utils.h +++ b/src/jit/utils.h @@ -724,6 +724,10 @@ uint32_t GetUnsigned32Magic(uint32_t d, bool* add /*out*/, int* shift /*out*/); #ifdef _TARGET_64BIT_ uint64_t GetUnsigned64Magic(uint64_t d, bool* add /*out*/, int* shift /*out*/); #endif +int32_t GetSigned32Magic(int32_t d, int* shift /*out*/); +#ifdef _TARGET_64BIT_ +int64_t GetSigned64Magic(int64_t d, int* shift /*out*/); +#endif } #endif // _UTILS_H_ |