This is an archive of the discontinued LLVM Phabricator instance.

[x86][avx512] more changes in intrinsics to be align with gcc format
ClosedPublic

Authored by AsafBadouh on Dec 8 2015, 3:49 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

AsafBadouh updated this revision to Diff 42151.Dec 8 2015, 3:49 AM
AsafBadouh retitled this revision from to [x86][avx512] more changes in intrinsics to be align with gcc format.
AsafBadouh updated this object.
AsafBadouh added a reviewer: delena.
AsafBadouh added a subscriber: llvm-commits.
delena accepted this revision.Dec 8 2015, 3:53 AM
delena edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 8 2015, 3:53 AM
This revision was automatically updated to reflect the committed changes.

To be compatible with GCC headers.

  • Elena

Why again? We're already not compatible because we don't handle, nor do we
want to, other builtins.

-eric

delena added a subscriber: delena.Dec 10 2015, 1:22 PM

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!

Sounds good.

Thanks!