[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 3 11:46:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 3 11:45:04 2016
New Revision: 235816
URL: https://gcc.gnu.org/viewcvs?rev=235816&root=gcc&view=rev
Log:
PR rtl-optimization/70467
* config/i386/predicates.md (x86_64_hilo_int_operand,
x86_64_hilo_general_operand): New predicates.
* config/i386/constraints.md (Wd): New constraint.
* config/i386/i386.md (mode attr di): Use Wd instead of e.
(general_hilo_operand): New mode attr.
(add<mode>3, sub<mode>3): Use <general_hilo_operand>
instead of <general_operand>.
(*add<dwi>3_doubleword, *sub<dwi>3_doubleword): Use
x86_64_hilo_general_operand instead of <general_operand>.
* gcc.target/i386/pr70467-3.c: New test.
* gcc.target/i386/pr70467-4.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr70467-3.c
trunk/gcc/testsuite/gcc.target/i386/pr70467-4.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/constraints.md
trunk/gcc/config/i386/i386.md
trunk/gcc/config/i386/predicates.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list