From b9059d396094022467aaf4af0f96abbcb28d4ef7 Mon Sep 17 00:00:00 2001 From: krebbel Date: Wed, 19 Oct 2005 11:01:10 +0000 Subject: [PATCH] 2005-10-19 Andreas Krebbel * config/s390/s390.md: Comment describing output modifiers updated. * config/s390/s390.c (print_operand): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105610 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390.c | 9 ++++++--- gcc/config/s390/s390.md | 16 ++++++++++------ 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b626a34272..53a29c4326c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2005-10-19 Andreas Krebbel + * config/s390/s390.md: Comment describing output modifiers updated. + * config/s390/s390.c (print_operand): Likewise. + +2005-10-19 Andreas Krebbel + * config/s390/s390.c (override_options): Added check for -mstack-size 64k limitation. * doc/invoke.texi: Mention that limit in the documenation. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 7c0d9847a5f..94584260b36 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -4067,10 +4067,13 @@ print_operand_address (FILE *file, rtx addr) 'Y': print shift count operand. 'b': print integer X as if it's an unsigned byte. - 'x': print integer X as if it's an unsigned word. - 'h': print integer X as if it's a signed word. + 'x': print integer X as if it's an unsigned halfword. + 'h': print integer X as if it's a signed halfword. 'i': print the first nonzero HImode part of X. - 'j': print the first HImode part unequal to 0xffff of X. */ + 'j': print the first HImode part unequal to -1 of X. + 'k': print the first nonzero SImode part of X. + 'm': print the first SImode part unequal to -1 of X. + 'o': print integer X as if it's an unsigned 32bit word. */ void print_operand (FILE *file, rtx x, int code) diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index 514b6a7ab24..baea3ff42e1 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -72,18 +72,22 @@ ;; %C: print opcode suffix for branch condition. ;; %D: print opcode suffix for inverse branch condition. ;; %J: print tls_load/tls_gdcall/tls_ldcall suffix +;; %G: print the size of the operand in bytes. ;; %O: print only the displacement of a memory reference. ;; %R: print only the base register of a memory reference. ;; %S: print S-type memory reference (base+displacement). ;; %N: print the second word of a DImode operand. ;; %M: print the second word of a TImode operand. - +;; %Y: print shift count operand. +;; ;; %b: print integer X as if it's an unsigned byte. -;; %x: print integer X as if it's an unsigned word. -;; %h: print integer X as if it's a signed word. -;; %i: print the first nonzero HImode part of X -;; %j: print the first HImode part unequal to 0xffff of X - +;; %x: print integer X as if it's an unsigned halfword. +;; %h: print integer X as if it's a signed halfword. +;; %i: print the first nonzero HImode part of X. +;; %j: print the first HImode part unequal to -1 of X. +;; %k: print the first nonzero SImode part of X. +;; %m: print the first SImode part unequal to -1 of X. +;; %o: print integer X as if it's an unsigned 32bit word. ;; ;; We have a special constraint for pattern matching. ;; -- 2.11.4.GIT