1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00
Sam Tebbs a7c1a9b580 [ARM] Transform a fixed-point to floating-point conversion into a VCVT_fix
Conversion from a fixed-point number to a floating-point number is done by
multiplying the fixed-point number by 2^(-n) where n is the number of
fractional bits. Currently this is lowered to a vcvt
(integer to floating-point) then a vmul, but it can instead be lowered
directly to a vcvt (fixed-point to floating-point). This patch enables
such transformations as long as the multiplication factor is a power of 2.

Differential Revision: https://reviews.llvm.org/D103903
2021-06-21 14:14:09 +01:00
..
2020-11-12 08:37:46 +00:00
2020-07-16 11:10:53 +01:00
2021-02-28 11:13:49 +00:00
2021-02-02 11:09:31 +00:00
2021-02-02 11:09:31 +00:00
2021-05-26 09:22:12 +01:00
2019-01-10 08:36:33 +00:00