* lib/target-supports.exp
(check_effective_target_mips_newabi_large_long_double): New. * gcc.target/mips/fpr-moves-5.c: Require mips_newabi_large_long_double target. * gcc.target/mips/fpr-moves-6.c: Likewise. From-SVN: r149286
This commit is contained in:
parent
4fd263a6df
commit
b824522ad4
4 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2009-07-06 Nathan Froyd <froydnj@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp
|
||||
(check_effective_target_mips_newabi_large_long_double): New.
|
||||
* gcc.target/mips/fpr-moves-5.c: Require mips_newabi_large_long_double
|
||||
target.
|
||||
* gcc.target/mips/fpr-moves-6.c: Likewise.
|
||||
|
||||
2009-07-06 Simon Martin <simartin@users.sourceforge.net>
|
||||
|
||||
PR c++/40557
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-options "-mabi=64 -mhard-float -O2 -EL" } */
|
||||
/* { dg-require-effective-target mips_newabi_large_long_double } */
|
||||
|
||||
NOMIPS16 void
|
||||
foo (long double d, long double *x)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-options "-mabi=64 -mhard-float -O2 -EB" } */
|
||||
/* { dg-require-effective-target mips_newabi_large_long_double } */
|
||||
|
||||
NOMIPS16 void
|
||||
foo (long double d, long double *x)
|
||||
|
|
|
@ -734,6 +734,15 @@ proc check_effective_target_mips16_attribute { } {
|
|||
} [add_options_for_mips16_attribute ""]]
|
||||
}
|
||||
|
||||
# Return 1 if the target supports long double larger than double when
|
||||
# using the new ABI, 0 otherwise.
|
||||
|
||||
proc check_effective_target_mips_newabi_large_long_double { } {
|
||||
return [check_no_compiler_messages mips_newabi_large_long_double object {
|
||||
int dummy[sizeof(long double) > sizeof(double) ? 1 : -1];
|
||||
} "-mabi=64"]
|
||||
}
|
||||
|
||||
# Return 1 if the current multilib does not generate PIC by default.
|
||||
|
||||
proc check_effective_target_nonpic { } {
|
||||
|
|
Loading…
Add table
Reference in a new issue