[Bug target/82498] Missed optimization for x86 rotate instruction
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 13 07:17:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82498
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Oct 13 07:17:06 2017
New Revision: 253708
URL: https://gcc.gnu.org/viewcvs?rev=253708&root=gcc&view=rev
Log:
PR target/82498
* config/i386/ia32intrin.h (__rold, __rord, __rolq, __rorq): Allow
any values of __C while still being pattern recognizable as a simple
rotate instruction.
* gcc.dg/ubsan/pr82498.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/ubsan/pr82498.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/ia32intrin.h
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list