diff options
author | Alan Modra <amodra@gmail.com> | 2017-12-04 10:12:46 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-12-04 10:23:57 +1030 |
commit | 48f7f3036a792c655c98b0742574841743e38f58 (patch) | |
tree | 4db6243bc03da6e63816caceeb90b09f207c671f /gas | |
parent | 97d4213f68ce37efe4c957f761e500a13b19f16f (diff) | |
download | gdb-48f7f3036a792c655c98b0742574841743e38f58.zip gdb-48f7f3036a792c655c98b0742574841743e38f58.tar.gz gdb-48f7f3036a792c655c98b0742574841743e38f58.tar.bz2 |
Run powerpc vle gas tests for all powerpc ELF targets
* testsuite/gas/ppc/ppc.exp: Don't exclude VLE tests when little-endian.
* testsuite/gas/ppc/efs.d: Add -mbig to assembler options.
* testsuite/gas/ppc/efs2.d: Likewise.
* testsuite/gas/ppc/lsp-checks.d: Likewise.
* testsuite/gas/ppc/lsp.d: Likewise.
* testsuite/gas/ppc/spe.d: Likewise.
* testsuite/gas/ppc/spe2-checks.d: Likewise.
* testsuite/gas/ppc/spe2.d: Likewise.
* testsuite/gas/ppc/spe_ambiguous.d: Likewise.
* testsuite/gas/ppc/vle-mult-ld-st-insns.d: Likewise.
* testsuite/gas/ppc/vle-reloc.d: Likewise.
* testsuite/gas/ppc/vle-simple-1.d: Likewise.
* testsuite/gas/ppc/vle-simple-2.d: Likewise.
* testsuite/gas/ppc/vle-simple-3.d: Likewise.
* testsuite/gas/ppc/vle-simple-4.d: Likewise.
* testsuite/gas/ppc/vle-simple-5.d: Likewise.
* testsuite/gas/ppc/vle-simple-6.d: Likewise.
* testsuite/gas/ppc/vle.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 21 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/efs.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/efs2.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/lsp-checks.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/lsp.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/ppc.exp | 42 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/spe.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/spe2-checks.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/spe2.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/spe_ambiguous.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-mult-ld-st-insns.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-reloc.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-simple-1.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-simple-2.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-simple-3.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-simple-4.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-simple-5.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle-simple-6.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/vle.d | 2 |
19 files changed, 58 insertions, 39 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 05dd5ee..b88af71 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,24 @@ +2017-12-04 Alan Modra <amodra@gmail.com> + + * testsuite/gas/ppc/ppc.exp: Don't exclude VLE tests when little-endian. + * testsuite/gas/ppc/efs.d: Add -mbig to assembler options. + * testsuite/gas/ppc/efs2.d: Likewise. + * testsuite/gas/ppc/lsp-checks.d: Likewise. + * testsuite/gas/ppc/lsp.d: Likewise. + * testsuite/gas/ppc/spe.d: Likewise. + * testsuite/gas/ppc/spe2-checks.d: Likewise. + * testsuite/gas/ppc/spe2.d: Likewise. + * testsuite/gas/ppc/spe_ambiguous.d: Likewise. + * testsuite/gas/ppc/vle-mult-ld-st-insns.d: Likewise. + * testsuite/gas/ppc/vle-reloc.d: Likewise. + * testsuite/gas/ppc/vle-simple-1.d: Likewise. + * testsuite/gas/ppc/vle-simple-2.d: Likewise. + * testsuite/gas/ppc/vle-simple-3.d: Likewise. + * testsuite/gas/ppc/vle-simple-4.d: Likewise. + * testsuite/gas/ppc/vle-simple-5.d: Likewise. + * testsuite/gas/ppc/vle-simple-6.d: Likewise. + * testsuite/gas/ppc/vle.d: Likewise. + 2017-12-03 Jim Wilson <jimw@sifive.com> * doc/c-riscv.texi (RISC-V-Directives): Move @section immediately after diff --git a/gas/testsuite/gas/ppc/efs.d b/gas/testsuite/gas/ppc/efs.d index 5f1a847..f2ecad9 100644 --- a/gas/testsuite/gas/ppc/efs.d +++ b/gas/testsuite/gas/ppc/efs.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -d -Mefs -Mvle -Mefs2 #name: Validate EFS instructions diff --git a/gas/testsuite/gas/ppc/efs2.d b/gas/testsuite/gas/ppc/efs2.d index 5914101..02fd26f 100644 --- a/gas/testsuite/gas/ppc/efs2.d +++ b/gas/testsuite/gas/ppc/efs2.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -d -Mvle -Mefs2 #name: Validate EFS2 instructions diff --git a/gas/testsuite/gas/ppc/lsp-checks.d b/gas/testsuite/gas/ppc/lsp-checks.d index 99ccf54..39581e9 100644 --- a/gas/testsuite/gas/ppc/lsp-checks.d +++ b/gas/testsuite/gas/ppc/lsp-checks.d @@ -1,3 +1,3 @@ #name: Test LSP operands checks -#as: -a32 -mvle +#as: -a32 -mbig -mvle #error-output: lsp-checks.l diff --git a/gas/testsuite/gas/ppc/lsp.d b/gas/testsuite/gas/ppc/lsp.d index f6c8458..ca45a36 100644 --- a/gas/testsuite/gas/ppc/lsp.d +++ b/gas/testsuite/gas/ppc/lsp.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -d -Mvle #name: Validate LSP instructions diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index b12fbd3..0d2941b 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -51,30 +51,28 @@ if { [istarget powerpc*-*-*] } then { run_dump_test "476" run_dump_test "a2" run_dump_test "pr21303" - if { ![istarget powerpc*le-*-*] } then { - run_dump_test "vle" - run_dump_test "vle-reloc" - run_dump_test "vle-simple-1" - run_dump_test "vle-simple-2" - run_dump_test "vle-simple-3" - run_dump_test "vle-simple-4" - run_dump_test "vle-simple-5" - run_dump_test "vle-simple-6" - run_dump_test "vle-mult-ld-st-insns" + run_dump_test "vle" + run_dump_test "vle-reloc" + run_dump_test "vle-simple-1" + run_dump_test "vle-simple-2" + run_dump_test "vle-simple-3" + run_dump_test "vle-simple-4" + run_dump_test "vle-simple-5" + run_dump_test "vle-simple-6" + run_dump_test "vle-mult-ld-st-insns" - #fail expected until get_powerpc_dialect() patch not applied - setup_xfail "*-*-*" - run_dump_test "lsp" - run_dump_test "lsp-checks" - run_dump_test "efs" - run_dump_test "efs2" - run_dump_test "spe2" - run_dump_test "spe2-checks" - run_dump_test "spe" + #fail expected until get_powerpc_dialect() patch not applied + setup_xfail "*-*-*" + run_dump_test "lsp" + run_dump_test "lsp-checks" + run_dump_test "efs" + run_dump_test "efs2" + run_dump_test "spe2" + run_dump_test "spe2-checks" + run_dump_test "spe" - setup_xfail "*-*-*" - run_dump_test "spe_ambiguous" - } + setup_xfail "*-*-*" + run_dump_test "spe_ambiguous" } if { [istarget powerpc-*-*aix*] } then { diff --git a/gas/testsuite/gas/ppc/spe.d b/gas/testsuite/gas/ppc/spe.d index 7391028..caaa9e0 100644 --- a/gas/testsuite/gas/ppc/spe.d +++ b/gas/testsuite/gas/ppc/spe.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -d -Mspe #name: Validate SPE instructions diff --git a/gas/testsuite/gas/ppc/spe2-checks.d b/gas/testsuite/gas/ppc/spe2-checks.d index ec86e66..0acc27f 100644 --- a/gas/testsuite/gas/ppc/spe2-checks.d +++ b/gas/testsuite/gas/ppc/spe2-checks.d @@ -1,3 +1,3 @@ -#as: -a32 -mvle -mspe2 +#as: -a32 -mbig -mvle -mspe2 #name: Test SPE2 operands checks #error-output: spe2-checks.l diff --git a/gas/testsuite/gas/ppc/spe2.d b/gas/testsuite/gas/ppc/spe2.d index e4c45de..25dbd2b 100644 --- a/gas/testsuite/gas/ppc/spe2.d +++ b/gas/testsuite/gas/ppc/spe2.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle -mspe2 +#as: -a32 -mbig -mvle -mspe2 #objdump: -d -Mspe2 -Mefs2 #name: Validate SPE2 instructions diff --git a/gas/testsuite/gas/ppc/spe_ambiguous.d b/gas/testsuite/gas/ppc/spe_ambiguous.d index cdfb005..2e0b1d3 100644 --- a/gas/testsuite/gas/ppc/spe_ambiguous.d +++ b/gas/testsuite/gas/ppc/spe_ambiguous.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -d -Mspe #name: Validate SPE instructions diff --git a/gas/testsuite/gas/ppc/vle-mult-ld-st-insns.d b/gas/testsuite/gas/ppc/vle-mult-ld-st-insns.d index 2f9d6c7..ddaa694 100644 --- a/gas/testsuite/gas/ppc/vle-mult-ld-st-insns.d +++ b/gas/testsuite/gas/ppc/vle-mult-ld-st-insns.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle -mregnames +#as: -a32 -mbig -mvle -mregnames #objdump: -dr -Mvle #name: VLE Instructions for improving interrupt handler efficiency diff --git a/gas/testsuite/gas/ppc/vle-reloc.d b/gas/testsuite/gas/ppc/vle-reloc.d index dad153f..77d76f1 100644 --- a/gas/testsuite/gas/ppc/vle-reloc.d +++ b/gas/testsuite/gas/ppc/vle-reloc.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: VLE relocations diff --git a/gas/testsuite/gas/ppc/vle-simple-1.d b/gas/testsuite/gas/ppc/vle-simple-1.d index fee4054..43082c8 100644 --- a/gas/testsuite/gas/ppc/vle-simple-1.d +++ b/gas/testsuite/gas/ppc/vle-simple-1.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 1 diff --git a/gas/testsuite/gas/ppc/vle-simple-2.d b/gas/testsuite/gas/ppc/vle-simple-2.d index 291f6ea..a6cec75 100644 --- a/gas/testsuite/gas/ppc/vle-simple-2.d +++ b/gas/testsuite/gas/ppc/vle-simple-2.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 2 diff --git a/gas/testsuite/gas/ppc/vle-simple-3.d b/gas/testsuite/gas/ppc/vle-simple-3.d index 7b3ddb2..5218c85 100644 --- a/gas/testsuite/gas/ppc/vle-simple-3.d +++ b/gas/testsuite/gas/ppc/vle-simple-3.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 3 diff --git a/gas/testsuite/gas/ppc/vle-simple-4.d b/gas/testsuite/gas/ppc/vle-simple-4.d index 9d9ae38..f66733e 100644 --- a/gas/testsuite/gas/ppc/vle-simple-4.d +++ b/gas/testsuite/gas/ppc/vle-simple-4.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 4 diff --git a/gas/testsuite/gas/ppc/vle-simple-5.d b/gas/testsuite/gas/ppc/vle-simple-5.d index 8e98145..817df09 100644 --- a/gas/testsuite/gas/ppc/vle-simple-5.d +++ b/gas/testsuite/gas/ppc/vle-simple-5.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 5 diff --git a/gas/testsuite/gas/ppc/vle-simple-6.d b/gas/testsuite/gas/ppc/vle-simple-6.d index 64c9a2d..9ea87b2 100644 --- a/gas/testsuite/gas/ppc/vle-simple-6.d +++ b/gas/testsuite/gas/ppc/vle-simple-6.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 6 diff --git a/gas/testsuite/gas/ppc/vle.d b/gas/testsuite/gas/ppc/vle.d index dcc2cc3..6661ff4 100644 --- a/gas/testsuite/gas/ppc/vle.d +++ b/gas/testsuite/gas/ppc/vle.d @@ -1,4 +1,4 @@ -#as: -a32 -mvle +#as: -a32 -mbig -mvle #objdump: -dr -Mvle #name: Validate VLE instructions |