bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21671] New: [mips] wrong opcode for 'sigrie' instruction


From: shiragumo at gmail dot com
Subject: [Bug binutils/21671] New: [mips] wrong opcode for 'sigrie' instruction
Date: Sun, 25 Jun 2017 00:59:37 +0000

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

            Bug ID: 21671
           Summary: [mips] wrong opcode for 'sigrie' instruction
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: shiragumo at gmail dot com
  Target Milestone: ---

Hello!

According to *The MIPS32 Instruction Set v6.05*
(https://www.imgtec.com/?do-download=the-mips32-instruction-set-v6-05 p. 353)
the instruction 'sigrie 12' should translate to opcode 0x0417000c but the
assembler (mips-elf-as) gives 0x4170000c.

Looking into 'opcodes/mips-opc.c' there is line 1247:
```
{"sigrie",              "u",            0x41700000, 0xffff0000, TRAP,          
        0,              I37,            0,      0 },
```
So it 0x41700000 should probably be changed to 0x04170000 to follow the isa
manual.

Thank you.

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


reply via email to

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