[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/15220] New: MIPS/Loongson 2F: Wrong opcodes for madd.ps/msub.ps
From: |
aaro.koskinen at iki dot fi |
Subject: |
[Bug gas/15220] New: MIPS/Loongson 2F: Wrong opcodes for madd.ps/msub.ps/nmadd.ps/nmsub.ps |
Date: |
Sat, 02 Mar 2013 13:18:57 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=15220
Bug #: 15220
Summary: MIPS/Loongson 2F: Wrong opcodes for
madd.ps/msub.ps/nmadd.ps/nmsub.ps
Product: binutils
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
opcodes/mips-opc.c has wrong opcodes for the following INSN_LOONGSON_2F / IL2F
instructions:
madd.ps
msub.ps
nmadd.ps
nmsub.ps
The format field (25:21) should be 22 instead of 11.
This is probably caused by a documentation error in Loongson2FUserGuide
(http://dev.lemote.com/files/resource/documents/Loongson/ls2f/). The table in
page 96 shows the format for paired-single is 11, while the table in the page
157 tells it's 22.
Based on tests on 2F HW, 22 is the correct one.
The bug was originally discovered by Mark H Weaver and reported
here:
https://groups.google.com/forum/?fromgroups=#!topic/loongson-dev/VZ1yR9Tsr7o
--
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/15220] New: MIPS/Loongson 2F: Wrong opcodes for madd.ps/msub.ps/nmadd.ps/nmsub.ps,
aaro.koskinen at iki dot fi <=