https://bugs.llvm.org/show_bug.cgi?id=34295

            Bug ID: 34295
           Summary: [PowerPC][VSX] vector unsigned long - listed as
                    deprecated - vsx supported in gcc
           Product: clang
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: danie...@au1.ibm.com
                CC: llvm-bugs@lists.llvm.org

/home/danielgb/toolchain-clang/bin/clang -m64 -g -O2 -mcpu=power8
-mpower8-vector -Wall -maltivec -mvsx   -c -o vec_crc32.o vec_crc32.c
In file included from vec_crc32.c:36:
./crc32_constants.h:89:30: warning: Use of 'long' with '__vector' is deprecated
[-Wdeprecated]
static const vector unsigned long vcrc_const[255]

$ /home/danielgb/toolchain-clang/bin/clang --version
clang version 6.0.0 (llvm-clang.git ce7e9f1524037ca01fa3c5d395dcde87beb25dba)
llvm.git aa58e7feb3cddfde2f2794b5092c8bdff4bc9977)
Target: powerpc64le-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/danielgb/toolchain-clang/bin


https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/PowerPC-AltiVec_002fVSX-Built-in-Functions.html#PowerPC-AltiVec_002fVSX-Built-in-Functions


Shouldn't be deprecated (hopefully).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to