[LLVMbugs] [Bug 17353] New: powerpc integrated-as doesn't support '$+n'/'$-n' syntax

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 24 17:34:06 PDT 2013


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

            Bug ID: 17353
           Summary: powerpc integrated-as doesn't support '$+n'/'$-n'
                    syntax
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

As of r191105, this syntax fails:

$ echo 'bcl 20,31,$+4' | llvm-mc -arch ppc64
        .text
<stdin>:1:11: error: invalid token in expression
bcl 20,31,$+4
          ^
<stdin>:1:11: error: unknown operand
bcl 20,31,$+4
          ^
<stdin>:1:12: error: unexpected token at start of statement
bcl 20,31,$+4
           ^

This shows up in openssl's "aes-ppc.S", "sha512-ppc.S" and "sha256-ppc.S".
Also,

$ echo 'bdnz $-8' | llvm/Debug+Asserts/bin/llvm-mc -arch ppc64
        .text
<stdin>:1:6: error: invalid token in expression
bdnz $-8
     ^
<stdin>:1:6: error: unknown operand
bdnz $-8
     ^
<stdin>:1:7: error: unexpected token at start of statement
bdnz $-8
      ^

shows up in openssl's "ppccpuid.S". I'm not familiar enough with the assembly
to know whether this is sensible or if openssl should be changed?

-- 
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/20130925/64bf9401/attachment.html>


More information about the llvm-bugs mailing list