From 4a497e649b33f8b73696bbef0e6da221491460fe Mon Sep 17 00:00:00 2001 From: davem69 Date: Wed, 6 Jun 2001 22:55:28 +0000 Subject: Remove dependency on MESA sources from gl* files in SPARC glapi optimizations by moving the icache flush into the glapi_sparc.S file. Brian, how is this? --- src/mesa/sparc/glapi_sparc.S | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/mesa/sparc/glapi_sparc.S') diff --git a/src/mesa/sparc/glapi_sparc.S b/src/mesa/sparc/glapi_sparc.S index 19ddfe315e7..781127bf27f 100644 --- a/src/mesa/sparc/glapi_sparc.S +++ b/src/mesa/sparc/glapi_sparc.S @@ -8,10 +8,20 @@ * sethi/or instruction sequences below at library init time. */ + +.text +.align 32 +.globl __glapi_sparc_icache_flush +__glapi_sparc_icache_flush: /* %o0 = insn_addr */ + flush %o0 + retl + nop + .data .align 64 .globl _mesa_sparc_glapi_begin +.type _mesa_sparc_glapi_begin,@function _mesa_sparc_glapi_begin: GLOBL_FN(GL_PREFIX(NewList)) @@ -11758,5 +11768,6 @@ GL_PREFIX(SamplePatternSGIS): nop .globl _mesa_sparc_glapi_end +.type _mesa_sparc_glapi_end,@function _mesa_sparc_glapi_end: -- cgit v1.2.3