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.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils