This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14426] New: vector splat immediate broken


#include <altivec.h>
vector unsigned int splat0u()
{
    return vec_splat_u32(0);
}
vector int splat0s()
{
    return vec_splat_s32(0);
}

$PREFIX/bin/g++ -faltivec -S splati.c

/Volumes/Space/Users/bungi/Source/GNU/gcc/gcc-tree-ssa/install/bin/../lib/gcc/powerpc-
apple-darwin7.2.0/3.5-tree-ssa/include/altivec.h:212: warning: inline function `unsigned int 
__vector__ vec_splat_u32(int)' used but never defined
/Volumes/Space/Users/bungi/Source/GNU/gcc/gcc-tree-ssa/install/bin/../lib/gcc/powerpc-
apple-darwin7.2.0/3.5-tree-ssa/include/altivec.h:209: warning: inline function `int __vector__ 
vec_splat_s32(int)' used but never defined

-- 
           Summary: vector splat immediate broken
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tjw at omnigroup dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.2.0
  GCC host triplet: powerpc-apple-darwin7.2.0
GCC target triplet: powerpc-apple-darwin7.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14426


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]