aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-05-19 18:11:13 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-05-19 18:11:13 -0400
commit225211e226cd2aa9aab1cf6cdbef1a191a7d207a (patch)
tree919e6de6e7ab4e872c150f0257775b6e3e36004c /gcc
parent9afa3d548eb07d4d5b233b585501474a23625af5 (diff)
downloadgcc-225211e226cd2aa9aab1cf6cdbef1a191a7d207a.zip
gcc-225211e226cd2aa9aab1cf6cdbef1a191a7d207a.tar.gz
gcc-225211e226cd2aa9aab1cf6cdbef1a191a7d207a.tar.bz2
(SHORT_IMMEDIATES_SIGN_EXTEND): Define.
From-SVN: r4507
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.h3
-rw-r--r--gcc/config/rs6000/rs6000.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index a05651e..7437fcc 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -1229,6 +1229,9 @@ extern char *current_function_name;
the rest of the bits in the register. */
#define BYTE_LOADS_SIGN_EXTEND
+/* Define if loading short immediate values into registers sign extends. */
+#define SHORT_IMMEDIATES_SIGN_EXTEND
+
/* We aren't doing ANYTHING about debugging for now. */
/* #define SDB_DEBUGGING_INFO */
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index c9ad94f..6cac85e 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -1193,6 +1193,9 @@ struct rs6000_args {int words, fregno, nargs_prototype; };
/* Define if normal loads of shorter-than-word items from memory clears
the rest of the bigs in the register. */
#define BYTE_LOADS_ZERO_EXTEND
+
+/* Define if loading short immediate values into registers sign extends. */
+#define SHORT_IMMEDIATES_SIGN_EXTEND
/* The RS/6000 uses the XCOFF format. */