re-enable asm for static builds

This commit is contained in:
Bill Currie 2001-06-11 20:59:48 +00:00
parent 73ce5c6f9c
commit dc5846948e
27 changed files with 54 additions and 0 deletions

View file

@ -34,7 +34,9 @@
#include "asm_draw.h" #include "asm_draw.h"
#include "d_ifacea.h" #include "d_ifacea.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -35,7 +35,9 @@
#include "asm_draw.h" #include "asm_draw.h"
#include "d_ifacea.h" #include "d_ifacea.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -129,7 +129,9 @@ D_SetupFrame (void)
for (i = 0; i < (NUM_MIPS - 1); i++) for (i = 0; i < (NUM_MIPS - 1); i++)
d_scalemip[i] = basemip[i] * d_mipscale->value; d_scalemip[i] = basemip[i] * d_mipscale->value;
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM
if (d_subdiv16->int_val) if (d_subdiv16->int_val)

View file

@ -46,7 +46,9 @@ short *zspantable[MAXHEIGHT];
void void
D_Patch (void) D_Patch (void)
{ {
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -48,7 +48,9 @@ D_StartParticles (void)
} }
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM
void void

View file

@ -34,7 +34,9 @@
#include "d_ifacea.h" #include "d_ifacea.h"
#include "asm_draw.h" #include "asm_draw.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -34,7 +34,9 @@
#include "asm_draw.h" #include "asm_draw.h"
#include "d_ifacea.h" #include "d_ifacea.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -127,7 +127,9 @@ void D_PolysetSetEdgeTable (void);
void D_RasterizeAliasPolySmooth (void); void D_RasterizeAliasPolySmooth (void);
void D_PolysetScanLeftEdge (int height); void D_PolysetScanLeftEdge (int height);
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM

View file

@ -94,7 +94,9 @@ D_WarpScreen (void)
} }
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM
void void

View file

@ -34,7 +34,9 @@
#include "asm_draw.h" #include "asm_draw.h"
#include "d_ifacea.h" #include "d_ifacea.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -33,7 +33,9 @@
#include "quakeasm.h" #include "quakeasm.h"
#include "asm_draw.h" #include "asm_draw.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -38,7 +38,9 @@ static int minindex, maxindex;
static sspan_t *sprite_spans; static sspan_t *sprite_spans;
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM

View file

@ -32,7 +32,9 @@
#include "QF/qtypes.h" #include "QF/qtypes.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM

View file

@ -34,7 +34,9 @@
#include "asm_draw.h" #include "asm_draw.h"
#include "d_ifacea.h" #include "d_ifacea.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -30,7 +30,9 @@
# include "config.h" # include "config.h"
#endif #endif
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM

View file

@ -33,7 +33,9 @@
#include "quakeasm.h" #include "quakeasm.h"
#include "asm_draw.h" #include "asm_draw.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -34,7 +34,9 @@
#include "quakeasm.h" #include "quakeasm.h"
#include "asm_draw.h" #include "asm_draw.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -421,7 +421,9 @@ R_AliasTransformFinalVert (finalvert_t *fv, auxvert_t *av,
} }
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM
void void

View file

@ -34,7 +34,9 @@
#include "asm_draw.h" #include "asm_draw.h"
#include "d_ifacea.h" #include "d_ifacea.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -76,7 +76,9 @@ int r_ceilv1;
qboolean r_lastvertvalid; qboolean r_lastvertvalid;
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM

View file

@ -34,7 +34,9 @@
#include "asm_draw.h" #include "asm_draw.h"
#include "d_ifacea.h" #include "d_ifacea.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -141,7 +141,9 @@ R_BeginEdgeFrame (void)
} }
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM

View file

@ -33,7 +33,9 @@
#include "quakeasm.h" #include "quakeasm.h"
#include "asm_draw.h" #include "asm_draw.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM

View file

@ -172,7 +172,9 @@ R_Init (void)
r_refdef.yOrigin = YCENTERING; r_refdef.yOrigin = YCENTERING;
// TODO: collect 386-specific code in one place // TODO: collect 386-specific code in one place
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM
Sys_MakeCodeWriteable ((long) R_EdgeCodeStart, Sys_MakeCodeWriteable ((long) R_EdgeCodeStart,

View file

@ -206,7 +206,9 @@ R_TransformFrustum (void)
} }
} }
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM
void void

View file

@ -296,7 +296,9 @@ R_DrawSurface (void)
} }
} }
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifndef USE_INTEL_ASM #ifndef USE_INTEL_ASM

View file

@ -32,7 +32,9 @@
#include "asm_i386.h" #include "asm_i386.h"
#include "quakeasm.h" #include "quakeasm.h"
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack #undef USE_INTEL_ASM //XXX asm pic hack
#endif
#ifdef USE_INTEL_ASM #ifdef USE_INTEL_ASM