aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-06-05 17:04:32 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-06-05 17:04:32 -0700
commit211a0f85987396355258c2132251678972837caa (patch)
tree63dbb5c1827f7fc3ded779c587fbf9e3df29f024
parentd013f05e2dc585303b13ddd6d39be7fe6e0edb23 (diff)
downloadgcc-211a0f85987396355258c2132251678972837caa.zip
gcc-211a0f85987396355258c2132251678972837caa.tar.gz
gcc-211a0f85987396355258c2132251678972837caa.tar.bz2
(SHORT_IMMEDIATES_SIGN_EXTEND): Define.
From-SVN: r12171
-rw-r--r--gcc/config/sh/sh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 1c7714b..2a1e504 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -1090,6 +1090,9 @@ extern struct rtx_def *sh_builtin_saveregs ();
done, NIL if none. */
#define LOAD_EXTEND_OP(MODE) SIGN_EXTEND
+/* Define if loading short immediate values into registers sign extends. */
+#define SHORT_IMMEDIATES_SIGN_EXTEND
+
/* Define this if zero-extension is slow (more than one real instruction).
On the SH, it's only one instruction. */
/* #define SLOW_ZERO_EXTEND */