[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/10479] New: Too strict checks for addw / subw instructions
From: |
asl at math dot spbu dot ru |
Subject: |
[Bug gas/10479] New: Too strict checks for addw / subw instructions |
Date: |
4 Aug 2009 21:30:23 -0000 |
The following patch introduces bunch of checks for usage of sp and pc registers
as operands for thumb instructions:
http://sourceware.org/ml/binutils/2009-01/msg00363.html
In particular, it rejects, for example, the following two instructions:
addw sp, sp, #0
subw sp, sp, #0
here sp is used as destination register and this is perfectly allowed according
to ARM documentation. Only pc as destination register lead to unpredictable
results. See e.g. A8.6.215 SUB (SP minus immediate) of ARMv7-A / ARMv7-R
Architecture Reference Manual.
--
Summary: Too strict checks for addw / subw instructions
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: asl at math dot spbu dot ru
CC: bug-binutils at gnu dot org,joseph at codesourcery dot
com
GCC target triplet: arm-none-linux-gnueabi
http://sourceware.org/bugzilla/show_bug.cgi?id=10479
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/10479] New: Too strict checks for addw / subw instructions,
asl at math dot spbu dot ru <=
- [Bug gas/10479] Too strict checks for addw / subw instructions, dgutson at codesourcery dot com, 2009/08/05
- [Bug gas/10479] Too strict checks for addw / subw instructions, nlewycky at google dot com, 2009/08/06
- [Bug gas/10479] Too strict checks for addw / subw instructions, dgutson at codesourcery dot com, 2009/08/09
- [Bug gas/10479] Too strict checks for addw / subw instructions, asl at math dot spbu dot ru, 2009/08/09
- [Bug gas/10479] Too strict checks for addw / subw instructions, dgutson at codesourcery dot com, 2009/08/10
- [Bug gas/10479] Too strict checks for addw / subw instructions, asl at math dot spbu dot ru, 2009/08/10
- [Bug gas/10479] Too strict checks for addw / subw instructions, nickc at redhat dot com, 2009/08/10
- [Bug gas/10479] Too strict checks for addw / subw instructions, asl at math dot spbu dot ru, 2009/08/10