[ARM/CRT] Refactor several functions (#3865) 3865/head
authorRoman Masanin <36927roma@gmail.com>
Sat, 31 Jul 2021 01:04:25 +0000 (04:04 +0300)
committerStanislav Motylkov <x86corez@gmail.com>
Sat, 31 Jul 2021 08:24:03 +0000 (11:24 +0300)
commitbe3c532bf41e29910d16e56b57c477095d91ec0b
treec9542ef08b7ff114e01cd046bea9089a9959c5bb
parentd7f13aa696cf606dc1629a54b3bf6325e8afad25
[ARM/CRT] Refactor several functions (#3865)

- Make __fto64 function more readable
- Call worker function directly for __rt_sdiv/udiv
- Adapt __rt_sdiv64/udiv64 asm shims accordingly
- Add header files to CMake source list

CORE-17607 CORE-17614 CORE-17703 CORE-17604

Addendum to f2bc1f0ee448094e and 54406bf4.
12 files changed:
sdk/lib/crt/math/arm/__dtoi64.c
sdk/lib/crt/math/arm/__dtou64.c
sdk/lib/crt/math/arm/__fto64.h
sdk/lib/crt/math/arm/__rt_div_worker.h
sdk/lib/crt/math/arm/__rt_sdiv.c
sdk/lib/crt/math/arm/__rt_sdiv64.s
sdk/lib/crt/math/arm/__rt_udiv.c
sdk/lib/crt/math/arm/__rt_udiv64.s
sdk/lib/crt/math/arm/__stoi64.c
sdk/lib/crt/math/arm/__stou64.c
sdk/lib/crt/math/math.cmake
sdk/lib/crt/msvcrtex.cmake