[binutils][2.25][objdump][ARM][PATCH 1/2] Backport fixes for unpredictable nops and 26-bit versions of teq, tst, cmn, cmp

Andre Vieira Andre.SimoesDiasVieira@arm.com
Fri Nov 13 09:33:00 GMT 2015


This deals with NOPS with invalid SBO/SBZ fields were being wrongfully 
translated to TEQ's. The 26-bit versions of TEQ/TST/CMN/CMP are now 
marked UNPREDICTABLE for ARM V6 and higher. See the definition of 
UNPREDICTABLE instructions and instruction definitions for 
TEQ/TST/CMN/CMP in the ARM Architecture Reference Manual ARMv7-A and 
ARMv7-R edition, reference ARM DDI0406C,
on infocenter.arm.com.

This patch backports the fix from trunk to the binutils 2.25 branch.

The original patch is at:
https://sourceware.org/ml/binutils/2015-08/msg00028.html


opcodes/ChangeLog:

2015-11-12  Andre Vieira  <andre.simoesdiasvieira@arm.com>

     Backport from mainline
     2015-08-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>

         * arm-dis.c (print_insn_arm): Disassembling for all targets V6
         and higher with ARM instruction set will now mark the 26-bit
         versions of teq,tst,cmn and cmp as UNPREDICTABLE.
         (arm_opcodes): Fix for unpredictable nop being recognized as a
         teq.

gas/testsuite/ChangeLog:

2015-11-12  Andre Vieira  <andre.simoesdiasvieira@arm.com>

     Backport from mainline
     2015-08-13  Andre Vieira  <andre.simoesdiasvieira@arm.com>

         * gas/arm/nops.d: New.
         * gas/arm/nops.s: New.
         * gas/arm/inst.d: Changed expectation file for 26-bit teq,
         tst, cmn and cmp.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-backport-2_25-for-fix-unpredictable.patch
Type: text/x-patch
Size: 5623 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20151113/5767f562/attachment.bin>


More information about the Binutils mailing list