]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/m32c/predicates.md
shift.md: Rewrite...
authorDJ Delorie <dj@redhat.com>
Fri, 13 Jan 2006 03:34:40 +0000 (22:34 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 13 Jan 2006 03:34:40 +0000 (22:34 -0500)
commit23fed240a465b1e66ad1af308fe485f42c156cb9
tree9e1c2623ec284bf054eb8d2b3113f0d0a8aa724d
parentdadb213fd1d7a25235ac92656e451b0fe189ecc5
shift.md: Rewrite...

* config/m32c/shift.md: Rewrite: Allow arbitrary operands for
shift counts, separate SI shifts for m32c vs m16c, pass shift type
so that constant shifts can be split.
* config/m32c/m32c.c (m32c_const_ok_for_constraint_p): Add In6.
(m32c_valid_pointer_mode): Make static.
(shift_gen_func_for): New.
(m32c_prepare_shift): Use it.  Split large const shifts into
multiple shifts.
* config/m32c/predicates.md (shiftcount_operand): Allow more
general operands.
(longshiftcount_operand): New.
* doc/md.texi (Machine Constraints): Document In6.

From-SVN: r109661
gcc/ChangeLog
gcc/config/m32c/m32c.c
gcc/config/m32c/predicates.md
gcc/config/m32c/shift.md
gcc/doc/md.texi