rs6000.c (print_operand): Calculate signed constant more clearly.
authorDavid Edelsohn <edelsohn@gnu.org>
Wed, 12 May 1999 15:10:54 +0000 (15:10 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 12 May 1999 15:10:54 +0000 (11:10 -0400)
commit9615f239753d1c6151d5459b7f552f43c4bd21c9
tree944695fa7e614ae1dd727cfc5f616d8f8c39e9b3
parent7f8e55a0b9ee9e49badd7bf1e825f9056ed4ba95
rs6000.c (print_operand): Calculate signed constant more clearly.

        * rs6000.c (print_operand) [w]: Calculate signed constant more clearly.
        (rs6000_allocate_stack_space): Print as hexadecimal value.
        * rs6000.h (CONST_OK_FOR_LETTER_P): 'L' checks for a signed,
        16-bit shifted constant.  Fix typo for 'P'.
        (EXTRA_CONSTARINT): 'T' checks for a 32-bit mask operand.
        * rs6000.md (movsi, addsi3_internal1, movdi, adddi3_internal1):
        Use 'L' for shifted constant.
        (anddi3_internal3): Fix typo.
        (32-bit mask patterns): Use 'T'.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r26904
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md