bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/10479] Too strict checks for addw / subw instructions


From: dgutson at codesourcery dot com
Subject: [Bug gas/10479] Too strict checks for addw / subw instructions
Date: 9 Aug 2009 20:27:06 -0000

------- Additional Comments From dgutson at codesourcery dot com  2009-08-09 
20:27 -------
Created an attachment (id=4124)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4124&action=view)
proposed fix

Hi, please review this proposed patch, which attempts to fix the validation
checks that wrongly reject good instructions.
I tested this by running the GAS test suite, and including the new test case I
included in the patch. Despite the original report mentioned addw/subw, I
wanted to extend the testing to other instructions as well, in order to ensure
that no other SP/PC-related operands were broken.
Please commit this for me if accepted, since I don't have write access.

Daniel Gutson  <address@hidden>

        * config/tc-arm.c (do_t_add_sub_w): Fixed constraints. 

        gas/testsuite/ 
        * gas/arm/sp-pc-usage-t.d: New test case.
        * gas/arm/sp-pc-usage-t.s: New file.


-- 


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.




reply via email to

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