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/78904] zero-extracts are not effective


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78904

--- Comment #12 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Dec 27 14:20:19 2016
New Revision: 243937

URL: https://gcc.gnu.org/viewcvs?rev=243937&root=gcc&view=rev
Log:
        PR target/78904
        * config/i386/constraints.md (Bc): New special memory constraint.
        * config/i386/i386.md (*cmpqi_ext_1, *extvqi, *extzvqi): Use Bc
        constraint with nonimmediate_operand to allow constant memory operands.
        (*cmpqi_ext_3, insv<mode>_1, addqi_ext_1, *testqi_ext_1, andqi_ext_1)
        (*<any_or:code>qi_ext_1, *xorqi_ext_1_cc): Use Bc constraint
        with general_operand to allow constant memory operands.

testsuite/ChangeLog:

        PR target/78904
        * gcc.target/i386/pr78904-3.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr78904-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/constraints.md
    trunk/gcc/config/i386/i386.md
    trunk/gcc/testsuite/ChangeLog

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