summaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-27 02:57:50 +0000
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-27 02:57:50 +0000
commit26e072d34c8854b819a4f4baabea7698510f7f8a (patch)
tree215be93ecbd7f31f624e0cdcec97252fe1ed2aaa /gcc/config/sparc
parentbcf5479945a794cae3a5570deb6468a72a37929f (diff)
downloadgcc-26e072d34c8854b819a4f4baabea7698510f7f8a.tar.gz
Update sparc constraint comments and documentation.
* config/sparc/constraints.md: Update unused letter list, move "w" near other memory constraints. Remove no longer relevant comment. * doc/md.texi: Sync sparc constraint documentation with reality. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/constraints.md14
1 files changed, 5 insertions, 9 deletions
diff --git a/gcc/config/sparc/constraints.md b/gcc/config/sparc/constraints.md
index 1d99d4b3c66..71670eedf53 100644
--- a/gcc/config/sparc/constraints.md
+++ b/gcc/config/sparc/constraints.md
@@ -18,7 +18,7 @@
;; <http://www.gnu.org/licenses/>.
;;; Unused letters:
-;;; AB
+;;; AB U
;;; a jkl q tuv xyz
@@ -44,10 +44,6 @@
(define_register_constraint "h" "(TARGET_V9 && TARGET_V8PLUS ? I64_REGS : NO_REGS)"
"64-bit global or out register in V8+ mode")
-(define_memory_constraint "w"
- "A memory with only a base register"
- (match_operand 0 "mem_noofs_operand"))
-
;; Floating-point constant constraints
(define_constraint "G"
@@ -107,10 +103,6 @@
(and (match_code "const_int")
(match_test "ival == -1")))
-;; Extra constraints
-;; Our memory extra constraints have to emulate the behavior of 'm' and 'o',
-;; i.e. accept pseudo-registers during reload.
-
(define_constraint "D"
"const_vector"
(and (match_code "const_vector")
@@ -144,6 +136,10 @@
(and (match_code "mem")
(match_test "memory_ok_for_ldd (op)")))
+(define_memory_constraint "w"
+ "A memory with only a base register"
+ (match_operand 0 "mem_noofs_operand"))
+
(define_constraint "Y"
"The vector zero constant"
(and (match_code "const_vector")