PR gas/11395
commit046ad46c5c12d4f954ef6f86b306dc0778a31049
authorDave Anglin <dave.anglin@nrc.ca>
Mon, 27 Dec 2010 02:05:12 +0000 (27 02:05 +0000)
committerDave Anglin <dave.anglin@nrc.ca>
Mon, 27 Dec 2010 02:05:12 +0000 (27 02:05 +0000)
tree0dee3a2051135394df9ebe260493c1bd79926aef
parent883b5f6ae06a21a7e60cfb427da411ad00c1dd52
PR gas/11395
* config/tc-hppa.c (pa_ip): Set doubleword carry/borrow bit when a
doubleword completer or doubleword condition is found in an add/sub
instruction.  Reject match for 'A'/'S' only if there is no condition
and d bit is not set.

* gas/hppa/basic/add2.s: Add test for a simple doubleword carry
instruction.
* gas/hppa/basic/sub2.s: Add tests for simple word and doubleword
borrow instructions.
* gas/hppa/basic/basic.exp: Update regexps for above.

* opcode/hppa.h: Clear "d" bit in "add" and "sub" patterns.
gas/ChangeLog
gas/config/tc-hppa.c
gas/testsuite/ChangeLog
gas/testsuite/gas/hppa/basic/add2.s
gas/testsuite/gas/hppa/basic/basic.exp
gas/testsuite/gas/hppa/basic/sub2.s
include/ChangeLog
include/opcode/hppa.h