https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101668

--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---

> it looks like there's no V8SI->V8DI conversion optab or we choose V4DI
> for some other reason as prefered vector mode.

We have, just need to add -mprefer-vector-width=512, the we'll get

bar_s32_s64:
  vpmovsxdq zmm0, ymm0
  vmovdqa64 ZMMWORD PTR [rdi], zmm0
  ret

Reply via email to