changeset 109557:4180723cdfc3

* src/m/iris4d.h (XUINT, XSET): Remove, not needed.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 26 Jul 2010 21:03:14 -0700
parents 039143f82441
children 0a2fae39b2dc
files src/ChangeLog src/m/iris4d.h
diffstat 2 files changed, 2 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Jul 26 20:59:42 2010 -0700
+++ b/src/ChangeLog	Mon Jul 26 21:03:14 2010 -0700
@@ -1,5 +1,7 @@
 2010-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* m/iris4d.h (XUINT, XSET): Remove, not needed.
+
 	* process.c: Move definitions earlier to minimize #ifdefs.
 
 	* xterm.h (x_get_customization_string, x_load_resources)
--- a/src/m/iris4d.h	Mon Jul 26 20:59:42 2010 -0700
+++ b/src/m/iris4d.h	Mon Jul 26 21:03:14 2010 -0700
@@ -36,17 +36,5 @@
 #define DATA_START 0x10000000
 #define DATA_SEG_BITS	0x10000000
 
-
-#if _MIPS_SZLONG != 64
-/* fixme: should there be 64-bit definitions?  (The ones below aren't OK.)  */
-
-/* The standard definitions of these macros would work ok,
-   but these are faster because the constants are short.  */
-#define XUINT(a) (((unsigned)(a) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS)
-
-#define XSET(var, type, ptr) \
-   ((var) = ((int)(type) << VALBITS) + (((unsigned) (ptr) << BITS_PER_INT-VALBITS) >> BITS_PER_INT-VALBITS))
-#endif /* _LP64 */
-
 /* arch-tag: fff5e139-9ae0-465d-afec-837c41ea0aa6
    (do not change this comment) */