[Driver][Mips] Remove "fp64" directories from the mips-mti-linux-gnu toolchain

directories description. Released version of this toolchain has not separate
libraries for -mfp64 command line option.

llvm-svn: 213937
This commit is contained in:
Simon Atanasyan 2014-07-25 11:20:21 +00:00
parent da490d2ec1
commit 5116b4a9f9
216 changed files with 400 additions and 415 deletions

View File

@ -1628,11 +1628,6 @@ static bool isMicroMips(const ArgList &Args) {
return A && A->getOption().matches(options::OPT_mmicromips);
}
static bool isMipsFP64(const ArgList &Args) {
Arg *A = Args.getLastArg(options::OPT_mfp64, options::OPT_mfp32);
return A && A->getOption().matches(options::OPT_mfp64);
}
struct DetectedMultilibs {
/// The set of multilibs that the detected installation supports.
MultilibSet Multilibs;
@ -1732,12 +1727,6 @@ static bool findMIPSMultilibs(const llvm::Triple &TargetTriple, StringRef Path,
.includeSuffix("/sof")
.flag("+msoft-float");
Multilib FP64 = Multilib()
.gccSuffix("/fp64")
.osSuffix("/fp64")
.includeSuffix("/fp64")
.flag("+mfp64");
Multilib Nan2008 = Multilib()
.gccSuffix("/nan2008")
.osSuffix("/nan2008")
@ -1758,10 +1747,8 @@ static bool findMIPSMultilibs(const llvm::Triple &TargetTriple, StringRef Path,
.FilterOut("/mips16/64")
.Either(BigEndian, LittleEndian)
.Maybe(SoftFloat)
.Maybe(FP64)
.Maybe(Nan2008)
.FilterOut(".*sof/nan2008")
.FilterOut(".*sof/fp64")
.FilterOut(NonExistent);
}
@ -1892,8 +1879,6 @@ static bool findMIPSMultilibs(const llvm::Triple &TargetTriple, StringRef Path,
addMultilibFlag(CPUName == "mips64r2" || CPUName == "octeon",
"march=mips64r2", Flags);
addMultilibFlag(isMicroMips(Args), "mmicromips", Flags);
addMultilibFlag(isMipsFP64(Args), "mfp64", Flags);
addMultilibFlag(!isMipsFP64(Args), "mfp32", Flags);
addMultilibFlag(tools::mips::isNaN2008(Args, TargetTriple), "mnan=2008",
Flags);
addMultilibFlag(ABIName == "n32", "mabi=n32", Flags);

Some files were not shown because too many files have changed in this diff Show More