This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Use kortest instead of ktest in *cmp<mode>_ccz_1


Hello!

Attached patch uses equivalent instruction, where HImode variant is
also enabled for plain AVX512F isa.

2018-12-19  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/i386.md (SWI1248_AVX512BWDQ_64): Rename from
    SWI1248_AVX512BWDQ2_64.  Unconditionally enable HImode.
    (*cmp<mode>_ccz_1): Emit kortest instead of ktest insn.
    Use SWI1248_AVX512BWDQ_64 mode iterator and enable only for
    TARGET_AVX512F.

testsuite/ChangeLog:

2018-12-19  Uros Bizjak  <ubizjak@gmail.com>

    * gcc.target/i386/avx512dq-pr82855.c: Update scan-assembler pattern.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.

Committed to mailine SVN.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]