aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/h8300/h8300.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-07-02 20:48:04 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-07-02 20:48:04 +0000
commitfad37371f9c9b29b05761a8014ff3b1d79dd637f (patch)
treee7fb60ac901a9b7f428eb6c9b8c3a0344b18f7cd /gcc/config/h8300/h8300.h
parent836d77a9f4d32c9806e6b2e4feae639eb45aa9a9 (diff)
downloadgcc-fad37371f9c9b29b05761a8014ff3b1d79dd637f.zip
gcc-fad37371f9c9b29b05761a8014ff3b1d79dd637f.tar.gz
gcc-fad37371f9c9b29b05761a8014ff3b1d79dd637f.tar.bz2
h8300.c (compute_mov_length): Fix the length of loading CONST0_RTX (SFmode).
* config/h8300/h8300.c (compute_mov_length): Fix the length of loading CONST0_RTX (SFmode). * config/h8300/h8300.h (CONST_DOUBLE_OK_FOR_LETTER_P): Change 'G' to CONST0_RTX (SFmode). * config/h8300/h8300.md (movsf_h8300): Change the first constraint to 'G'. (movsf_h8300h): Likewise. From-SVN: r68854
Diffstat (limited to 'gcc/config/h8300/h8300.h')
-rw-r--r--gcc/config/h8300/h8300.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index c6918c2..ba8dcff 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -484,7 +484,7 @@ enum reg_class {
`G' is a floating-point zero. */
#define CONST_DOUBLE_OK_FOR_LETTER_P(VALUE, C) \
- ((C) == 'G' ? (VALUE) == CONST0_RTX (DFmode) \
+ ((C) == 'G' ? (VALUE) == CONST0_RTX (SFmode) \
: 0)
/* Given an rtx X being reloaded into a reg required to be