Add floating-point to and from integer conversion
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Mon, 8 Oct 2012 17:27:24 +0000 (17:27 +0000)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Mon, 8 Oct 2012 17:27:24 +0000 (17:27 +0000)
commit51aaadb7bda93040ebfc8341abed7627c99be8f7
tree7b1cf3d90f07e5aaf1442646a52615b1a5cd7fe7
parente2c207db1df24141ff30ffaae6ccdcefc8b9bd88
Add floating-point to and from integer conversion

This patch add altivec support for v4i32 to v4f32 and for v4f32 to
v4i32 vector rounding conversion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165409 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrAltivec.td
test/CodeGen/PowerPC/vec_conv.ll [new file with mode: 0644]