_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
1) I did not switch-on masked_load/store to AVX1, I can do this.
2) I did not switch-on masked gather on AVX2 because the instruction is slow. There is no scatter on AVX2.
3) Currently, gather/scatter does not work on SKX because the patch is still under review http://reviews.llvm.org/D15690. I’d be happy if you agree to review it.
- Elena
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
It is not supported on codegen level. You can’t just switch it on.
But you can use compiler intrinsics instead. See examples in
test/CodeGen/X86/avx2-intrinsics-x86.ll
Thanks Sanjay for highlighting this, few days back I also faced similar problem
while generating masked store in avx1 mode, found its only supported under
avx2 else we scalarize it.
> 1) I did not switch-on masked_load/store to AVX1, I can do this.
Yes Elena, This should be supported for FP type in avx1 mode (for INT type, I doubt X86 has masked_load/store instruction in avx1 mode).
Thanks,
Ashutosh
Thanks Sanjay for highlighting this, few days back I also faced similar problem
while generating masked store in avx1 mode, found its only supported under
avx2 else we scalarize it.
> 1) I did not switch-on masked_load/store to AVX1, I can do this.
Yes Elena, This should be supported for FP type in avx1 mode (for INT type, I doubt X86 has masked_load/store instruction in avx1 mode).
Ø Can we legalize the same set of masked load/store operations for AVX1 as AVX2?
Yes, of course.
- Elena
From: Sanjay Patel [mailto:spa...@rotateright.com]
Sent: Saturday, January 23, 2016 18:42
To: Nema, Ashutosh <Ashuto...@amd.com>
Cc: Demikhovsky, Elena <elena.de...@intel.com>; zhi chen <zch...@gmail.com>; llvm-dev <llvm...@lists.llvm.org>
Subject: Re: [llvm-dev] how to force llvm generate gather intrinsic
On Sat, Jan 23, 2016 at 6:45 AM, Nema, Ashutosh <Ashuto...@amd.com> wrote:
---------------------------------------------------------------------
Intel Israel (74) Limited
Yes, masked load/store/gather/scatter are completed.
- Elena
From: zhi chen [mailto:zch...@gmail.com]
Sent: Thursday, February 25, 2016 01:20
To: Demikhovsky, Elena <elena.de...@intel.com>