aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/s390/s390.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-11-09 20:46:19 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-11-09 20:46:19 +0000
commite221ef54b8cb4feb7e3b3def11afae562be2c559 (patch)
tree701431a891b98eaf7d09525617e359e3028a5a56 /gcc/config/s390/s390.h
parent3172e26ca4384003dbd1bcdf367f65af061ae1b7 (diff)
downloadgcc-e221ef54b8cb4feb7e3b3def11afae562be2c559.zip
gcc-e221ef54b8cb4feb7e3b3def11afae562be2c559.tar.gz
gcc-e221ef54b8cb4feb7e3b3def11afae562be2c559.tar.bz2
s390-protos.h (s390_pool_operand): Remove.
ChangeLog: * config/s390/s390-protos.h (s390_pool_operand): Remove. * config/s390/s390.c (s390_pool_operand): Likewise. (s390_extra_constraint_str): Handle 'B' constraints. * config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints. * config/s390/s390.md: Document 'B' constraints. ("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of s390_pool_operand to prevent insns with two literal pool references. Make pattern commutative. ("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use 'B' constraint instead of s390_pool_operand. testsuite/ChangeLog: * gcc.dg/20041109-1.c: New test. From-SVN: r90364
Diffstat (limited to 'gcc/config/s390/s390.h')
-rw-r--r--gcc/config/s390/s390.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h
index 0116a66..694dcb8 100644
--- a/gcc/config/s390/s390.h
+++ b/gcc/config/s390/s390.h
@@ -583,7 +583,8 @@ extern const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER];
#define CONSTRAINT_LEN(C, STR) \
((C) == 'N' ? 5 : \
- (C) == 'A' ? 2 : DEFAULT_CONSTRAINT_LEN ((C), (STR)))
+ (C) == 'A' ? 2 : \
+ (C) == 'B' ? 2 : DEFAULT_CONSTRAINT_LEN ((C), (STR)))
/* Stack layout and calling conventions. */