[llvm-bugs] [Bug 25246] New: internal error on simple configure program for AVX

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 18 20:18:53 PDT 2015


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

            Bug ID: 25246
           Summary: internal error on simple configure program for AVX
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dstrubbe at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

configure:6428: checking whether AVX instructions can be used
configure:6460: /opt/local/bin/clang-mp-3.8 -o conftest -O3  -L/opt/local/lib
conftest.c  >&5
conftest.c:74:14: warning: data argument not used by format string
[-Wformat-extra-args]
printf(" ",  *d);
       ~~~   ^
SplitVectorOperand Op #3: t17: ch = llvm.x86.avx.storeu.pd.256 t12,
TargetConstant:i64<4727>, FrameIndex:i64<1>, t16

fatal error: error in backend: Do not know how to split this operator's
operand!

clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.8.0 (trunk 250632)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-3.8/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/ct/gy5qctjj7z9gtwz67x_6wwy00000gn/T/conftest-f70f5c.c
clang: note: diagnostic msg:
/var/folders/ct/gy5qctjj7z9gtwz67x_6wwy00000gn/T/conftest-f70f5c.sh
clang: note: diagnostic msg: 

********************
configure:6460: $? = 70
configure: program exited with status 70
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Octopus"
| #define PACKAGE_TARNAME "octopus"
| #define PACKAGE_VERSION "5.0.x"
| #define PACKAGE_STRING "Octopus 5.0.x"
| #define PACKAGE_BUGREPORT "octopus-devel at tddft.org"
| #define PACKAGE_URL ""
| #define PACKAGE "octopus"
| #define VERSION "5.0.x"
| #define restrict __restrict
| #define HAVE_BUILTIN_PREFETCH 1
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define TIME_WITH_SYS_TIME 1
| #define SIZEOF_VOIDP 8
| #define SIZEOF_SIZE_T 8
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define SIZEOF_UNSIGNED_INT 4
| #define SIZEOF_UNSIGNED_LONG 8
| #define SIZEOF_UNSIGNED_LONG_LONG 8
| #define TLS_SPECIFIER __thread
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_SYSCONF 1
| #define HAVE_GETPID 1
| #define HAVE_STRNDUP 1
| #define HAVE_TCGETPGRP 1
| #define HAVE_SCANDIR 1
| #define HAVE_ALPHASORT 1
| #define HAVE_SIGACTION 1
| #define HAVE_READDIR 1
| #define HAVE_CLOSEDIR 1
| #define HAVE_STRCHR 1
| #define HAVE_STRTOD 1
| #define HAVE_PERROR 1
| #define HAVE_STRCASESTR 1
| #define HAVE_SBRK 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_UNAME 1
| #define HAVE_IOCTL 1
| #define HAVE_M128D 1
| #define HAVE_FMA4 1
| /* end confdefs.h.  */
| 
| #include <immintrin.h>
| #include <stdio.h>
| 
| int
| main ()
| {
| 
| 
| __m256d a __attribute__((aligned(32)));
| __m256d b __attribute__((aligned(32)));
| __m256d c __attribute__((aligned(32)));
| double d[4];
| 
| a = _mm256_add_pd(b, c);
| _mm256_storeu_pd(d, a);
| printf(" ",  *d);
| 
| 
|   ;
|   return 0;
| }
configure:6470: result: no

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151019/e90e0c15/attachment.html>


More information about the llvm-bugs mailing list