[Bug gas/15220] New: MIPS/Loongson 2F: Wrong opcodes for madd.ps/msub.ps/nmadd.ps/nmsub.ps

2013-03-02 Thread aaro.koskinen at iki dot fi
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: unassig...@sourceware.org
ReportedBy: aaro.koski...@iki.fi
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/14271] exception handling broken in combination with gcc static libs

2013-03-02 Thread daniel at constexpr dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=14271

Daniel Scharrer  changed:

   What|Removed |Added

 CC||daniel at constexpr dot org

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


[Bug ld/15217] branch-to-arm-from-thumb for typeless symbol is missing a stub

2013-03-02 Thread vapier at gentoo dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=15217

Mike Frysinger  changed:

   What|Removed |Added

 CC||vapier at gentoo dot org

--- Comment #1 from Mike Frysinger  2013-03-03 
05:06:52 UTC ---
pretty sure this is Working As Intended and you need to fix your code:
http://sourceware.org/ml/binutils/2012-03/msg00125.html

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