r250496 - [X86] Add sse4.2 feature name to CRC32 builtins.
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 16 10:00:20 PDT 2015
Thanks Craig!
-eric
On Thu, Oct 15, 2015 at 10:27 PM Craig Topper via cfe-commits <
cfe-commits at lists.llvm.org> wrote:
> Author: ctopper
> Date: Fri Oct 16 00:25:15 2015
> New Revision: 250496
>
> URL: http://llvm.org/viewvc/llvm-project?rev=250496&view=rev
> Log:
> [X86] Add sse4.2 feature name to CRC32 builtins.
>
> Modified:
> cfe/trunk/include/clang/Basic/BuiltinsX86.def
>
> Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/BuiltinsX86.def?rev=250496&r1=250495&r2=250496&view=diff
>
> ==============================================================================
> --- cfe/trunk/include/clang/Basic/BuiltinsX86.def (original)
> +++ cfe/trunk/include/clang/Basic/BuiltinsX86.def Fri Oct 16 00:25:15 2015
> @@ -414,10 +414,10 @@ TARGET_BUILTIN(__builtin_ia32_pcmpestrio
> TARGET_BUILTIN(__builtin_ia32_pcmpestris128, "iV16ciV16ciIc","", "sse4.2")
> TARGET_BUILTIN(__builtin_ia32_pcmpestriz128, "iV16ciV16ciIc","", "sse4.2")
>
> -BUILTIN(__builtin_ia32_crc32qi, "UiUiUc", "")
> -BUILTIN(__builtin_ia32_crc32hi, "UiUiUs", "")
> -BUILTIN(__builtin_ia32_crc32si, "UiUiUi", "")
> -BUILTIN(__builtin_ia32_crc32di, "ULLiULLiULLi", "")
> +TARGET_BUILTIN(__builtin_ia32_crc32qi, "UiUiUc", "", "sse4.2")
> +TARGET_BUILTIN(__builtin_ia32_crc32hi, "UiUiUs", "", "sse4.2")
> +TARGET_BUILTIN(__builtin_ia32_crc32si, "UiUiUi", "", "sse4.2")
> +TARGET_BUILTIN(__builtin_ia32_crc32di, "ULLiULLiULLi", "", "sse4.2")
>
> // SSE4a
> TARGET_BUILTIN(__builtin_ia32_extrqi, "V2LLiV2LLiIcIc", "", "sse4a")
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151016/3e503b27/attachment.html>
More information about the cfe-commits
mailing list