+2012-10-26 David S. Miller <davem@davemloft.net>
+
+ * 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.
+
2012-10-26 DJ Delorie <dj@redhat.com>
* config/rl78/rl78.c (rl78_as_legitimate_address): Do not allow
;; <http://www.gnu.org/licenses/>.
;;; Unused letters:
-;;; AB
+;;; AB U
;;; a jkl q tuv xyz
(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"
(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")
(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")
@item h
64-bit global or out register for the SPARC-V8+ architecture.
+@item C
+The constant all-ones, for floating-point.
+
@item D
A vector constant
loaded with the @code{sethi} instruction)
@item L
-A constant in the range supported by @code{movcc} instructions
+A constant in the range supported by @code{movcc} instructions (11-bit
+signed immediate)
@item M
-A constant in the range supported by @code{movrcc} instructions
+A constant in the range supported by @code{movrcc} instructions (10-bit
+signed immediate)
@item N
Same as @samp{K}, except that it verifies that bits that are not in the
@item H
Signed 13-bit constant, sign-extended to 32 or 64 bits
+@item P
+The constant -1
+
@item Q
Floating-point constant whose integral representation can
be moved into an integer register using a single sethi
@item T
Memory address aligned to an 8-byte boundary
-@item U
-Even register
-
@item W
Memory address for @samp{e} constraint registers
+@item w
+Memory address with only a base register
+
@item Y
Vector zero