This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/78364] [7 Regression][ARM] Error: bit-field extends past end of register -- ubfx
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Nov 2016 09:02:50 +0000
- Subject: [Bug target/78364] [7 Regression][ARM] Error: bit-field extends past end of register -- ubfx
- Auto-submitted: auto-generated
- References: <bug-78364-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78364
--- Comment #3 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Wed Nov 16 09:02:18 2016
New Revision: 242471
URL: https://gcc.gnu.org/viewcvs?rev=242471&root=gcc&view=rev
Log:
[ARM] PR target/78364: Add proper restrictions to zero and sign_extract
patterns operands
PR target/78364
* config/arm/arm.md (*extv_reg): Restrict operands 2 and 3 to the
proper ranges for an SBFX instruction.
(extzv_t2): Likewise for UBFX.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.md