1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test
Lei Huang c0f9188920 [PowerPC] Add codegen for VSX word extract convert to FP
Add codegen for VSX word extract conversion from signed/unsigned to single/double
precision.

For UINT_TO_FP:
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 P9 instruction xxextractuw to extracting an integer element
when the result will be converted to double thereby saving 2 direct moves
(VSR <-> GPR).

For SINT_TO_FP:
We will implement the following sequence which will also reduce the number of
instructions by saving 2 direct moves.

v4i32->f32:
        xxspltw
        xvcvsxwsp
        xscvspdpn

v4i32->f64:
        xxspltw
        xvcvsxwdp

Differential Revision: https://reviews.llvm.org/D35859

llvm-svn: 310866
2017-08-14 18:09:29 +00:00
..
Analysis [ValueTracking] Don't delete assumes of side-effectful instructions 2017-08-14 17:11:43 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [PowerPC] Add codegen for VSX word extract convert to FP 2017-08-14 18:09:29 +00:00
DebugInfo Fix some broken tests. 2017-08-11 21:14:01 +00:00
DllTool
Examples
ExecutionEngine Revert "[AsmParser] Hash is not a comment on some targets" 2017-08-10 21:23:00 +00:00
Feature
FileCheck
Instrumentation [sanitizer-coverage] Change cmp instrumentation to distinguish const operands 2017-08-10 15:00:13 +00:00
Integer
JitListener
LibDriver
Linker [Linker] PR33527 - Linker::LinkOnlyNeeded should import AppendingLinkage globals 2017-08-09 20:58:39 +00:00
LTO Linker: Create a function declaration when moving a non-prevailing alias of function type. 2017-08-10 01:07:44 +00:00
MC Revert "Reland "[mips][mt][6/7] Add support for mftr, mttr instructions."" 2017-08-14 16:20:33 +00:00
Object
ObjectYAML
Other [PM] Switch the CGSCC debug messages to use the standard LLVM debug 2017-08-11 05:47:13 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen Revert r310716 (and r310735): [globalisel][tablegen] Support zero-instruction emission. 2017-08-11 19:19:21 +00:00
ThinLTO/X86 Fix thinlto cache key computation for cfi-icall. 2017-08-09 23:24:07 +00:00
tools [llvm-cov] Add an option which maps the location of source directories on another machine to your local copies 2017-08-14 10:20:12 +00:00
Transforms [SLPVectorizer] Schedule bundle with different opcodes. 2017-08-14 15:40:16 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh