PR gas/11395
authorDave Anglin <dave.anglin@nrc.ca>
Mon, 27 Dec 2010 02:05:14 +0000 (02:05 +0000)
committerDave Anglin <dave.anglin@nrc.ca>
Mon, 27 Dec 2010 02:05:14 +0000 (02:05 +0000)
commita64718d3b10db2e9c52e14df4e221b5f127edbff
tree8f46709e2b46767144d07316badadcbe122a1bd1
parent53e6a1dd44e692b7ca258b325776a4cfd8af11f3
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