[LLVMbugs] [Bug 5959] Results obtained from an asm volatile corrupted by optimiser

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 6 11:42:29 PST 2010


Dale Johannesen <dalej at apple.com> changed:

           What    |Removed                     |Added
                 CC|                            |dalej at apple.com
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #1 from Dale Johannesen <dalej at apple.com>  2010-01-06 13:42:28 ---
This test isn't compilable as it uses #elseif instead of #elif.

Fixing that manually and using the appropriate -D, I don't see the effect you
mention on either X86-32 or PPC with the current TOT.  Presumably this has been
fixed since 2.6.  Inner loop on PPC-32 at -O1:
        mr r4, r6
        mr r6, r7
        addi r7, r3, 1
        cmplwi cr0, r7, 4
        ; InlineAsm Start
        addi r8, r3, 100
        ; InlineAsm End
        mr r3, r7
        mr r7, r5
        mr r5, r8
        bne cr0, LBB1_1

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