diff options
author | liuhongt <hongtao.liu@intel.com> | 2023-06-26 21:07:09 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2023-06-27 15:29:43 +0800 |
commit | dbf8ab449417aa24669f6ccf50be8c17f8c1278e (patch) | |
tree | 5a0e2ef8e255243117b0114b7e116237540e2c41 /gcc/value-range.cc | |
parent | 0b811120b0eb75d6ec01e3d09df9f94f29d7300c (diff) | |
download | gcc-dbf8ab449417aa24669f6ccf50be8c17f8c1278e.zip gcc-dbf8ab449417aa24669f6ccf50be8c17f8c1278e.tar.gz gcc-dbf8ab449417aa24669f6ccf50be8c17f8c1278e.tar.bz2 |
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.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions