Hello! We don't mark memory operand 0 of AVX maskstore insn as read-written.
2012-11-06 Uros Bizjak <ubiz...@gmail.com> * config/i386/sse.md (<avx_avx2>_maskstore<ssemodesuffix><avxsizesuffix>): Mark operand 0 as read and written by the instruction. Tested on x86_64-pc-linux-gnu, committed to mainline SVN, will be backported to 4.7 branch. Uros.
Index: config/i386/sse.md =================================================================== --- config/i386/sse.md (revision 193243) +++ config/i386/sse.md (working copy) @@ -11067,7 +11067,7 @@ (set_attr "mode" "<sseinsnmode>")]) (define_insn "<avx_avx2>_maskstore<ssemodesuffix><avxsizesuffix>" - [(set (match_operand:V48_AVX2 0 "memory_operand" "=m") + [(set (match_operand:V48_AVX2 0 "memory_operand" "+m") (unspec:V48_AVX2 [(match_operand:<sseintvecmode> 1 "register_operand" "x") (match_operand:V48_AVX2 2 "register_operand" "x")