Provide .register directives such that this compile.

ok matthieu@
This commit is contained in:
kettenis 2008-08-23 14:42:21 +00:00
parent 4424de4e9f
commit 97c015428e
2 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,10 @@
*/
#if defined(__sparc_v9__) || defined(__sparcv9) || defined(__arch64__)
.register %g2, #scratch
.register %g3, #scratch
#define SMUL mulx
#define ICC xcc
#else

View File

@ -24,6 +24,9 @@
*/
/* $XFree86$ */
.register %g2, #scratch
.register %g3, #scratch
/* Hardware register offsets */
#define FFB_BY 0x0060
#define FFB_DY 0x0068