Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2007 17:07:54 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125145 for review
Message-ID:  <200708141707.l7EH7sPE068190@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125145

Change 125145 by gonzo@gonzo_jeeves on 2007/08/14 17:07:49

	o Overlapping TX/AX registers are different for different ABIs

Affected files ...

.. //depot/projects/mips2/src/sys/mips/include/asm.h#12 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/include/asm.h#12 (text+ko) ====

@@ -129,10 +129,17 @@
  * Because they overlap with the last 4 arg regs in the new ABI, ta0-ta3
  * should be used only when we need more than t0-t3.
  */
-#define	ta0	$8
-#define	ta1	$9
-#define	ta2	$10
-#define	ta3	$11
+#if defined(__mips_n32) || defined(__mips_n64)
+#define ta0     $8
+#define ta1     $9
+#define ta2     $10
+#define ta3     $11
+#else
+#define ta0     $12
+#define ta1     $13
+#define ta2     $14
+#define ta3     $15
+#endif /* __mips_n32 || __mips_n64 */
 
 #ifdef __ELF__
 # define _C_LABEL(x)    x



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