diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1992-06-03 13:22:12 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1992-06-03 13:22:12 -0700 |
commit | 885d8175ed128445b1dbed8b96f32a086e2359ac (patch) | |
tree | 30387c518ff366919b150aa94974a4ea09b8e939 /gcc | |
parent | db0e6d01ad5dac14ab89ad75ae723891bcedebcc (diff) | |
download | gcc-885d8175ed128445b1dbed8b96f32a086e2359ac.zip gcc-885d8175ed128445b1dbed8b96f32a086e2359ac.tar.gz gcc-885d8175ed128445b1dbed8b96f32a086e2359ac.tar.bz2 |
*** empty log message ***
From-SVN: r1148
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/sparc.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 4eaa1c3..e052ffc 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -32,6 +32,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ASM_SPEC " %{pipe:-} %{fpic:-k} %{fPIC:-k}" +/* Define macros to distinguish architectures. */ +#define CPP_SPEC "%{msparclite:-D__sparclite__} %{mv8:-D__sparcv8__}" + /* Prevent error on `-sun4' and `-target sun4' options. */ /* This used to translate -dalign to -malign, but that is no good because it can't turn off the usual meaning of making debugging dumps. */ @@ -101,6 +104,12 @@ extern int target_flags; seem worth trying to fix. */ #define TARGET_FORCE_ALIGN (target_flags & 32) +/* Nonzero means that we should generate code for a v8 sparc. */ +#define TARGET_V8 (target_flags & 64) + +/* Nonzero means that we should generate code for a sparclite. */ +#define TARGET_SPARCLITE (target_flags & 128) + /* Macro to define tables used to set the flags. This is a list in braces of pairs in braces, each pair being { "NAME", VALUE } @@ -114,6 +123,10 @@ extern int target_flags; {"no-epilogue", -2}, \ {"hope-align", 16}, \ {"force-align", 48}, \ + {"v8", 64}, \ + {"no-v8", -64}, \ + {"sparclite", 128}, \ + {"no-sparclite", -128}, \ { "", TARGET_DEFAULT}} #define TARGET_DEFAULT 3 |