This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82498] Missed optimization for x86 rotate instruction
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Oct 2017 07:17:39 +0000
- Subject: [Bug target/82498] Missed optimization for x86 rotate instruction
- Auto-submitted: auto-generated
- References: <bug-82498-4@http.gcc.gnu.org/bugzilla/>
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