https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69228
Bug ID: 69228
Summary: Default mask is not allowed for AVX512 prefetch
gather/scatter insns
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: assemble-failure, wrong-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: afomin.mailbox at gmail dot com
CC: kyukhin at gcc dot gnu.org
Target Milestone: ---
An attempt to compile e.g. avx512pf-vscatterpf0dps-1.c test with -mavx512 -O2
options results in the following instruction being emitted for non-mask
builtin:
vscatterpf0dps (%rdx,%zmm0,8)
Although Intel ISA Extensions Programming Reference statement about EVEX.aaa
field in prefetch gather/scatter insns encoding is a bit opaque (see Table
4-11), no default mask is allowed for that family.