[ forwarded from http://bugs.debian.org/421799 ]

seen with 20070426 CVS

The opcode check for the lswi instruction is overstrict:

| $ cat test.S
|         lswi 5,24,0
| $ as test.S 
| test.S: Assembler messages:
| test.S:1: Error: operand out of range (0 is not between 1 and 32)

The IBM reference say:
| lswi   RT, RA, NB
| NB is the byte count.
| N is NB, which is the number of bytes to load. If NB is 0, then N is 32.

-- 
           Summary: overstrict check for powerpc lswi
           Product: binutils
           Version: 2.18 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: doko at debian dot org
                CC: bug-binutils at gnu dot org
GCC target triplet: powerpc-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

Reply via email to