bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/4448] New: overstrict check for powerpc lswi


From: doko at debian dot org
Subject: [Bug gas/4448] New: overstrict check for powerpc lswi
Date: 2 May 2007 06:16:10 -0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]