diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-31 02:32:08 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-31 02:32:08 +0000 |
commit | bbcffae89d5907a05150153b62a554fac3d99d13 (patch) | |
tree | 5086d1d41cbf5a74bb5649d040be9a8309736065 /gcc/config/rx/predicates.md | |
parent | 9631b129ee947613f09a8e4ce3c979f5a6cdfb76 (diff) | |
download | gcc-bbcffae89d5907a05150153b62a554fac3d99d13.tar.gz |
* config/rx/predicates.md (rx_constshift_operand): New.
* config/rx/rx.md (zs_cond): New.
(cbranchsi4): Remove mode.
(*cbranchsi4_<code>): Likewise.
(*tstbranchsi4_<code>): New.
(*tstbranchsi4r_<code>): New.
(*tstbranchsi4m_eq): New.
(*tstbranchsi4m_ne): New.
(cbranchsf4): Remove mode.
(*cbranchsf4_<code>): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162731 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rx/predicates.md')
-rw-r--r-- | gcc/config/rx/predicates.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/rx/predicates.md b/gcc/config/rx/predicates.md index 94e5f5630c2..d8def87d6e8 100644 --- a/gcc/config/rx/predicates.md +++ b/gcc/config/rx/predicates.md @@ -45,6 +45,13 @@ } ) +(define_predicate "rx_constshift_operand" + (match_code "const_int") + { + return IN_RANGE (INTVAL (op), 0, 31); + } +) + ;; Check that the operand is suitable as the source operand ;; for a logic or arithmeitc instruction. Registers, integers ;; and a restricted subset of memory addresses are allowed. |