[cfe-dev] Bug#704111: clang fails to correctly implement hard float ABI during default compiles due to rediculously low default CPU setting.

Anton Korobeynikov anton at korobeynikov.info
Thu Mar 28 01:46:51 PDT 2013


Hi Tim,

> Backporting it would be a relatively simple feat. The following block
> in addFPUArgs in lib/Driver/Tools.cpp implements it:
>   } else if (FPU == "vfp3-d16" || FPU == "vfpv3-d16") {
>     CmdArgs.push_back("-target-feature");
>     CmdArgs.push_back("+vfp3");
>     CmdArgs.push_back("-target-feature");
>     CmdArgs.push_back("+d16");
>     CmdArgs.push_back("-target-feature");
>     CmdArgs.push_back("-neon");
>   }
I'm not sure that +/- stuff existed in 3.0. Maybe the selectivity was
added later (maybe not).

PS: You CC'ed cfe-dev, but not Peter.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the cfe-dev mailing list