[llvm-bugs] [Bug 30693] New: AVX512 Segfault: alignment incorrect for relative addressing

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 13 18:23:58 PDT 2016


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

            Bug ID: 30693
           Summary: AVX512 Segfault: alignment incorrect for relative
                    addressing
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: Roland.Schulz at Intel.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Steps to reproduce:
git clone -b clang https://github.com/rolandschulz/gromacs.git
cd gromacs
mkdir build
cd build
FLAGS=-g; CFLAGS=$FLAGS CXXFLAGS=$FLAGS CC=clang CXX=clang++ cmake .. -GNinja
-DGMX_SIMD=AVX_512_KNL -DGMX_BUILD_HELP=OFF -DBUILD_SHARED_LIBS=no
-DGMX_HWLOC=no -DGMX_OPENMP=no
ninja mdrun-test
./bin/mdrun-test
--gtest_filter=MdrunCanWrite/Trajectories.ThatDifferInNstxout/0

It segfaults on
0x00000000009f4622 <+370>:   vmovdqa 0x5b6fa(%rip),%xmm7        # 0xa4fd2

That relative address is not aligned to 16 and thus segfaults.

Sorry I have no idea how to produce a small test case for this.

-- 
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/20161014/9670d1cf/attachment.html>


More information about the llvm-bugs mailing list