Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Why again? We're already not compatible because we don't handle, nor do we
want to, other builtins.
-eric
Hi Eric,
We did not complete the SKX intrinsics yet. We are adding them to the backend and to the clang. And we still have a lot of work to do.
The names and parameters should be the same in GCC and in Clang headers.
The current patch is just a minor fix.
Could you, please, explain your point?
- Elena
From: Eric Christopher [mailto:echristo@gmail.com]
Sent: Thursday, December 10, 2015 20:23
To: reviews+D15328+public+c78cb0b2afbde1c2@reviews.llvm.org; Demikhovsky, Elena <elena.demikhovsky@intel.com>
Subject: Re: [PATCH] D15328: [x86][avx512] more changes in intrinsics to be align with gcc format
Why again? We're already not compatible because we don't handle, nor do we want to, other builtins.
-eric
The stance I had always taken was that if clang and gcc both have a builtin
for something we match them. If clang doesn't need a builtin and gcc does
then we just don't match.
Seems reasonable to me. It just seemed odd that we were changing. Header
compatibility isn't necessarily a good reason, but being able to keep
source compatibility if possible is nice.
Thanks!
We’ll keep source compatibility. This part is under construction yet. Amount is huge, we are adding intrinsics and running a lot of tests for GCC compatibility.
Within a time this code will be stable.
- Elena
From: Eric Christopher [mailto:echristo@gmail.com]
Sent: Thursday, December 10, 2015 23:43
To: Craig Topper <craig.topper@gmail.com>; reviews+D15328+public+c78cb0b2afbde1c2@reviews.llvm.org; Demikhovsky, Elena <elena.demikhovsky@intel.com>
Cc: llvm-commits@lists.llvm.org
Subject: Re: [PATCH] D15328: [x86][avx512] more changes in intrinsics to be align with gcc format
Seems reasonable to me. It just seemed odd that we were changing. Header compatibility isn't necessarily a good reason, but being able to keep source compatibility if possible is nice.
Thanks!