https://sourceware.org/bugzilla/show_bug.cgi?id=27191

            Bug ID: 27191
           Summary: m68k: incorrect assembly of fmovem.l #data,%fpsr/%fpcr
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: ad...@tho-otto.de
  Target Milestone: ---

When using immediate data for a fmovem.l to control register, and more than one
register ist specified, only a single constant is written:

        fmovem.l        #0xffffffff00000000,%fpsr/%fpcr
        nop

result:

   0:   f23c 9800 0000  fmoveml #0,%fpsr/%fpcr
   6:   0000 
   8:   4e71            nop

Only the low 32-bit value was written. Specifying for example

        fmovem.l        #0xffffffffffffffffffffffff,%fpsr/%fpcr/%fpiar
        nop

does not work at all, because the constant overflows.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to