diff options
author | Richard Stallman <rms@gnu.org> | 1992-07-14 03:20:35 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-07-14 03:20:35 +0000 |
commit | 24e2a2bfd84c8c14300476e282f622f5d4e576d3 (patch) | |
tree | 1b0ad2544516f50a500072c31eae50be9f6adaaa /gcc | |
parent | 0d5280589c5d2da7cbb92473aed26ca94ed039bf (diff) | |
download | gcc-24e2a2bfd84c8c14300476e282f622f5d4e576d3.zip gcc-24e2a2bfd84c8c14300476e282f622f5d4e576d3.tar.gz gcc-24e2a2bfd84c8c14300476e282f622f5d4e576d3.tar.bz2 |
(TARGET_EDOM, GEN_ERRNO_RTX): New macros.
From-SVN: r1584
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/sparc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index e437831..74d8a82 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1240,6 +1240,14 @@ extern struct rtx_def *legitimize_pic_address (); in one reasonably fast instruction. */ #define MOVE_MAX 8 +/* This is the value of the error code EDOM for this machine, + used by the sqrt instruction. */ +#define TARGET_EDOM 33 + +/* This is how to refer to the variable errno. */ +#define GEN_ERRNO_RTX \ + gen_rtx (MEM, SImode, gen_rtx (SYMBOL_REF, Pmode, "errno")) + /* 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 |