(TARGET_EDOM, GEN_ERRNO_RTX): New macros.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 1992 03:20:35 +0000 (03:20 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 1992 03:20:35 +0000 (03:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1584 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sparc/sparc.h

index e437831..74d8a82 100644 (file)
@@ -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