]> granicus.if.org Git - clang/commit
add the -mrecip driver flag and process its options
authorSanjay Patel <spatel@rotateright.com>
Fri, 22 May 2015 21:42:10 +0000 (21:42 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 22 May 2015 21:42:10 +0000 (21:42 +0000)
commitf3abc1c2772670dcb09bc302b4b9fce1f8d3a391
tree345cb83522de179f3d954bc81f8da3ac00217fe1
parentc8e9dddb5681b29df046c438ea729e35c83e9b18
add the -mrecip driver flag and process its options

This is the front-end counterpart to D8982 (LLVM r238051).

The -mrecip option interface is based on maintaining compatibility with gcc:
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/i386-and-x86-64-Options.html#index-mrecip_003dopt-1627
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/RS_002f6000-and-PowerPC-Options.html#index-mrecip-2289

...while adding more functionality (allowing users to specify the number of refinement steps for each
estimate type).

Differential Revision: http://reviews.llvm.org/D8989

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238055 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetOptions.h
include/clang/Driver/Options.td
lib/CodeGen/BackendUtil.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/Driver/mrecip.c [new file with mode: 0644]