forked from OSchip/llvm-project
[mips] Pass on -m{single,double}-float to GAS.
Summary: We already pass these to the IAS, but not to GAS. Reviewers: dsanders, atanasyan Reviewed By: atanasyan Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10358 llvm-svn: 239525
This commit is contained in:
parent
6e8248fdad
commit
b36d610cc2
|
@ -7617,6 +7617,9 @@ void gnutools::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
Args.AddLastArg(CmdArgs, options::OPT_mhard_float,
|
||||
options::OPT_msoft_float);
|
||||
|
||||
Args.AddLastArg(CmdArgs, options::OPT_mdouble_float,
|
||||
options::OPT_msingle_float);
|
||||
|
||||
Args.AddLastArg(CmdArgs, options::OPT_modd_spreg,
|
||||
options::OPT_mno_odd_spreg);
|
||||
|
||||
|
|
|
@ -281,3 +281,13 @@
|
|||
// RUN: | FileCheck -check-prefix=NOODDSPREG --implicit-check-not=-modd-spreg %s
|
||||
// NOODDSPREG: as{{(.exe)?}}"
|
||||
// NOODDSPREG: -mno-odd-spreg
|
||||
//
|
||||
// RUN: %clang -target mips-linux-gnu -### -no-integrated-as -mdouble-float -msingle-float -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=SINGLEFLOAT --implicit-check-not=-mdouble-float %s
|
||||
// SINGLEFLOAT: as{{(.exe)?}}"
|
||||
// SINGLEFLOAT: -msingle-float
|
||||
//
|
||||
// RUN: %clang -target mips-linux-gnu -### -no-integrated-as -msingle-float -mdouble-float -c %s 2>&1 \
|
||||
// RUN: | FileCheck -check-prefix=DOUBLEFLOAT --implicit-check-not=-msingle-float %s
|
||||
// DOUBLEFLOAT: as{{(.exe)?}}"
|
||||
// DOUBLEFLOAT: -mdouble-float
|
||||
|
|
Loading…
Reference in New Issue