]> gcc.gnu.org Git - gcc.git/commit
Refine maskstore patterns with UNSPEC_MASKMOV.
authorliuhongt <hongtao.liu@intel.com>
Mon, 26 Jun 2023 13:07:09 +0000 (21:07 +0800)
committerliuhongt <hongtao.liu@intel.com>
Thu, 29 Jun 2023 01:28:03 +0000 (09:28 +0800)
commita435939ba7e5e489a422071014f943c1a577bfe6
tree5bfa1e2553a7309c25fb2606c53c0ab895a2aef3
parent1f5591a9578b8cacda9d4c73a25d93598d68e028
Refine maskstore patterns with UNSPEC_MASKMOV.

Similar like r14-2070-gc79476da46728e

If mem_addr points to a memory region with less than whole vector size
bytes of accessible memory and k is a mask that would prevent reading
the inaccessible bytes from mem_addr, add UNSPEC_MASKMOV to prevent
it to be transformed to any other whole memory access instructions.

gcc/ChangeLog:

PR rtl-optimization/110237
* config/i386/sse.md (<avx512>_store<mode>_mask): Refine with
UNSPEC_MASKMOV.
(maskstore<mode><avx512fmaskmodelower): Ditto.
(*<avx512>_store<mode>_mask): New define_insn, it's renamed
from original <avx512>_store<mode>_mask.
gcc/config/i386/sse.md
This page took 0.057767 seconds and 6 git commands to generate.