https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79733
--- Comment #8 from uros at gcc dot gnu.org --- Author: uros Date: Thu Apr 6 18:49:43 2017 New Revision: 246739 URL: https://gcc.gnu.org/viewcvs?rev=246739&root=gcc&view=rev Log: PR target/79733 * config/i386/i386.c (ix86_expand_builtin) <case IX86_BUILTIN_K{,OR}TEST{C,Z}{8,16,32,64}>: Determine insn operand mode from insn data. Convert operands to insn operand mode. Copy operands that don't satisfy insn predicate to a register. testsuite/ChangeLog: PR target/79733 * gcc.target/i386/pr79733.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr79733.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog