[X86] Add SM3 instructions.
authorFreddy Ye <freddy.ye@intel.com>
Thu, 20 Jul 2023 02:23:52 +0000 (10:23 +0800)
committerFreddy Ye <freddy.ye@intel.com>
Thu, 20 Jul 2023 02:24:16 +0000 (10:24 +0800)
commitc6f66de21af060ead6e5402858351e9e869dc15f
tree5e881ae10097de7acce043749afbb1277d15a57c
parente1be36c649937ea2ad487b0122ecc140f1972baf
[X86] Add SM3 instructions.

For more details about these instructions, please refer to the latest ISE document: https://www.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D155147
30 files changed:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/BuiltinsX86.def
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/X86.cpp
clang/lib/Basic/Targets/X86.h
clang/lib/Headers/CMakeLists.txt
clang/lib/Headers/immintrin.h
clang/lib/Headers/sm3intrin.h [new file with mode: 0644]
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/X86/sm3-builtins.c [new file with mode: 0644]
clang/test/CodeGen/X86/sm3-error.c [new file with mode: 0644]
clang/test/CodeGen/attr-target-x86.c
clang/test/Driver/x86-target-features.c
clang/test/Preprocessor/x86_target_features.c
llvm/docs/ReleaseNotes.rst
llvm/include/llvm/IR/IntrinsicsX86.td
llvm/include/llvm/TargetParser/X86TargetParser.def
llvm/lib/Target/X86/X86.td
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/lib/TargetParser/Host.cpp
llvm/lib/TargetParser/X86TargetParser.cpp
llvm/test/CodeGen/X86/sm3-intrinsics.ll [new file with mode: 0644]
llvm/test/MC/Disassembler/X86/sm3-32.txt [new file with mode: 0644]
llvm/test/MC/Disassembler/X86/sm3-64.txt [new file with mode: 0644]
llvm/test/MC/X86/sm3-att-32.s [new file with mode: 0644]
llvm/test/MC/X86/sm3-att-64.s [new file with mode: 0644]
llvm/test/MC/X86/sm3-intel-32.s [new file with mode: 0644]
llvm/test/MC/X86/sm3-intel-64.s [new file with mode: 0644]
llvm/test/TableGen/x86-fold-tables.inc