[X86] Clzero flag addition and inclusion under znver1
1. Adds the command line flag for clzero. 2. Includes the clzero flag under znver1. 3. Defines the macro for clzero. 4. Adds a new file which has the intrinsic definition for clzero instruction. Patch by Ganesh Gopalasubramanian with some additional tests from me. Differential revision: https://reviews.llvm.org/D29386 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294559 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/BuiltinsX86.def 3 additions, 0 deletionsinclude/clang/Basic/BuiltinsX86.def
- include/clang/Driver/Options.td 2 additions, 0 deletionsinclude/clang/Driver/Options.td
- lib/Basic/Targets.cpp 7 additions, 0 deletionslib/Basic/Targets.cpp
- lib/Headers/CMakeLists.txt 1 addition, 0 deletionslib/Headers/CMakeLists.txt
- lib/Headers/clzerointrin.h 50 additions, 0 deletionslib/Headers/clzerointrin.h
- lib/Headers/module.modulemap 1 addition, 0 deletionslib/Headers/module.modulemap
- lib/Headers/x86intrin.h 4 additions, 0 deletionslib/Headers/x86intrin.h
- test/CodeGen/builtin-clflushopt.c 1 addition, 1 deletiontest/CodeGen/builtin-clflushopt.c
- test/CodeGen/builtin-clzero.c 9 additions, 0 deletionstest/CodeGen/builtin-clzero.c
- test/CodeGen/builtins-x86.c 3 additions, 2 deletionstest/CodeGen/builtins-x86.c
- test/Driver/x86-target-features.c 5 additions, 0 deletionstest/Driver/x86-target-features.c
- test/Preprocessor/predefined-arch-macros.c 2 additions, 0 deletionstest/Preprocessor/predefined-arch-macros.c
Loading
Please register or sign in to comment