http://sourceware.org/bugzilla/show_bug.cgi?id=14987

             Bug #: 14987
           Summary: Current gas arm asm syntax checks may be too strict
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassig...@sourceware.org
        ReportedBy: bernhard.rosenkran...@linaro.org
    Classification: Unclassified


Current (seen with hjl branch binutils 2.23.51.0.6 to 2.23.51.0.8) arm asm
syntax checks may be a bit too strict.

This is fine:
vld1.32 {d1[]}, [r2], r3

But this whitespace change errors out:
vld1.32 {d1[]}, [r2 ], r3
test.S:6: Error: ']' expected -- `vld1.32 {d1[]},[r2 ],r3'

This causes problems when building x264 (context:
.macro SAD_FUNC w, h, name, align:vararg
        vld1.32 {d1[]}, [r2 \align], r3
.endm
called without the align parameter)

The fix on the x264 side is easy, but chances are the behavior seen in older
binutils versions (accepting both versions equally) is preferable.

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to