From: Richard Stallman Date: Tue, 14 Jul 1992 03:20:35 +0000 (+0000) Subject: (TARGET_EDOM, GEN_ERRNO_RTX): New macros. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24e2a2bfd84c8c14300476e282f622f5d4e576d3;p=gcc.git (TARGET_EDOM, GEN_ERRNO_RTX): New macros. From-SVN: r1584 --- diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index e43783180ac..74d8a821846 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