PERFORCE change 125145 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Tue Aug 14 10:07:55 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=125145
Change 125145 by gonzo at 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
More information about the p4-projects
mailing list