[LLVMbugs] [Bug 10884] New: [AVX] crash in generated code due to %rbp being clobbered

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 7 13:02:27 PDT 2011


           Summary: [AVX] crash in generated code due to %rbp being
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=7236)
 --> (http://llvm.org/bugs/attachment.cgi?id=7236)
test case

I'm seeing a crash upon exiting the _mandelbrot_ispc function defined in the
attached test case.  Upon examination, it turns out that %rbp is 0x0, such that
things go south upon the following at the end:

    mov %rbp, %rsp
    pop %rbp

The issue seems to be that %ebp has been used as a temporary register in the

    vmovmskps %ymm12, %ebp

instruction at line 242 in the attached assembly file.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list