summaryrefslogtreecommitdiff
path: root/gcc/config/mn10300/predicates.md
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-11 18:38:48 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-11 18:38:48 +0000
commit59328a09985708b8084da165109a7237458698e7 (patch)
tree10e2418ee5e8d76e664d9af657c88e6a65322031 /gcc/config/mn10300/predicates.md
parent2225047a0d9c2d65aadd46b4c4ba2f9764564bbb (diff)
downloadgcc-59328a09985708b8084da165109a7237458698e7.tar.gz
mn10300: Remove bset/bclr patterns.
These instructions do not use normal addressing modes and are incorrectly implemented for that. Corrections to legitimate addresses expose problems here. Delete them for now. To be re-instated later in the form of atomic operation builtins. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mn10300/predicates.md')
-rw-r--r--gcc/config/mn10300/predicates.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/config/mn10300/predicates.md b/gcc/config/mn10300/predicates.md
index 526ee38fa94..df1b1f47966 100644
--- a/gcc/config/mn10300/predicates.md
+++ b/gcc/config/mn10300/predicates.md
@@ -25,18 +25,6 @@
return (op == CONST1_RTX (SFmode));
})
-;; Return 1 if X is a CONST_INT that is only 8 bits wide. This is
-;; used for the btst insn which may examine memory or a register (the
-;; memory variant only allows an unsigned 8-bit integer).
-
-(define_predicate "const_8bit_operand"
- (match_code "const_int")
-{
- return (GET_CODE (op) == CONST_INT
- && INTVAL (op) >= 0
- && INTVAL (op) < 256);
-})
-
;; Return true if OP is a valid call operand.
(define_predicate "call_address_operand"