bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/22493] New: push {sp} fails on mcpu=cortex-a7


From: address@hidden
Subject: [Bug gas/22493] New: push {sp} fails on mcpu=cortex-a7
Date: Sat, 25 Nov 2017 13:58:53 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22493

            Bug ID: 22493
           Summary: push {sp} fails on mcpu=cortex-a7
           Product: binutils
           Version: 2.29
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: address@hidden
  Target Milestone: ---
            Target: cortex-a7

The arm-none-eabi-as translates "push {sp}" wrong.
Instead of "stmfd sp!, {sp}" im getting "str sp, [sp, #-4]!".
This str is UNPREDICTABLE says ARMv7-A Refmanual (the cortex a7 throws an
undefined).
Because it uses writeback and Rn == Rt.
Im referencing to this doc:
http://liris.cnrs.fr/~mmrissa/lib/exe/fetch.php?media=armv7-a-r-manual.pdf (ARM
DDI 0406C.b (ID072512))
Chapter A8.8.205, page 676.

And im not getting a warning!
If im typing "str sp, [sp, #-4]!" manually I get a warning.

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