[LLVMbugs] [Bug 3555] altivec.vaddsbs intrinsic doesn't work at all

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 11 18:03:01 PST 2009


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Chris Lattner <clattner at apple.com>  2009-02-11 20:03:01 ---
i agree that the error message is pretty gross, but this does work fine:

$ cat t.ll
declare <16 x i8> @llvm.ppc.altivec.vaddsbs(<16 x i8> %a, <16 x i8>)

define <16 x i8>  @foo(<16 x i8> %x) nounwind {
  %foo = call <16 x i8> @llvm.ppc.altivec.vaddsbs(<16 x i8> %x, <16 x i8> %x)
  ret <16 x i8>  %foo

$ llvm-as < t.ll | llc  -o - -march=ppc32 -mcpu=g5
        vaddsbs v2, v2, v2

Make sure to pick a CPU with altivec support.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list