"Fossies" - the Fresh Open Source Software Archive

Member "cfe-9.0.0.src/test/Headers/ppc-sse2-intrinsics.c" (12 Jun 2019, 781 Bytes) of package /linux/misc/cfe-9.0.0.src.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
    2 // REQUIRES: powerpc-registered-target
    3 
    4 // RUN: %clang -target powerpc64-unknown-linux-gnu -S -emit-llvm -mcpu=pwr8 -DNO_WARN_X86_INTRINSICS %s -Xclang -verify
    5 // RUN: %clang -target powerpc64le-unknown-linux-gnu -S -emit-llvm -mcpu=pwr8 -DNO_WARN_X86_INTRINSICS %s -Xclang -verify -x c++
    6 // expected-no-diagnostics
    7 
    8 // RUN: not %clang -target powerpc64-unknown-linux-gnu -S -emit-llvm %s -mcpu=pwr8 -o /dev/null 2>&1 | FileCheck %s -check-prefix=SSE2-ERROR
    9 
   10 // Don't include mm_malloc.h, it's system specific.
   11 #define _MM_MALLOC_H_INCLUDED
   12 
   13 #include <emmintrin.h>
   14 // SSE2-ERROR: xmmintrin.h:{{[0-9]+}}:{{[0-9]+}}: error: "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."