sparc.c (const64_high_operand): Zero-extend operands of SPARC_SETHI_P.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 25 Feb 2002 04:14:45 +0000 (04:14 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 25 Feb 2002 04:14:45 +0000 (04:14 +0000)
commit7d6040e83acb9a468df6d9fbe84335037ba313ba
tree664376e76fff6e38684f68fdc9cd8d2f2958e420
parent77da08b08ea7e8b12f38605dacfc73a84be1bd82
sparc.c (const64_high_operand): Zero-extend operands of SPARC_SETHI_P.

* config/sparc/sparc.c (const64_high_operand): Zero-extend
operands of SPARC_SETHI_P.
(input_operand): Likewise.
(sparc_emit_set_const32): Likewise.
* config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
(SPARC_SETHI32_P): Zero-extend operand from 32 bits.
(CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'.  Add `N' as SETHI.
* config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
(movdi_insn_sp64_vis): Likewise.
(movdi split, movdf split): Use SETHI32.
* doc/md.texi: Document SPARC constraints L, M and N.

From-SVN: r50018
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md
gcc/doc/md.texi