diff options
author | Thiemo Seufer <ths@networkno.de> | 2006-05-23 15:37:20 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2006-05-23 15:37:20 +0000 |
commit | ad3fea084db196784e00a78cec90acf33897441c (patch) | |
tree | eefc95afdff123d41e8b01b93dab3c3d31573072 /gas/testsuite | |
parent | 59bc7ed3cee11b96fec179f5377727a48addec7e (diff) | |
download | gdb-ad3fea084db196784e00a78cec90acf33897441c.zip gdb-ad3fea084db196784e00a78cec90acf33897441c.tar.gz gdb-ad3fea084db196784e00a78cec90acf33897441c.tar.bz2 |
[ gas/ChangeLog ]
* config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS): Rename.
(ISA_SUPPORTS_DSP_ASE, ISA_SUPPORTS_MT_ASE, ISA_HAS_64BIT_FPRS,
ISA_HAS_MXHC1): New macros.
(HAVE_32BIT_FPRS): Use ISA_HAS_64BIT_FPRS instead of
ISA_HAS_64BIT_REGS. Formatting fixes. Improved comments.
(mips_cpu_info): Change to use combined ASE/IS_ISA flag.
(MIPS_CPU_IS_ISA, MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP,
MIPS_CPU_ASE_MT, MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX): New defines.
(mips_after_parse_args): Change default handling of float register
size to account for 32bit code with 64bit FP. Better sanity checking
of ISA/ASE/ABI option combinations.
(s_mipsset): Support switching of GPR and FPR sizes via
.set {g,f}p={32,64,default}. Better sanity checking for .set ASE
options.
(mips_elf_final_processing): We should record the use of 64bit FP
registers in 32bit code but we don't, because ELF header flags are
a scarce ressource.
(mips_cpu_info_table): Add ASE flags for CPUs with mandatory ASE
extensions. Add 4ksc, 4kec, 4kem, 4kep, 4ksd, m4kp, 24kec, 24kef,
24kex, 34kc, 34kf, 34kx, 25kf CPU definitions.
(mips_cpu_info_from_isa): Use MIPS_CPU_IS_ISA.
* doc/c-mips.texi: Document .set {g,f}p={32,64,default}. Document
missing -march options. Document .set arch=CPU. Move .set smartmips
to ASE page. Use @code for .set FOO examples.
[ gas/testsuite/Changelog ]
* gas/mips/mips-gp32-fp64-pic.d, mips/mips-gp32-fp64.d,
gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.l,
gas/mips/mips-gp64-fp64.d: Adjust test cases to the changes assembler
output.
* gas/mips/mips-gp32-fp64.l, gas/mips/mips-gp64-fp32-pic.l: New files,
catch assembler warnings.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp32-fp64-pic.d | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp32-fp64.d | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp32-fp64.l | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp64-fp32-pic.d | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp64-fp32-pic.l | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp64-fp32.l | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-gp64-fp64.d | 2 |
8 files changed, 19 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index ec7ac74..d858213 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2006-05-23 Thiemo Seufer <ths@mips.com> + + * gas/mips/mips-gp32-fp64-pic.d, mips/mips-gp32-fp64.d, + gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.l, + gas/mips/mips-gp64-fp64.d: Adjust test cases to the changes assembler + output. + * gas/mips/mips-gp32-fp64.l, gas/mips/mips-gp64-fp32-pic.l: New files, + catch assembler warnings. + 2006-05-22 Nick Clifton <nickc@redhat.com> * gas/mips/mips32-dsp.l: Fix expected unsigned decoding of -1 in diff --git a/gas/testsuite/gas/mips/mips-gp32-fp64-pic.d b/gas/testsuite/gas/mips/mips-gp32-fp64-pic.d index 52c1701..3ebbe3f 100644 --- a/gas/testsuite/gas/mips/mips-gp32-fp64-pic.d +++ b/gas/testsuite/gas/mips/mips-gp32-fp64-pic.d @@ -1,6 +1,7 @@ #objdump: -d -mmips:8000 #as: -32 -march=8000 -EB -mgp32 -mfp64 -KPIC #name: MIPS -mgp32 -mfp64 (SVR4 PIC) +#stderr: mips-gp32-fp64.l .*: +file format.* diff --git a/gas/testsuite/gas/mips/mips-gp32-fp64.d b/gas/testsuite/gas/mips/mips-gp32-fp64.d index b266f70..8fcd563 100644 --- a/gas/testsuite/gas/mips/mips-gp32-fp64.d +++ b/gas/testsuite/gas/mips/mips-gp32-fp64.d @@ -1,6 +1,7 @@ #objdump: -d -mmips:8000 #as: -32 -march=8000 -EB -mgp32 -mfp64 #name: MIPS -mgp32 -mfp64 +#stderr: mips-gp32-fp64.l .*: +file format.* diff --git a/gas/testsuite/gas/mips/mips-gp32-fp64.l b/gas/testsuite/gas/mips/mips-gp32-fp64.l new file mode 100644 index 0000000..de3f3b0 --- /dev/null +++ b/gas/testsuite/gas/mips/mips-gp32-fp64.l @@ -0,0 +1,2 @@ +Assembler messages: +Warning: -mfp64 used with a 32-bit ABI diff --git a/gas/testsuite/gas/mips/mips-gp64-fp32-pic.d b/gas/testsuite/gas/mips/mips-gp64-fp32-pic.d index f5a8e89..52fe8af 100644 --- a/gas/testsuite/gas/mips/mips-gp64-fp32-pic.d +++ b/gas/testsuite/gas/mips/mips-gp64-fp32-pic.d @@ -1,6 +1,7 @@ #objdump: -d -mmips:8000 #as: -mabi=o64 -march=8000 -EB -mfp32 -KPIC #name: MIPS -mgp64 -mfp32 (SVR4 PIC) +#stderr: mips-gp64-fp32-pic.l .*: +file format.* diff --git a/gas/testsuite/gas/mips/mips-gp64-fp32-pic.l b/gas/testsuite/gas/mips/mips-gp64-fp32-pic.l new file mode 100644 index 0000000..2d37303 --- /dev/null +++ b/gas/testsuite/gas/mips/mips-gp64-fp32-pic.l @@ -0,0 +1,2 @@ +Assembler messages: +Warning: -mfp32 used with a 64-bit ABI diff --git a/gas/testsuite/gas/mips/mips-gp64-fp32.l b/gas/testsuite/gas/mips/mips-gp64-fp32.l index 4f26b42..3668a25 100644 --- a/gas/testsuite/gas/mips/mips-gp64-fp32.l +++ b/gas/testsuite/gas/mips/mips-gp64-fp32.l @@ -1,4 +1,5 @@ -.*: Assembler messages: +Assembler messages: +Warning: -mfp32 used with a 64-bit ABI .*:92: Warning: Macro instruction expanded into multiple instructions in a branch delay slot .*:96: Warning: Macro instruction expanded into multiple instructions in a branch delay slot .*:100: Warning: Macro instruction expanded into multiple instructions in a branch delay slot diff --git a/gas/testsuite/gas/mips/mips-gp64-fp64.d b/gas/testsuite/gas/mips/mips-gp64-fp64.d index bf3e44f..3e1bfd5 100644 --- a/gas/testsuite/gas/mips/mips-gp64-fp64.d +++ b/gas/testsuite/gas/mips/mips-gp64-fp64.d @@ -1,7 +1,7 @@ #objdump: -d -mmips:8000 #as: -mabi=o64 -march=8000 -EB #name: MIPS -mgp64 -mfp64 -#stderr: mips-gp64-fp32.l +#stderr: mips-gp64-fp64.l .*: +file format.* |