[LLVMbugs] [Bug 14145] New: ARM instructions: invalid operands

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 22 11:12:06 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14145

             Bug #: 14145
           Summary: ARM instructions: invalid operands
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: kunmus at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Met some build errors when building some assembly code (assembly file, or
inline assembly code in C) for iOS, with clang. The errors are:

(1) error: invalid operand for instruction
  vpmin.s16 d24, d24
(2) error: invalid operand in inline asm: 'smlawb ${0:r}, ${1:r}, ${2:r},
${3:r}'
  __asm__("smlawb %r0, %r1, %r2, %r3": "=r"(result): "r"(diff),
(3) error: invalid operand for instruction
  __asm __volatile ("ssat %r0, #16, %r1" : "=r"(out16) : "r"(value32));

Please note that most other Neon or ARM instructions could pass, however.

The version of clang I used is: Apple clang version 4.0
(tags/Apple/clang-421.0.57) (based on LLVM 3.1svn).

-- 
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