Frank Barchard 4ad33344cf Pass float parameters via vector 2 float and "w" for scalar multiply.
Scalar multiply expects a 'd' register.  The "w" (float) uses 's' for float
and wont work with the multiply in 32 bit (it does in 64 bit).
A vector 2 of float passes as 'd' register.
A vector 4 of float passes as 'q' register.
This change copies the float into the first entry of a vector 2
and passes that.  The optimizer removes the extra copy, allowing
the single float to use referenced as

Test: LibYUVPlanarTest.TestByteToFloat
Bug: libyuv:786
Change-Id: I8773c5bae043c7b84e1d1db7fdea6731aa0b1323
Reviewed-on: https://chromium-review.googlesource.com/973984
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
2018-03-28 21:52:08 +00:00
..
deprecated_builds.md [ndk] Add android ndk deps in libyuv DEPS 2018-01-10 19:25:11 +00:00
environment_variables.md Remove Mips DSPR2 code 2017-12-14 18:22:16 +00:00
filtering.md Add all wiki pages as MarkDown documents + README.md 2016-02-17 07:50:19 +01:00
formats.md 10 bit YUV to 10 bit BGR 2018-02-15 22:44:36 +00:00
getting_started.md Pass float parameters via vector 2 float and "w" for scalar multiply. 2018-03-28 21:52:08 +00:00
rotation.md Add all wiki pages as MarkDown documents + README.md 2016-02-17 07:50:19 +01:00