[Bug tree-optimization/78821] GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 20 20:04:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821
--- Comment #31 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #28)
> Ok, let's go with your patch then.
Committed as r254967:
Author: uros
Date: Mon Nov 20 19:52:14 2017
New Revision: 254967
URL: https://gcc.gnu.org/viewcvs?rev=254967&root=gcc&view=rev
Log:
* config/i386/i386.md (bswaphi2): New expander.
(*bswaphi2_movbe): New insn pattern.
(bswaphi -> rorhi pepehole2): New peephole pattern.
testsuite/ChangeLog:
* gcc.target/i386/movbe-5.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/movbe-5.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.md
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list