[PATCH] D35859: [PowerPC] Add codegen for VSX word extract convert to FP
Lei Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 14:58:34 PDT 2017
lei created this revision.
Add codegen for VSX word extract conversion from signed/unsigned to single/double precision.
Extract word unsigned and convert to float was implemented in https://reviews.llvm.org/D20239.
Here we will add the missing extract integer and conversion to double. This utilizes the new https://reviews.llvm.org/P9 instruction xxextractuw to extracting an integer element when the result will be converted to double thereby saving 2 direct moves (VSR <-> GPR).
We will implement the following sequence which will also reduce the number of instructions by saving 2 direct moves.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10953 bytes
Desc: not available
More information about the llvm-commits