mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-12 20:29:12 +00:00
Provide .register directives such that this compile.
ok matthieu@
This commit is contained in:
@@ -77,6 +77,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__sparc_v9__) || defined(__sparcv9) || defined(__arch64__)
|
#if defined(__sparc_v9__) || defined(__sparcv9) || defined(__arch64__)
|
||||||
|
|
||||||
|
.register %g2, #scratch
|
||||||
|
.register %g3, #scratch
|
||||||
|
|
||||||
#define SMUL mulx
|
#define SMUL mulx
|
||||||
#define ICC xcc
|
#define ICC xcc
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
*/
|
*/
|
||||||
/* $XFree86$ */
|
/* $XFree86$ */
|
||||||
|
|
||||||
|
.register %g2, #scratch
|
||||||
|
.register %g3, #scratch
|
||||||
|
|
||||||
/* Hardware register offsets */
|
/* Hardware register offsets */
|
||||||
#define FFB_BY 0x0060
|
#define FFB_BY 0x0060
|
||||||
#define FFB_DY 0x0068
|
#define FFB_DY 0x0068
|
||||||
|
|||||||
Reference in New Issue
Block a user