svn commit: r206245 - user/jmallett/octeon/sys/mips/include

Juli Mallett jmallett at FreeBSD.org
Tue Apr 6 05:11:54 UTC 2010


Author: jmallett
Date: Tue Apr  6 05:11:53 2010
New Revision: 206245
URL: http://svn.freebsd.org/changeset/base/206245

Log:
  Add a PTR_LI, useful for getting the correct sign extension of pointer values,
  which is lost with REG_LI, for N32.

Modified:
  user/jmallett/octeon/sys/mips/include/asm.h

Modified: user/jmallett/octeon/sys/mips/include/asm.h
==============================================================================
--- user/jmallett/octeon/sys/mips/include/asm.h	Tue Apr  6 05:06:13 2010	(r206244)
+++ user/jmallett/octeon/sys/mips/include/asm.h	Tue Apr  6 05:11:53 2010	(r206245)
@@ -406,6 +406,7 @@ _C_LABEL(x):
 #define	PTR_SUBIU	subu
 #define	PTR_L		lw
 #define	PTR_LA		la
+#define	PTR_LI		li
 #define	PTR_S		sw
 #define	PTR_SLL		sll
 #define	PTR_SLLV	sllv
@@ -428,6 +429,7 @@ _C_LABEL(x):
 #define	PTR_SUBIU	dsubu
 #define	PTR_L		ld
 #define	PTR_LA		dla
+#define	PTR_LI		dli
 #define	PTR_S		sd
 #define	PTR_SLL		dsll
 #define	PTR_SLLV	dsllv


More information about the svn-src-user mailing list