From 24e2a2bfd84c8c14300476e282f622f5d4e576d3 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 14 Jul 1992 03:20:35 +0000 Subject: [PATCH] (TARGET_EDOM, GEN_ERRNO_RTX): New macros. From-SVN: r1584 --- gcc/config/sparc/sparc.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.30.2