Hi Evgeniy

> Please review.
> +    } 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");
Can we instead of huge if / else chains encode the necessary FPU =>
feature mapping via some table?

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to