aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/s390/constraints.md
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2007-12-12 09:15:03 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2007-12-12 09:15:03 +0000
commitee3f344964c9f427c2d63438a627f8755b716e53 (patch)
treea090d4114aac8d2473921064c1ad9e15cc3a093a /gcc/config/s390/constraints.md
parent675575f57aa49f751d373b93029fb3ac8ea2ea88 (diff)
downloadgcc-ee3f344964c9f427c2d63438a627f8755b716e53.zip
gcc-ee3f344964c9f427c2d63438a627f8755b716e53.tar.gz
gcc-ee3f344964c9f427c2d63438a627f8755b716e53.tar.bz2
s390.c (s390_O_constraint_str): Limit the range for 'On' to -4G+1..-1.
2007-12-12 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.c (s390_O_constraint_str): Limit the range for 'On' to -4G+1..-1. * config/s390/constraints.md: Adjust comment accordingly. 2007-12-12 Andreas Krebbel <krebbel1@de.ibm.com> * gcc.target/s390/20071212-1.c: New testcase. From-SVN: r130787
Diffstat (limited to 'gcc/config/s390/constraints.md')
-rw-r--r--gcc/config/s390/constraints.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/s390/constraints.md b/gcc/config/s390/constraints.md
index cdafa2f..92fd325 100644
--- a/gcc/config/s390/constraints.md
+++ b/gcc/config/s390/constraints.md
@@ -49,7 +49,7 @@
;; O -- Multiple letter constraint followed by 1 parameter.
;; s: Signed extended immediate value (-2G .. 2G-1).
;; p: Positive extended immediate value (0 .. 4G-1).
-;; n: Negative extended immediate value (-4G .. -1).
+;; n: Negative extended immediate value (-4G+1 .. -1).
;; These constraints do not accept any operand if the machine does
;; not provide the extended-immediate facility.
;; P -- Any integer constant that can be loaded without literal pool.
@@ -337,7 +337,7 @@
(define_constraint "On"
"@internal
- Negative extended immediate value (-4G .. -1).
+ Negative extended immediate value (-4G+1 .. -1).
This constraint will only match if the machine provides
the extended-immediate facility."
(and (match_code "const_int")