This is the mail archive of the gcc-bugs@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]

[Bug target/82498] Missed optimization for x86 rotate instruction


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

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