diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2012-10-13 22:12:18 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2012-10-13 22:12:18 +0000 |
commit | 3af942d249fd96baf5b2bb2013eea307efc33f7e (patch) | |
tree | d9aea52c4240623cc3f05c6fbfb7c3604cefe006 | |
parent | 3cf9e6c4081cb72b5630f4f47861d285c9e1438a (diff) | |
download | gdb-3af942d249fd96baf5b2bb2013eea307efc33f7e.zip gdb-3af942d249fd96baf5b2bb2013eea307efc33f7e.tar.gz gdb-3af942d249fd96baf5b2bb2013eea307efc33f7e.tar.bz2 |
* gas/hppa/basic/unit.s: Remove uxor instructions with unit condition
involving a carry.
* gas/hppa/basic/unit2.s: Likewise.
* gas/hppa/basic/basic.exp: Adjusted expected.
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/basic/basic.exp | 148 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/basic/unit.s | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/basic/unit2.s | 6 |
4 files changed, 75 insertions, 92 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 907543a..9313eb2 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * gas/hppa/basic/unit.s: Remove uxor instructions with unit condition + involving a carry. + * gas/hppa/basic/unit2.s: Likewise. + * gas/hppa/basic/basic.exp: Adjusted expected. + 2012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gas/arm/armv8-a+fp.d: Use preferred form of vrint instruction diff --git a/gas/testsuite/gas/hppa/basic/basic.exp b/gas/testsuite/gas/hppa/basic/basic.exp index d5d6104..611ea57 100644 --- a/gas/testsuite/gas/hppa/basic/basic.exp +++ b/gas/testsuite/gas/hppa/basic/basic.exp @@ -1792,51 +1792,45 @@ proc do_unit {} { -re "^ +\[0-9\]+ 0000 08A40386\[^\n]*\n" { set x [expr $x+1] } -re "^ +\[0-9\]+ 0004 08A44386\[^\n]*\n" { set x [expr $x+1] } -re "^ +\[0-9\]+ 0008 08A46386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 000c 08A48386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0010 08A4C386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0014 08A4E386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0018 08A41386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 001c 08A45386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0020 08A47386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0024 08A49386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0028 08A4D386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 002c 08A4F386\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0030 08A40986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0034 08A44986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0038 08A46986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 003c 08A48986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0040 08A4C986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0044 08A4E986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0048 08A41986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 004c 08A45986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0050 08A47986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0054 08A49986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0058 08A4D986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 005c 08A4F986\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0060 08A409C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0064 08A449C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0068 08A469C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 006c 08A489C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0070 08A4C9C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0074 08A4E9C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0078 08A419C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 007c 08A459C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0080 08A479C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0084 08A499C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0088 08A4D9C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 008c 08A4F9C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0090 08A409C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0094 08A449C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0098 08A469C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 009c 08A489C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00a0 08A4C9C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00a4 08A4E9C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00a8 08A419C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00ac 08A459C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00b0 08A479C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00b4 08A499C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00b8 08A4D9C6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 00bc 08A4F9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 000c 08A41386\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0010 08A45386\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0014 08A47386\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0018 08A40986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 001c 08A44986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0020 08A46986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0024 08A48986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0028 08A4C986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 002c 08A4E986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0030 08A41986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0034 08A45986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0038 08A47986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 003c 08A49986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0040 08A4D986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0044 08A4F986\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0048 08A409C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 004c 08A449C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0050 08A469C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0054 08A489C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0058 08A4C9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 005c 08A4E9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0060 08A419C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0064 08A459C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0068 08A479C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 006c 08A499C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0070 08A4D9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0074 08A4F9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0078 08A409C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 007c 08A449C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0080 08A469C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0084 08A489C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0088 08A4C9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 008c 08A4E9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0090 08A419C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0094 08A459C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0098 08A479C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 009c 08A499C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 00a0 08A4D9C6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 00a4 08A4F9C6\[^\n]*\n" { set x [expr $x+1] } -re "\[^\n\]*\n" { } timeout { perror "timeout\n"; break } eof { break } @@ -1848,7 +1842,7 @@ proc do_unit {} { gas_finish # Did we find what we were looking for? If not, flunk it. - if [expr $x==48] then { pass $testname } else { fail $testname } + if [expr $x==42] then { pass $testname } else { fail $testname } } proc do_unit2 {} { @@ -1869,39 +1863,33 @@ proc do_unit2 {} { -re "^ +\[0-9\]+ 0000 08A403A6\[^\n]*\n" { set x [expr $x+1] } -re "^ +\[0-9\]+ 0004 08A443A6\[^\n]*\n" { set x [expr $x+1] } -re "^ +\[0-9\]+ 0008 08A463A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 000c 08A483A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0010 08A4C3A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0014 08A4E3A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0018 08A413A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 001c 08A453A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0020 08A473A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0024 08A493A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0028 08A4D3A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 002c 08A4F3A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0030 08A409A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0034 08A449A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0038 08A469A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 003c 08A489A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0040 08A4C9A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0044 08A4E9A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0048 08A419A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 004c 08A459A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0050 08A479A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0054 08A499A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0058 08A4D9A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 005c 08A4F9A6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0060 08A409E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0064 08A449E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0068 08A469E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 006c 08A489E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0070 08A4C9E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0074 08A4E9E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0078 08A419E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 007c 08A459E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0080 08A479E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0084 08A499E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 0088 08A4D9E6\[^\n]*\n" { set x [expr $x+1] } - -re "^ +\[0-9\]+ 008c 08A4F9E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 000c 08A413A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0010 08A453A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0014 08A473A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0018 08A409A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 001c 08A449A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0020 08A469A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0024 08A489A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0028 08A4C9A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 002c 08A4E9A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0030 08A419A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0034 08A459A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0038 08A479A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 003c 08A499A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0040 08A4D9A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0044 08A4F9A6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0048 08A409E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 004c 08A449E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0050 08A469E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0054 08A489E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0058 08A4C9E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 005c 08A4E9E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0060 08A419E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0064 08A459E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0068 08A479E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 006c 08A499E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0070 08A4D9E6\[^\n]*\n" { set x [expr $x+1] } + -re "^ +\[0-9\]+ 0074 08A4F9E6\[^\n]*\n" { set x [expr $x+1] } -re "\[^\n\]*\n" { } timeout { perror "timeout\n"; break } eof { break } @@ -1913,7 +1901,7 @@ proc do_unit2 {} { gas_finish # Did we find what we were looking for? If not, flunk it. - if [expr $x==36] then { pass $testname } else { fail $testname } + if [expr $x==30] then { pass $testname } else { fail $testname } } proc do_dcor {} { diff --git a/gas/testsuite/gas/hppa/basic/unit.s b/gas/testsuite/gas/hppa/basic/unit.s index dcd353d..52b1723 100644 --- a/gas/testsuite/gas/hppa/basic/unit.s +++ b/gas/testsuite/gas/hppa/basic/unit.s @@ -10,15 +10,9 @@ uxor %r4,%r5,%r6 uxor,sbz %r4,%r5,%r6 uxor,shz %r4,%r5,%r6 - uxor,sdc %r4,%r5,%r6 - uxor,sbc %r4,%r5,%r6 - uxor,shc %r4,%r5,%r6 uxor,tr %r4,%r5,%r6 uxor,nbz %r4,%r5,%r6 uxor,nhz %r4,%r5,%r6 - uxor,ndc %r4,%r5,%r6 - uxor,nbc %r4,%r5,%r6 - uxor,nhc %r4,%r5,%r6 uaddcm %r4,%r5,%r6 uaddcm,sbz %r4,%r5,%r6 diff --git a/gas/testsuite/gas/hppa/basic/unit2.s b/gas/testsuite/gas/hppa/basic/unit2.s index 1707dae..b3a0a02 100644 --- a/gas/testsuite/gas/hppa/basic/unit2.s +++ b/gas/testsuite/gas/hppa/basic/unit2.s @@ -10,15 +10,9 @@ uxor,* %r4,%r5,%r6 uxor,*sbz %r4,%r5,%r6 uxor,*shz %r4,%r5,%r6 - uxor,*sdc %r4,%r5,%r6 - uxor,*sbc %r4,%r5,%r6 - uxor,*shc %r4,%r5,%r6 uxor,*tr %r4,%r5,%r6 uxor,*nbz %r4,%r5,%r6 uxor,*nhz %r4,%r5,%r6 - uxor,*ndc %r4,%r5,%r6 - uxor,*nbc %r4,%r5,%r6 - uxor,*nhc %r4,%r5,%r6 uaddcm,* %r4,%r5,%r6 uaddcm,*sbz %r4,%r5,%r6 |