diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-02-25 04:14:45 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2002-02-25 04:14:45 +0000 |
commit | 7d6040e83acb9a468df6d9fbe84335037ba313ba (patch) | |
tree | 664376e76fff6e38684f68fdc9cd8d2f2958e420 /gcc/doc | |
parent | 77da08b08ea7e8b12f38605dacfc73a84be1bd82 (diff) | |
download | gcc-7d6040e83acb9a468df6d9fbe84335037ba313ba.zip gcc-7d6040e83acb9a468df6d9fbe84335037ba313ba.tar.gz gcc-7d6040e83acb9a468df6d9fbe84335037ba313ba.tar.bz2 |
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
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/md.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 2bb3d18..8e05d62 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -1859,6 +1859,17 @@ Zero 32-bit constant with the low 12 bits clear (a constant that can be loaded with the @code{sethi} instruction) +@item L +A constant in the range supported by @code{movcc} instructions + +@item M +A constant in the range supported by @code{movrcc} instructions + +@item N +Same as @samp{K}, except that it verifies that bits that are not in the +lower 32-bits range are all zero. Must be used instead of @samp{K} for +modes wider than @code{SImode} + @item G Floating-point zero |