Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2010 05:11:54 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r206245 - user/jmallett/octeon/sys/mips/include
Message-ID:  <201004060511.o365BsDO053949@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004060511.o365BsDO053949>