From: Richard Kenner Date: Wed, 19 May 1993 22:11:13 +0000 (-0400) Subject: (SHORT_IMMEDIATES_SIGN_EXTEND): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=225211e226cd2aa9aab1cf6cdbef1a191a7d207a;p=gcc.git (SHORT_IMMEDIATES_SIGN_EXTEND): Define. From-SVN: r4507 --- diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index a05651e4a2e..7437fcca814 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 c9ad94ff19b..6cac85eb813 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. */