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

           Summary: Invalid error reporting when using 64bit registers
                    after .set mips64
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: j...@smets.cx


GNU assembler version 2.21.52 (mips-wrs-vxworks) using BFD version (GNU
Binutils) 2.21.52.20110607


 245        .set   noreorder
 246    .set   mips64
 247    dla    $2, 0x8001070000000880
 248    ld     $2, 0($2)
 249    xori   $2, $2, 1 << 7
 250    andi   $2, $2, 1 << 7
 251    dla    $3, 0x8001070000000888
 252    bne    $2, $0, 841f
 253    nop
 254    li     $2, 1 << 7
 255    dla    $3, 0x8001070000000890
 256 841:
 257    sd     $2, 0($3)
 258    .set   mips0
 259    .set   reorder


{standard input}: Assembler messages:
{standard input}:247: Error: Number (0x8001070000000880) larger than 32 bits
{standard input}:251: Error: Number (0x8001070000000888) larger than 32 bits
{standard input}:255: Error: Number (0x8001070000000890) larger than 32 bits

After .set mips64, the use of 64bit registers should be allowed in o32

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