diff options
author | Eric Christopher <echristo@gmail.com> | 2001-06-29 21:27:43 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2001-06-29 21:27:43 +0000 |
commit | ec68c924f030786d924e08b435f7dd094f978b04 (patch) | |
tree | ddf4da0f33a1ea793f965f2a5a324a726465083b /gas/testsuite | |
parent | 77467810660bf23be5bf6cd6c4cf4f1034dc8d33 (diff) | |
download | gdb-ec68c924f030786d924e08b435f7dd094f978b04.zip gdb-ec68c924f030786d924e08b435f7dd094f978b04.tar.gz gdb-ec68c924f030786d924e08b435f7dd094f978b04.tar.bz2 |
2001-06-28 Eric Christopher <echristo@redhat.com>
H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_arch): New. Use mips_arch instead
of mips_cpu for the ISA selection.
(md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
(md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
(mips_tune): New. Use mips_tune for scheduling and optimization
issues.
(append_insn): Use mips_tune and mips_arch.
(macro_build): Ditto.
(mips_ip): Ditto.
(md_begin): Handle mips_arch, mips_tune and mips_cpu. For
backwards compatability mips_cpu generates arch and tune.
(md_show_usage): Document new behavior.
* doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
Deprecate -mcpu.
* NEWS: Update.
2001-06-28 Eric Christopher <echristo@redhat.com>
* gas/mips/usd.d: Change for march/mtune.
* gas/mips/ulh-xgot.d: Ditto.
* gas/mips/uld.d: Ditto.
* gas/mips/trunc.d: Ditto.
* gas/mips/rol.d: Ditto.
* gas/mips/nodelay.d: Ditto.
* gas/mips/mul.d: Ditto.
* gas/mips/mul-ilocks.d: Ditto.
* gas/mips/trap20.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/lif-xgot.d: Ditto.
* gas/mips/lif-svr4pic.d: Ditto.
* gas/mips/ld-xgot.d: Ditto.
* gas/mips/ld-svr4pic.d: Ditto.
* gas/mips/ld-ilocks-addr32.d: Ditto.
* gas/mips/lb-xgot.d: Ditto.
* gas/mips/jal-xgot.d: Ditto.
* gas/mips/jal-svr4pic.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/lb-xgot-ilocks.d: Ditto.
* gas/mips/div.d: Ditto.
* gas/mips/break20.d: Ditto.
* gas/mips/delay.d: Ditto.
* gas/mips/elf_e_flags3.d: Ditto.
* gas/mips/elf_e_flags4.d: Ditto.
* gas/mips/lineno.d: Ditto.
* gas/mips/mips16.d: Ditto.
* gas/mips/mips4.d: Ditto.
* gas/mips/mips4010.d: Ditto.
* gas/mips/mips4650.d: Ditto.
Diffstat (limited to 'gas/testsuite')
31 files changed, 68 insertions, 35 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 01e5ebb..71c999d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,37 @@ +2001-06-28 Eric Christopher <echristo@redhat.com> + + * gas/mips/usd.d: Change for march/mtune. + * gas/mips/ulh-xgot.d: Ditto. + * gas/mips/uld.d: Ditto. + * gas/mips/trunc.d: Ditto. + * gas/mips/rol.d: Ditto. + * gas/mips/nodelay.d: Ditto. + * gas/mips/mul.d: Ditto. + * gas/mips/mul-ilocks.d: Ditto. + * gas/mips/trap20.d: Ditto. + * gas/mips/mips4.d: Ditto. + * gas/mips/mips16.d: Ditto. + * gas/mips/lif-xgot.d: Ditto. + * gas/mips/lif-svr4pic.d: Ditto. + * gas/mips/ld-xgot.d: Ditto. + * gas/mips/ld-svr4pic.d: Ditto. + * gas/mips/ld-ilocks-addr32.d: Ditto. + * gas/mips/lb-xgot.d: Ditto. + * gas/mips/jal-xgot.d: Ditto. + * gas/mips/jal-svr4pic.d: Ditto. + * gas/mips/delay.d: Ditto. + * gas/mips/lb-xgot-ilocks.d: Ditto. + * gas/mips/div.d: Ditto. + * gas/mips/break20.d: Ditto. + * gas/mips/delay.d: Ditto. + * gas/mips/elf_e_flags3.d: Ditto. + * gas/mips/elf_e_flags4.d: Ditto. + * gas/mips/lineno.d: Ditto. + * gas/mips/mips16.d: Ditto. + * gas/mips/mips4.d: Ditto. + * gas/mips/mips4010.d: Ditto. + * gas/mips/mips4650.d: Ditto. + 2001-06-21 Nick Clifton <nickc@cambridge.redhat.com> * gas/arm/arm.exp: Remove msr-bad.s test. @@ -13,7 +47,7 @@ * gas/ppc/aix.exp: New file, aix specific tests. * gas/ppc/align.s: New file, .comm alignment test. - + 2001-06-13 Andreas Jaeger <aj@suse.de> * gas/vtable/vtable.exp (run_list_test): Don't run on sparc64. diff --git a/gas/testsuite/gas/mips/break20.d b/gas/testsuite/gas/mips/break20.d index 4498a4c..3131898 100644 --- a/gas/testsuite/gas/mips/break20.d +++ b/gas/testsuite/gas/mips/break20.d @@ -1,4 +1,4 @@ -#as: -mcpu=r3900 +#as: -march=r3900 #objdump: -dr --prefix-addresses -mmips:3900 #name: MIPS 20-bit break @@ -15,4 +15,4 @@ Disassembly of section .text: 0+001c <[^>]*> sdbbp 0x14 0+0020 <[^>]*> sdbbp 0x14,0x28 0+0024 <[^>]*> sdbbp 0x3ff,0x3ff - ...
\ No newline at end of file + ... diff --git a/gas/testsuite/gas/mips/delay.d b/gas/testsuite/gas/mips/delay.d index 03b2e15..dde5c0a 100644 --- a/gas/testsuite/gas/mips/delay.d +++ b/gas/testsuite/gas/mips/delay.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:4000 #name: MIPS delay -#as: -mips3 -mcpu=r4000 +#as: -mips3 -mtune=r4000 # # Gas should produce nop's after mtc1 and related diff --git a/gas/testsuite/gas/mips/div.d b/gas/testsuite/gas/mips/div.d index ffd5675..6d60da5 100644 --- a/gas/testsuite/gas/mips/div.d +++ b/gas/testsuite/gas/mips/div.d @@ -1,5 +1,5 @@ +#as: -march=r4000 -mtune=r4000 #objdump: -dr --prefix-addresses -mmips:4000 -#as: -mcpu=r4000 #name: MIPS div # Test the div macro. diff --git a/gas/testsuite/gas/mips/elf_e_flags3.d b/gas/testsuite/gas/mips/elf_e_flags3.d index acfde0b..9ba5042 100644 --- a/gas/testsuite/gas/mips/elf_e_flags3.d +++ b/gas/testsuite/gas/mips/elf_e_flags3.d @@ -1,6 +1,6 @@ -# name: ELF e_flags: -mcpu=4650 +# name: ELF e_flags: -march=4650 -mtune=4650 # source: elf_e_flags.s -# as: -mcpu=4650 +# as: -march=4650 -mtune=4650 # objdump: -fd .*:.*file format.*mips.* diff --git a/gas/testsuite/gas/mips/elf_e_flags4.d b/gas/testsuite/gas/mips/elf_e_flags4.d index 36489cd..9ba5042 100644 --- a/gas/testsuite/gas/mips/elf_e_flags4.d +++ b/gas/testsuite/gas/mips/elf_e_flags4.d @@ -1,6 +1,6 @@ -# name: ELF e_flags: -m4650 -mcpu=4650 +# name: ELF e_flags: -march=4650 -mtune=4650 # source: elf_e_flags.s -# as: -m4650 -mcpu=4650 +# as: -march=4650 -mtune=4650 # objdump: -fd .*:.*file format.*mips.* diff --git a/gas/testsuite/gas/mips/jal-svr4pic.d b/gas/testsuite/gas/mips/jal-svr4pic.d index 44af20a1..5dc94c2 100644 --- a/gas/testsuite/gas/mips/jal-svr4pic.d +++ b/gas/testsuite/gas/mips/jal-svr4pic.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS R3000 jal-svr4pic -#as: -mips1 -KPIC -mcpu=r3000 +#as: -mips1 -KPIC -mtune=r3000 # Test the jal macro with -KPIC. diff --git a/gas/testsuite/gas/mips/jal-xgot.d b/gas/testsuite/gas/mips/jal-xgot.d index 318b50b..8792c9b 100644 --- a/gas/testsuite/gas/mips/jal-xgot.d +++ b/gas/testsuite/gas/mips/jal-xgot.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS R3000 jal-xgot -#as: -mips1 -KPIC -xgot -mcpu=r3000 +#as: -mips1 -KPIC -xgot -mtune=r3000 #source: jal-svr4pic.s # Test the jal macro with -KPIC -xgot. diff --git a/gas/testsuite/gas/mips/lb-xgot-ilocks.d b/gas/testsuite/gas/mips/lb-xgot-ilocks.d index d949bfd..06aca8a 100644 --- a/gas/testsuite/gas/mips/lb-xgot-ilocks.d +++ b/gas/testsuite/gas/mips/lb-xgot-ilocks.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS lb-xgot-ilocks -#as: -mips1 -KPIC -xgot -mcpu=r3900 +#as: -mips1 -KPIC -xgot -mtune=r3900 #source: lb-pic.s # Test the lb macro with -KPIC -xgot. diff --git a/gas/testsuite/gas/mips/lb-xgot.d b/gas/testsuite/gas/mips/lb-xgot.d index da84c8f..27dfad5 100644 --- a/gas/testsuite/gas/mips/lb-xgot.d +++ b/gas/testsuite/gas/mips/lb-xgot.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS lb-xgot -#as: -mips1 -KPIC -xgot -mcpu=r3000 +#as: -mips1 -KPIC -xgot -mtune=r3000 #source: lb-pic.s # Test the lb macro with -KPIC -xgot. diff --git a/gas/testsuite/gas/mips/ld-ilocks-addr32.d b/gas/testsuite/gas/mips/ld-ilocks-addr32.d index 30cf382..52c6d2f 100644 --- a/gas/testsuite/gas/mips/ld-ilocks-addr32.d +++ b/gas/testsuite/gas/mips/ld-ilocks-addr32.d @@ -1,5 +1,5 @@ #objdump: -dr --prefix-addresses -mmips:4000 -#as: -mips3 -mcpu=r4000 +#as: -mips3 -mtune=r4000 -march=r4000 #name: MIPS ld-ilocks #source: ld.s @@ -629,4 +629,3 @@ Disassembly of section .text: 0+05c4 <[^>]*> sd a0,-23131\(at\) [ ]*5c4: [A-Z0-9_]*LO[A-Z0-9_]* .sbss.* 0+05c8 <[^>]*> nop - diff --git a/gas/testsuite/gas/mips/ld-svr4pic.d b/gas/testsuite/gas/mips/ld-svr4pic.d index 31860f4..b41b257 100644 --- a/gas/testsuite/gas/mips/ld-svr4pic.d +++ b/gas/testsuite/gas/mips/ld-svr4pic.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS ld-svr4pic -#as: -mips1 -mcpu=r3000 -KPIC +#as: -mips1 -mtune=r3000 -KPIC #source: ld-pic.s # Test the ld macro with -KPIC. diff --git a/gas/testsuite/gas/mips/ld-xgot.d b/gas/testsuite/gas/mips/ld-xgot.d index c864b56..d5456ba 100644 --- a/gas/testsuite/gas/mips/ld-xgot.d +++ b/gas/testsuite/gas/mips/ld-xgot.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS ld-xgot -#as: -mips1 -mcpu=r3000 -KPIC -xgot +#as: -mips1 -mtune=r3000 -KPIC -xgot #source: ld-pic.s # Test the ld macro with -KPIC -xgot. diff --git a/gas/testsuite/gas/mips/ld.d b/gas/testsuite/gas/mips/ld.d index 2a6acc2..b7ef4ff 100644 --- a/gas/testsuite/gas/mips/ld.d +++ b/gas/testsuite/gas/mips/ld.d @@ -1,5 +1,5 @@ #objdump: -dr --prefix-addresses -mmips:4000 -#as: -mcpu=r4000 +#as: -march=r4000 #name: MIPS ld # Test the ld macro. diff --git a/gas/testsuite/gas/mips/lif-svr4pic.d b/gas/testsuite/gas/mips/lif-svr4pic.d index 048bbd6..9432ecc 100644 --- a/gas/testsuite/gas/mips/lif-svr4pic.d +++ b/gas/testsuite/gas/mips/lif-svr4pic.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS lifloat-svr4pic -#as: -mips1 -mcpu=r3000 -KPIC -EB --defsym SVR4=1 +#as: -mips1 -mtune=r3000 -KPIC -EB --defsym SVR4=1 #source: lifloat.s # Test the li.d and li.s macros with -KPIC. diff --git a/gas/testsuite/gas/mips/lif-xgot.d b/gas/testsuite/gas/mips/lif-xgot.d index f4d7477..9056c62 100644 --- a/gas/testsuite/gas/mips/lif-xgot.d +++ b/gas/testsuite/gas/mips/lif-xgot.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS lifloat-xgot -#as: -mips1 -mcpu=r3000 -KPIC -xgot -EB --defsym XGOT=1 +#as: -mips1 -mtune=r3000 -KPIC -xgot -EB --defsym XGOT=1 #source: lifloat.s # Test the li.d and li.s macros with -KPIC -xgot. diff --git a/gas/testsuite/gas/mips/lineno.d b/gas/testsuite/gas/mips/lineno.d index 40a201c..77907e5 100644 --- a/gas/testsuite/gas/mips/lineno.d +++ b/gas/testsuite/gas/mips/lineno.d @@ -1,6 +1,6 @@ #objdump: -d -l -mmips:4000 #name: assembly line numbers -#as: -g -mcpu=r4000 +#as: -g -march=r4000 .*: +file format .*mips.* diff --git a/gas/testsuite/gas/mips/mips16.d b/gas/testsuite/gas/mips/mips16.d index 216e264..1550529 100644 --- a/gas/testsuite/gas/mips/mips16.d +++ b/gas/testsuite/gas/mips/mips16.d @@ -1,5 +1,5 @@ #objdump: -dr -mmips:4000 -#as: -mips3 -mcpu=r4000 +#as: -mips3 -mtune=r4000 #name: mips16 # Test the mips16 instruction set. diff --git a/gas/testsuite/gas/mips/mips4.d b/gas/testsuite/gas/mips/mips4.d index 874e420..0c20f8a 100644 --- a/gas/testsuite/gas/mips/mips4.d +++ b/gas/testsuite/gas/mips/mips4.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:5000 #name: MIPS mips4 -#as: -mips4 -mcpu=r5000 +#as: -mips4 -mtune=r5000 # Test the mips4 macros. diff --git a/gas/testsuite/gas/mips/mips4010.d b/gas/testsuite/gas/mips/mips4010.d index 49fa381..12e8ac1 100644 --- a/gas/testsuite/gas/mips/mips4010.d +++ b/gas/testsuite/gas/mips/mips4010.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:4010 #name: MIPS 4010 -#as: -mcpu=4010 +#as: -march=4010 .*: +file format .*mips.* diff --git a/gas/testsuite/gas/mips/mips4100.d b/gas/testsuite/gas/mips/mips4100.d index f471990..4ef2e19 100644 --- a/gas/testsuite/gas/mips/mips4100.d +++ b/gas/testsuite/gas/mips/mips4100.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:4100 #name: MIPS 4100 -#as: -mcpu=4100 +#as: -march=4100 .*: +file format .*mips.* diff --git a/gas/testsuite/gas/mips/mips4650.d b/gas/testsuite/gas/mips/mips4650.d index 4b65809..2e68a37 100644 --- a/gas/testsuite/gas/mips/mips4650.d +++ b/gas/testsuite/gas/mips/mips4650.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:4650 #name: MIPS 4650 -#as: -mcpu=4650 +#as: -march=4650 -mtune=4650 .*: +file format .*mips.* diff --git a/gas/testsuite/gas/mips/mul-ilocks.d b/gas/testsuite/gas/mips/mul-ilocks.d index ba9c10e..9450a04 100644 --- a/gas/testsuite/gas/mips/mul-ilocks.d +++ b/gas/testsuite/gas/mips/mul-ilocks.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses #name: MIPS mul-ilocks -#as: +#as: -march=r4000 -mtune=r4000 #source: mul.s # Test the mul macro. diff --git a/gas/testsuite/gas/mips/mul.d b/gas/testsuite/gas/mips/mul.d index ab25f12..1c4f784 100644 --- a/gas/testsuite/gas/mips/mul.d +++ b/gas/testsuite/gas/mips/mul.d @@ -1,5 +1,5 @@ #objdump: -dr --prefix-addresses -mmips:4000 -#as: -mcpu=r4000 +#as: -march=r4000 -mtune=r4000 #name: MIPS mul # Test the mul macro. diff --git a/gas/testsuite/gas/mips/nodelay.d b/gas/testsuite/gas/mips/nodelay.d index f21e73b..7e4da40 100644 --- a/gas/testsuite/gas/mips/nodelay.d +++ b/gas/testsuite/gas/mips/nodelay.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:5000 #name: MIPS nodelay -#as: -mips4 -mcpu=r8000 +#as: -mips4 -mtune=r8000 #source: delay.s # For -mips4 diff --git a/gas/testsuite/gas/mips/rol.d b/gas/testsuite/gas/mips/rol.d index 05addb4..78f39f1 100644 --- a/gas/testsuite/gas/mips/rol.d +++ b/gas/testsuite/gas/mips/rol.d @@ -1,5 +1,5 @@ #objdump: -dr --prefix-addresses -mmips:3000 -#as: -mcpu=r3000 +#as: -march=r3000 -mtune=r3000 #name: MIPS R3000 rol # Test the rol and ror macros. diff --git a/gas/testsuite/gas/mips/trap20.d b/gas/testsuite/gas/mips/trap20.d index 3a77230..7bde844 100644 --- a/gas/testsuite/gas/mips/trap20.d +++ b/gas/testsuite/gas/mips/trap20.d @@ -1,4 +1,4 @@ -#as: -mcpu=r4000 +#as: -march=r4000 #objdump: -dr --prefix-addresses -mmips:4000 #name: MIPS 20-bit trap diff --git a/gas/testsuite/gas/mips/trunc.d b/gas/testsuite/gas/mips/trunc.d index 8276e3f..0087c02 100644 --- a/gas/testsuite/gas/mips/trunc.d +++ b/gas/testsuite/gas/mips/trunc.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS trunc -#as: -mips1 -mcpu=r3000 +#as: -mips1 -mtune=r3000 # Test the trunc macros. diff --git a/gas/testsuite/gas/mips/uld.d b/gas/testsuite/gas/mips/uld.d index 06c83dd..b563292 100644 --- a/gas/testsuite/gas/mips/uld.d +++ b/gas/testsuite/gas/mips/uld.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:4000 #name: MIPS uld -#as: -mips3 -mcpu=r4000 +#as: -mips3 -mtune=r4000 # Test the uld macro. diff --git a/gas/testsuite/gas/mips/ulh-xgot.d b/gas/testsuite/gas/mips/ulh-xgot.d index 96d47dd..4ee5b6b 100644 --- a/gas/testsuite/gas/mips/ulh-xgot.d +++ b/gas/testsuite/gas/mips/ulh-xgot.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:3000 #name: MIPS ulh-xgot -#as: -mips1 -mcpu=r3000 -KPIC -xgot -EB --defsym XGOT=1 +#as: -mips1 -mtune=r3000 -KPIC -xgot -EB --defsym XGOT=1 #source: ulh-pic.s # Test the unaligned load and store macros with -KPIC -xgot. diff --git a/gas/testsuite/gas/mips/usd.d b/gas/testsuite/gas/mips/usd.d index 7aa701d..0e9da49 100644 --- a/gas/testsuite/gas/mips/usd.d +++ b/gas/testsuite/gas/mips/usd.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses -mmips:4000 #name: MIPS usd -#as: -mips3 -mcpu=r4000 +#as: -mips3 -mtune=r4000 # Test the usd macro. |