bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/15094] New: tic6x - incorrect encoding of absdp, dpint, dpsp, d


From: alexis.deruelle at gmail dot com
Subject: [Bug gas/15094] New: tic6x - incorrect encoding of absdp, dpint, dpsp, dptrunc, rcpdp and rsqrdp instructions
Date: Sun, 03 Feb 2013 16:05:15 +0000

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: address@hidden
        ReportedBy: address@hidden
    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.



reply via email to

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