http://sourceware.org/bugzilla/show_bug.cgi?id=15094
Bug #: 15094 Summary: tic6x - incorrect encoding of absdp, dpint, dpsp, dptrunc, rcpdp and rsqrdp instructions Product: binutils Version: 2.23 Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassig...@sourceware.org ReportedBy: alexis.derue...@gmail.com Classification: Unclassified Created attachment 6844 --> http://sourceware.org/bugzilla/attachment.cgi?id=6844 patch that fixes encoding and disassembling of absdp, dpint, dpsp, dptrunc, rcpdp and rsqrdp instructions gas emits incorrect opcodes for absdp, dpint, dpsp, dptrunc, rcpdp and rsqrdp instructions as it encodes even register number of the reg pair into src2 field and 0 into src1 field whereas Ti assembler encodes odd register (msb) into src2 and even register (lsb) into src1. The proposed patch enables the generation of the same opcode as the Ti assembler. Also, Ti disassembler doesn't care what the value of the src1 field is when disassembling those instructions. The same patch enables the disassembling of such opcodes the same way Ti disassembler does. -- 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